Hi,
I’m using a BIDs converted dataset for secondary data analysis, however, it is missing the func .json files. I am using this template to create my own:
{
“TaskName”: “N Back”,
“RepetitionTime”: 0.8,
“EchoTime”: 0.03,
“FlipAngle”: 78,
“SliceTiming”: [0.0, 0.2, 0.4, 0.6, 0.0, 0.2, 0.4, 0.6, 0.0, 0.2, 0.4, 0.6, 0.0, 0.2, 0.4, 0.6],
“MultibandAccelerationFactor”: 4,
“ParallelReductionFactorInPlane”: 2,
“PhaseEncodingDirection”: “j”,
“InstitutionName”: “Stanford University”,
“InstitutionAddress”: “450 Serra Mall, Stanford, CA 94305-2004, USA”,
“DeviceSerialNumber”: “11035”
}
How would I go about finding the information for the following fields: “MultibandAccelerationFactor”, “ParallelReductionFactorInPlane” and “PhaseEncodingDirection”?
I’ve used fslhd to get information from the header, however, I’m unsure how this information translates (if it even does) to these fields?
Here’s the output I’m working with:
filename sub-M2ID10040_ses-1_task-EmotionalReactivityAndRecovery_run-1_bold.nii.gz
size of header 348
data_type INT16
dim0 4
dim1 64
dim2 64
dim3 30
dim4 265
dim5 1
dim6 1
dim7 1
vox_units mm
time_units s
datatype 4
nbyper 2
bitpix 16
pixdim0 1.000000
pixdim1 3.750000
pixdim2 3.750000
pixdim3 5.000000
pixdim4 2.000000
pixdim5 0.000000
pixdim6 0.000000
pixdim7 0.000000
vox_offset 352
cal_max 0.000000
cal_min 0.000000
scl_slope 0.000000
scl_inter 0.000000
phase_dim 0
freq_dim 0
slice_dim 3
slice_name alternating_increasing
slice_code 3
slice_start 0
slice_end 29
slice_duration 0.066667
toffset 0.000000
intent Unknown
intent_code 0
intent_name
intent_p1 0.000000
intent_p2 0.000000
intent_p3 0.000000
qform_name Scanner Anat
qform_code 1
qto_xyz:1 0.000000 0.000000 5.000000 -70.739998
qto_xyz:2 -3.750000 0.000000 0.000000 118.125000
qto_xyz:3 0.000000 -3.750000 0.000000 127.495003
qto_xyz:4 0.000000 0.000000 0.000000 1.000000
qform_xorient Anterior-to-Posterior
qform_yorient Superior-to-Inferior
qform_zorient Left-to-Right
sform_name Scanner Anat
sform_code 1
sto_xyz:1 -0.000000 -0.000000 5.000000 -70.739998
sto_xyz:2 -3.750000 -0.000000 -0.000000 118.125000
sto_xyz:3 0.000000 -3.750000 0.000000 127.495003
sto_xyz:4 0.000000 0.000000 0.000000 1.000000
sform_xorient Anterior-to-Posterior
sform_yorient Superior-to-Inferior
sform_zorient Left-to-Right
file_type NIFTI-1+
file_code 1
descrip
aux_file
Thanks in advance!
Phoenix