Open tashrifbillah opened 5 years ago
For the readout time, I agree and it doesn't really matter for us. For the Phase encoding, it is almost correct except that the 0 -1 0 it has to be expressed in the "slice orientation". For axial acquisitions ((1,0,0),(0,1,0),(0,0,1)) in RAS space. A PA phase encoding direction corresponds to 0 -1 0, but if you have a sagittal acquisition ((0,1,0)(0,0,1)(1,0,0)) than your acq file shoudl be -1 0 0
In a BIDS sidecar
json
file generated bydcm2niix
, the fourth parameter is determined as one of the following with descending priority:TotalReadoutTime
BandwidthPerPixelPhaseEncode
or justBandwidthPerPixel
) * (PhaseEncodingSteps
- 1)EffectiveEchoSpacing
* (PhaseEncodingSteps
- 1)DwellTime
* (PhaseEncodingSteps
- 1)The direction of scan can be determined as one of the following with descending priority:
PhaseEncodingDirectionDisplayed
i.e A->PPhaseEncodingDirection
:right-anterior-superior
are the positive directions. So if #2 isj
, that meansP-->A
, if it isj-
or-j
, then it isA-->P
. In the former case, we want0 1 0
, in the latter case we want0 -1 0
as the first three parameters on a line in--acqp
file.Reference: https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/eddy/UsersGuide
"This file is described here, here and in more detail here."