Skip to content

Commit b708d89

Browse files
committed
DOC: Brute-force inclusion of the GIFTI docs.
1 parent 8cd183f commit b708d89

File tree

2 files changed

+41
-10
lines changed

2 files changed

+41
-10
lines changed

nibabel/gifti/__init__.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# emacs: -*- mode: python-mode; py-indent-offset: 4; indent-tabs-mode: nil -*-
2+
# vi: set ft=python sts=4 ts=4 sw=4 et:
3+
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
4+
#
5+
# See COPYING file distributed along with the NiBabel package for the
6+
# copyright and license terms.
7+
#
8+
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
9+
"""GIfTI format IO
10+
11+
.. currentmodule:: nibabel.gifti
12+
13+
.. autosummary::
14+
:toctree: ../generated
15+
16+
gifti
17+
parse_gifti_fast
18+
util
19+
"""

nibabel/gifti/gifti.py

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,28 @@ def saveImage(image, filename):
206206
207207
Note that the Gifti spec suggests using the following suffixes to your
208208
filename when saving each specific type of data:
209-
Generic GIFTI File .gii
210-
Coordinates .coord.gii
211-
Functional .func.gii
212-
Labels .label.gii
213-
RGB or RGBA .rgba.gii
214-
Shape .shape.gii
215-
Surface .surf.gii
216-
Tensors .tensor.gii
217-
Time Series .time.gii
218-
Topology .topo.gii"""
209+
210+
.gii
211+
Generic GIFTI File
212+
.coord.gii
213+
Coordinates
214+
.func.gii
215+
Functional
216+
.label.gii
217+
Labels
218+
.rgba.gii
219+
RGB or RGBA
220+
.shape.gii
221+
Shape
222+
.surf.gii
223+
Surface
224+
.tensor.gii
225+
Tensors
226+
.time.gii
227+
Time Series
228+
.topo.gii
229+
Topology
230+
"""
219231

220232
#if not image.version:
221233
# t = pygiftiio.gifticlib_version()

0 commit comments

Comments
 (0)