NIfTI.jl
NIfTI.jl copied to clipboard
Missing fields for Freq_dim, Phase_dim and slice_dim within the nifti header after reading a nifti file.
Based on the following file, the nifti header data is stored along with the fields of freq_dim, phase_dim and slice_dim. https://nifti.nimh.nih.gov/pub/dist/src/niftilib/nifti1_io.h
Wanted to know, how can i get the relevant values individually for each dim, since NIfTI.jl only loads up a header with the field of "dim_info" in terms of that.
Functions exist for this. I'm going to try finish documenting this tonight after work.
Update:
Although docs are updated on the repo, you won't see anything until I make a release. I'll see if I can get one out over the next few days.
alright , looking forward to this , thanks for considering Zach ,:)
freq_dim #indexes (1,2,3 or 0) for MRI code : dim_info & 0x03 phase_dim #directions in dim/pixdim code : (dim_info >> 2) &0x03 slice_dim #directions in dim/pixdim code : dim_info >>4
can u approve I am headed in the right direction with the above ?