You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add additional information in SeqInfo to support ASL files. I am working with ASL(perf) files and require information such as In-Plane Phase Encoding Direction, Acquisition Number, Image Orientation (Patient) from the DICOM images to determine the names of the files.
Solution -
Add the following in heudiconv/utils.py file:
image_orientation_patient
in_plane_phase_encoding_direction
acquisition_number
Add the following in heudiconv/dicoms.py file:
in_plane_phase_encoding_direction = dcminfo.get("InPlanePhaseEncodingDirection") if dcminfo.get("InPlanePhaseEncodingDirection") else None,
acquisition_number = dcminfo.get("AcquisitionNumber") if dcminfo.get("AcquisitionNumber") else None,
image_orientation_patient = tuple(dcminfo.get('ImageOrientationPatient')) if dcminfo.get('ImageOrientationPatient') else ()
The text was updated successfully, but these errors were encountered:
@pbbaba are you able to share the DICOMs? I'll be working on a new study with ASL data soon, and I want to ensure that heudiconv (and specifically the reproin heuristic) works on those data.
Summary
Add additional information in SeqInfo to support ASL files. I am working with ASL(perf) files and require information such as In-Plane Phase Encoding Direction, Acquisition Number, Image Orientation (Patient) from the DICOM images to determine the names of the files.
Solution -
The text was updated successfully, but these errors were encountered: