We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c066cea commit 8d720feCopy full SHA for 8d720fe
nibabel/freesurfer/mghformat.py
@@ -242,14 +242,17 @@ def get_zooms(self):
242
243
Returns the spacing of voxels in the x, y, and z dimensions.
244
For four-dimensional files, a fourth zoom is included, equal to the
245
- repetition time (TR) in ms.
+ repetition time (TR) in ms (see `The MGH/MGZ Volume Format
246
+ <mghformat>`_).
247
248
To access only the spatial zooms, use `hdr['delta']`.
249
250
Returns
251
-------
252
z : tuple
253
tuple of header zoom values
254
+
255
+ .. _mghformat: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat#line-82
256
'''
257
# Do not return time zoom (TR) if 3D image
258
tzoom = (self['tr'],)[:self._ndims() > 3]
0 commit comments