Skip to content

Commit

Permalink
ASL BIDS suggestions from @jan-petr
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Mar 15, 2024
1 parent 1858e1c commit 04d6d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ tse3d: T2*/
if ((strstr(pulseSequenceDetails, "ep2d_pcasl")) || (strstr(pulseSequenceDetails, "ep2d_pcasl_UI_PHC"))) {
isPCASL = true;
repetitionTimePreparation = d.TR;
json_FloatNotNan(fp, "\t\"LabelOffset\": %g,\n", csaAscii.adFree[1]); //mm
json_FloatNotNan(fp, "\t\"LabelingDistance\": %g,\n", csaAscii.adFree[1]); //mm, renamed for BIDS https://bids-specification.readthedocs.io/en/stable/glossary.html#labelingdistance-metadata
json_FloatNotNan(fp, "\t\"PostLabelingDelay\": %g,\n", csaAscii.adFree[2] * (1.0 / 1000000.0)); //usec -> sec
float num_RF_Block = csaAscii.adFree[3];
json_FloatNotNan(fp, "\t\"NumRFBlocks\": %g,\n", num_RF_Block);
Expand Down

0 comments on commit 04d6d49

Please sign in to comment.