Skip to content

Conversation

@jan-petr
Copy link
Contributor

Linked issue

#591

How to test

Import DEBBIE data of hadamard 4 and 8. Make sure the order in both image and JSON is first TE then PLD.

@jan-petr jan-petr self-assigned this May 20, 2021
@jan-petr jan-petr linked an issue May 20, 2021 that may be closed by this pull request
@MichaelStritt
Copy link
Contributor

@BeatrizPadrela: I think you have the data access, right? Can you run a small test?

@MichaelStritt MichaelStritt added import Related to data import module bug Something isn't working labels May 20, 2021
@BeatrizPadrela
Copy link
Contributor

@BeatrizPadrela: I think you have the data access, right? Can you run a small test?

Sure, will do now!

@BeatrizPadrela
Copy link
Contributor

image

the vectorOldOrder seems to be okay
But @jan-petr this printscreen is from asl.json. Shouldn't the PLD vector be [1,1,1,1,1,1,1,1,1,2,2,2,2,]?

@jan-petr
Copy link
Contributor Author

image

the vectorOldOrder seems to be okay
But @jan-petr this printscreen is from asl.json. Shouldn't the PLD vector be [1,1,1,1,1,1,1,1,1,2,2,2,2,]?

Thanks. Trivial mistake. Fixed.

Copy link
Contributor

@MichaelStritt MichaelStritt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@MichaelStritt
Copy link
Contributor

@BeatrizPadrela: After this is merged, we could update the rawdata & derivatives folders in the FME sequence repository, so that it's easier for @amahroo and you to work with it.

@jan-petr
Copy link
Contributor Author

@BeatrizPadrela: After this is merged, we could update the rawdata & derivatives folders in the FME sequence repository, so that it's easier for @amahroo and you to work with it.

Yes. That would be good. @BeatrizPadrela can you check if this is fine now for both had4 and had8 and approve. I'll merge it then. Thanks.

@MichaelStritt
Copy link
Contributor

@BeatrizPadrela: After this is merged, we could update the rawdata & derivatives folders in the FME sequence repository, so that it's easier for @amahroo and you to work with it.

Yes. That would be good. @BeatrizPadrela can you check if this is fine now for both had4 and had8 and approve. I'll merge it then. Thanks.

We could also think about adding one Hadamard-4 and one Hadamard-8 case to the flavor database. I think we even talked about it with Amnah before, right?

@BeatrizPadrela
Copy link
Contributor

@BeatrizPadrela: After this is merged, we could update the rawdata & derivatives folders in the FME sequence repository, so that it's easier for @amahroo and you to work with it.

Yes. That would be good. @BeatrizPadrela can you check if this is fine now for both had4 and had8 and approve. I'll merge it then. Thanks.

We could also think about adding one Hadamard-4 and one Hadamard-8 case to the flavor database. I think we even talked about it with Amnah before, right?

That's a good idea Michael. I will now test this so we can merge

@BeatrizPadrela
Copy link
Contributor

So for Hadamard-4 everything works!

Now I'm trying to get Hadamard-8 data to test this. @MichaelStritt do you know how to sort the dicoms into two folders of ASL and M0? (like you did for Hadamard-4)

@MichaelStritt
Copy link
Contributor

MichaelStritt commented May 25, 2021

@BeatrizPadrela & @jan-petr: I've added a Hadamard-4 and a Hadamard-8 case to the flavor library. I don't think the Hadamard-8 does work properly yet. The echo times and the PLDs in the asl.json aren't correct. Maybe it is required to check if the regular expressions work correctly.

Edit: We never tested Hadamard-8 before though, so if you want to fix this within a separate issue, that's fine by me.

@BeatrizPadrela
Copy link
Contributor

Yes, I also ran the import for Hadamard-8 and the ASL.json looks like this:
image

@MichaelStritt maybe we can fix this in this issue, or do you think that creating other issue is advantageous?

@jan-petr
Copy link
Contributor Author

I would fix it inside this issue already. And make sure that it works on both flavors. Will do that quickly...

@MichaelStritt
Copy link
Contributor

I just reran it. It has to be fixed either in xASL_imp_NII2BIDS_SubjectSessionRun or in xASL_imp_DCM2NII_Subject_ShuffleTheDynamics... I think. The regular expression seems to work just fine in both cases.

@MichaelStritt
Copy link
Contributor

MichaelStritt commented May 25, 2021

So here we have for Hadamard-4 3 TIs and 8 TEs. For Hadamard-8 we have 7 TIs and 1 TE.

Edit: The code seems to be able to detect this correctly: FME sequence, Hadamard-8 encoded images, 7 PLDs, 1 TEs.

@jan-petr
Copy link
Contributor Author

Fixed. Pull a new version of Flavors. The number of PLDs and HadamardMatrix was set incorrectly. This is now fixed in the references..

@MichaelStritt MichaelStritt force-pushed the feature_#591-multiTEimport branch from 90beb97 to dc9408d Compare May 26, 2021 16:58
@MichaelStritt MichaelStritt merged commit dc9408d into develop May 26, 2021
@MichaelStritt MichaelStritt deleted the feature_#591-multiTEimport branch May 26, 2021 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working import Related to data import module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correcting import of MultiTE / multiTI data

4 participants