We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a0467 commit 8333780Copy full SHA for 8333780
nibabel/parrec.py
@@ -775,7 +775,8 @@ def as_analyze_map(self):
775
self.general_info['exam_date'].replace(' ', ''),
776
self.general_info['protocol_name']))[:80] # max len
777
is_fmri = (self.general_info['max_dynamics'] > 1)
778
- t = 'msec' if is_fmri else 'unknown'
+ # PAR/REC uses msec, but in _calc_zooms we convert to sec
779
+ t = 'sec' if is_fmri else 'unknown'
780
xyzt_units = unit_codes['mm'] + unit_codes[t]
781
return dict(descr=descr, xyzt_units=xyzt_units) # , pixdim=pixdim)
782
0 commit comments