Skip to content

Commit 8d720fe

Browse files
authored
DOC: Add reference to FreeSurfer wiki
1 parent c066cea commit 8d720fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nibabel/freesurfer/mghformat.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,17 @@ def get_zooms(self):
242242
243243
Returns the spacing of voxels in the x, y, and z dimensions.
244244
For four-dimensional files, a fourth zoom is included, equal to the
245-
repetition time (TR) in ms.
245+
repetition time (TR) in ms (see `The MGH/MGZ Volume Format
246+
<mghformat>`_).
246247
247248
To access only the spatial zooms, use `hdr['delta']`.
248249
249250
Returns
250251
-------
251252
z : tuple
252253
tuple of header zoom values
254+
255+
.. _mghformat: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat#line-82
253256
'''
254257
# Do not return time zoom (TR) if 3D image
255258
tzoom = (self['tr'],)[:self._ndims() > 3]

0 commit comments

Comments
 (0)