|
1 | 1 | .. -*- rest -*-
|
2 | 2 | .. vim:syntax=rst
|
3 | 3 |
|
4 |
| -.. Following contents should be from LONG_DESCRIPTION in nibabel/info.py |
| 4 | +.. Following contents should be copied from LONG_DESCRIPTION in NiBabel/info.py |
5 | 5 |
|
| 6 | +======= |
| 7 | +NiBabel |
| 8 | +======= |
| 9 | + |
| 10 | +Read and write access to common neuroimaging file formats, including: ANALYZE_ (plain, SPM99, SPM2 and later), |
| 11 | +GIFTI_, NIfTI1_, NIfTI2_, `CIFTI-2`_, MINC1_, MINC2_, `AFNI BRIK/HEAD`_, ECAT_ and Philips PAR/REC |
| 12 | +In addition, NiBabel also supports FreeSurfer_'s MGH_, geometry, annotation and morphometry files, |
| 13 | +and provides some limited support for DICOM_. |
| 14 | + |
| 15 | +NiBabel's API gives full or selective access to header information (metadata) and access to the image |
| 16 | +data is made available via NumPy arrays. For more information, see NiBabel's `documentation site`_ |
| 17 | +and `API reference`_. |
| 18 | + |
| 19 | +.. _API reference: https://nipy.org/nibabel/api.html |
| 20 | +.. _AFNI BRIK/HEAD: https://afni.nimh.nih.gov/pub/dist/src/README.attributes |
| 21 | +.. _ANALYZE: http://www.grahamwideman.com/gw/brain/analyze/formatdoc.htm |
| 22 | +.. _CIFTI-2: https://www.nitrc.org/projects/cifti/ |
| 23 | +.. _DICOM: http://medical.nema.org/ |
| 24 | +.. _documentation site: http://nipy.org/NiBabel |
| 25 | +.. _ECAT: http://xmedcon.sourceforge.net/Docs/Ecat |
| 26 | +.. _Freesurfer: https://surfer.nmr.mgh.harvard.edu |
| 27 | +.. _GIFTI: https://www.nitrc.org/projects/gifti |
| 28 | +.. _MGH: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat |
| 29 | +.. _MINC1: |
| 30 | + https://en.wikibooks.org/wiki/MINC/Reference/MINC1_File_Format_Reference |
| 31 | +.. _MINC2: |
| 32 | + https://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_File_Format_Reference |
| 33 | +.. _NIfTI1: http://nifti.nimh.nih.gov/nifti-1/ |
| 34 | +.. _NIfTI2: http://nifti.nimh.nih.gov/nifti-2/ |
6 | 35 |
|
7 | 36 | .. list-table::
|
8 | 37 | :widths: 20 80
|
|
19 | 48 | .. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
|
20 | 49 | :target: https://github.com/pre-commit/pre-commit
|
21 | 50 | :alt: pre-commit
|
22 |
| - .. image:: https://codecov.io/gh/nipy/nibabel/branch/master/graph/badge.svg |
23 |
| - :target: https://codecov.io/gh/nipy/nibabel |
| 51 | + .. image:: https://codecov.io/gh/nipy/NiBabel/branch/master/graph/badge.svg |
| 52 | + :target: https://codecov.io/gh/nipy/NiBabel |
24 | 53 | :alt: codecov badge
|
25 |
| - .. image:: https://img.shields.io/librariesio/github/nipy/nibabel |
26 |
| - :target: https://libraries.io/github/nipy/nibabel |
| 54 | + .. image:: https://img.shields.io/librariesio/github/nipy/NiBabel |
| 55 | + :target: https://libraries.io/github/nipy/NiBabel |
27 | 56 | :alt: Libraries.io dependency status for GitHub repo
|
| 57 | + |
28 | 58 | * - Status
|
29 | 59 | -
|
30 |
| - .. image:: https://github.com/nipy/nibabel/actions/workflows/stable.yml/badge.svg |
31 |
| - :target: https://github.com/nipy/nibabel/actions/workflows/stable.yml |
| 60 | + .. image:: https://github.com/nipy/NiBabel/actions/workflows/stable.yml/badge.svg |
| 61 | + :target: https://github.com/nipy/NiBabel/actions/workflows/stable.yml |
32 | 62 | :alt: stable tests
|
33 |
| - .. image:: https://github.com/nipy/nibabel/actions/workflows/pages/pages-build-deployment/badge.svg |
34 |
| - :target: https://github.com/nipy/nibabel/actions/workflows/pages/pages-build-deployment |
| 63 | + .. image:: https://github.com/nipy/NiBabel/actions/workflows/pages/pages-build-deployment/badge.svg |
| 64 | + :target: https://github.com/nipy/NiBabel/actions/workflows/pages/pages-build-deployment |
35 | 65 | :alt: documentation build
|
| 66 | + |
36 | 67 | * - Packaging
|
37 | 68 | -
|
38 | 69 | .. image:: https://img.shields.io/pypi/v/nibabel.svg
|
39 | 70 | :target: https://pypi.python.org/pypi/nibabel/
|
40 | 71 | :alt: PyPI version
|
41 | 72 | .. image:: https://img.shields.io/pypi/format/nibabel.svg
|
42 |
| - :target: https://pypi.org/project/nibabel |
| 73 | + :target: https://pypi.org/project/nibabel/ |
43 | 74 | :alt: PyPI Format
|
44 | 75 | .. image:: https://img.shields.io/pypi/pyversions/nibabel.svg
|
45 | 76 | :target: https://pypi.python.org/pypi/nibabel/
|
|
48 | 79 | :target: https://pypi.python.org/pypi/nibabel/
|
49 | 80 | :alt: PyPI - Implementation
|
50 | 81 | .. image:: https://img.shields.io/pypi/dm/nibabel.svg
|
51 |
| - :target: https://pypistats.org/packages/nibabel |
| 82 | + :target: https://pypistats.org/packages/nibabel/ |
52 | 83 | :alt: PyPI - Downloads
|
| 84 | + |
53 | 85 | * - Distribution
|
54 | 86 | -
|
55 | 87 | .. image:: https://repology.org/badge/version-for-repo/aur/python:nibabel.svg?header=Arch%20%28%41%55%52%29
|
|
73 | 105 | :target: https://doi.org/10.5281/zenodo.591597
|
74 | 106 | :alt: Zenodo DOI
|
75 | 107 |
|
| 108 | +Installation |
| 109 | +============ |
76 | 110 |
|
77 |
| -======= |
78 |
| -NiBabel |
79 |
| -======= |
| 111 | +To install NiBabel's `current release`_ with ``pip``, run:: |
80 | 112 |
|
81 |
| -Read / write access to some common neuroimaging file formats |
| 113 | + pip install nibabel |
82 | 114 |
|
83 |
| -This package provides read +/- write access to some common medical and |
84 |
| -neuroimaging file formats, including: ANALYZE_ (plain, SPM99, SPM2 and later), |
85 |
| -GIFTI_, NIfTI1_, NIfTI2_, `CIFTI-2`_, MINC1_, MINC2_, `AFNI BRIK/HEAD`_, MGH_ and |
86 |
| -ECAT_ as well as Philips PAR/REC. We can read and write FreeSurfer_ geometry, |
87 |
| -annotation and morphometry files. There is some very limited support for |
88 |
| -DICOM_. NiBabel is the successor of PyNIfTI_. |
| 115 | +To install the latest development version, run:: |
89 | 116 |
|
90 |
| -.. _ANALYZE: http://www.grahamwideman.com/gw/brain/analyze/formatdoc.htm |
91 |
| -.. _AFNI BRIK/HEAD: https://afni.nimh.nih.gov/pub/dist/src/README.attributes |
92 |
| -.. _NIfTI1: http://nifti.nimh.nih.gov/nifti-1/ |
93 |
| -.. _NIfTI2: http://nifti.nimh.nih.gov/nifti-2/ |
94 |
| -.. _CIFTI-2: https://www.nitrc.org/projects/cifti/ |
95 |
| -.. _MINC1: |
96 |
| - https://en.wikibooks.org/wiki/MINC/Reference/MINC1_File_Format_Reference |
97 |
| -.. _MINC2: |
98 |
| - https://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_File_Format_Reference |
99 |
| -.. _PyNIfTI: http://niftilib.sourceforge.net/pynifti/ |
100 |
| -.. _GIFTI: https://www.nitrc.org/projects/gifti |
101 |
| -.. _MGH: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat |
102 |
| -.. _ECAT: http://xmedcon.sourceforge.net/Docs/Ecat |
103 |
| -.. _Freesurfer: https://surfer.nmr.mgh.harvard.edu |
104 |
| -.. _DICOM: http://medical.nema.org/ |
105 |
| - |
106 |
| -The various image format classes give full or selective access to header |
107 |
| -(meta) information and access to the image data is made available via NumPy |
108 |
| -arrays. |
| 117 | + pip install git+https://github.com/nipy/nibabel |
109 | 118 |
|
110 |
| -Website |
111 |
| -======= |
| 119 | +For more information on previous releases, see the `release archive`_. |
112 | 120 |
|
113 |
| -Current documentation on nibabel can always be found at the `NIPY nibabel |
114 |
| -website <http://nipy.org/nibabel>`_. |
| 121 | +.. _current release: https://pypi.python.org/pypi/NiBabel |
| 122 | +.. _release archive: https://github.com/nipy/NiBabel/releases |
115 | 123 |
|
116 |
| -Mailing Lists |
117 |
| -============= |
| 124 | +Mailing List |
| 125 | +============ |
118 | 126 |
|
119 | 127 | Please send any questions or suggestions to the `neuroimaging mailing list
|
120 | 128 | <https://mail.python.org/mailman/listinfo/neuroimaging>`_.
|
121 | 129 |
|
122 |
| -Code |
123 |
| -==== |
124 |
| - |
125 |
| -Install nibabel with:: |
126 |
| - |
127 |
| - pip install nibabel |
128 |
| - |
129 |
| -You may also be interested in: |
130 |
| - |
131 |
| -* the `nibabel code repository`_ on Github; |
132 |
| -* documentation_ for all releases and current development tree; |
133 |
| -* download the `current release`_ from pypi; |
134 |
| -* download `current development version`_ as a zip file; |
135 |
| -* downloads of all `available releases`_. |
136 |
| - |
137 |
| -.. _nibabel code repository: https://github.com/nipy/nibabel |
138 |
| -.. _Documentation: http://nipy.org/nibabel |
139 |
| -.. _current release: https://pypi.python.org/pypi/nibabel |
140 |
| -.. _current development version: https://github.com/nipy/nibabel/archive/master.zip |
141 |
| -.. _available releases: https://github.com/nipy/nibabel/releases |
142 |
| - |
143 | 130 | License
|
144 | 131 | =======
|
145 | 132 |
|
146 |
| -Nibabel is licensed under the terms of the MIT license. Some code included |
147 |
| -with nibabel is licensed under the BSD license. Please see the COPYING file |
148 |
| -in the nibabel distribution. |
| 133 | +NiBabel is licensed under the terms of the `MIT license`_. Some code included |
| 134 | +with NiBabel is licensed under the `BSD license`_. For more information, |
| 135 | +please see the COPYING_ file. |
149 | 136 |
|
150 |
| -Citing nibabel |
151 |
| -============== |
| 137 | +.. _BSD license: https://opensource.org/licenses/BSD-3-Clause |
| 138 | +.. _COPYING: https://github.com/nipy/nibabel/blob/master/COPYING |
| 139 | +.. _MIT license: https://github.com/nipy/nibabel/blob/master/COPYING#nibabel |
152 | 140 |
|
153 |
| -Please see the `available releases`_ for the release of nibabel that you are |
154 |
| -using. Recent releases have a Zenodo_ `Digital Object Identifier`_ badge at |
155 |
| -the top of the release notes. Click on the badge for more information. |
| 141 | +Citation |
| 142 | +======== |
| 143 | + |
| 144 | +Recent NiBabel releases have a Zenodo_ `Digital Object Identifier`_ (DOI) badge at |
| 145 | +the top of the release notes. Click on the badge for more information. |
156 | 146 |
|
157 |
| -.. _zenodo: https://zenodo.org |
158 | 147 | .. _Digital Object Identifier: https://en.wikipedia.org/wiki/Digital_object_identifier
|
| 148 | +.. _zenodo: https://zenodo.org |
0 commit comments