|
| 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 | + |
| 10 | +import os |
| 11 | +from typing import Any |
| 12 | + |
| 13 | +# module imports |
| 14 | +from nibabel import analyze as ana |
| 15 | +from nibabel import ecat, imagestats, mriutils, orientations, streamlines, viewers |
| 16 | +from nibabel import nifti1 as ni1 |
| 17 | +from nibabel import spm2analyze as spm2 |
| 18 | +from nibabel import spm99analyze as spm99 |
| 19 | + |
| 20 | +# object imports |
| 21 | +from nibabel.analyze import AnalyzeHeader, AnalyzeImage |
| 22 | +from nibabel.arrayproxy import is_proxy |
| 23 | +from nibabel.cifti2 import Cifti2Header, Cifti2Image |
| 24 | +from nibabel.fileholders import FileHolder, FileHolderError |
| 25 | +from nibabel.freesurfer import MGHImage |
| 26 | +from nibabel.funcs import as_closest_canonical, concat_images, four_to_three, squeeze_image |
| 27 | +from nibabel.gifti import GiftiImage |
| 28 | +from nibabel.imageclasses import all_image_classes |
| 29 | +from nibabel.info import long_description as __doc__ |
| 30 | +from nibabel.loadsave import load, save |
| 31 | +from nibabel.minc1 import Minc1Image |
| 32 | +from nibabel.minc2 import Minc2Image |
| 33 | +from nibabel.nifti1 import Nifti1Header, Nifti1Image, Nifti1Pair |
| 34 | +from nibabel.nifti2 import Nifti2Header, Nifti2Image, Nifti2Pair |
| 35 | +from nibabel.orientations import ( |
| 36 | + OrientationError, |
| 37 | + aff2axcodes, |
| 38 | + apply_orientation, |
| 39 | + flip_axis, |
| 40 | + io_orientation, |
| 41 | +) |
| 42 | +from nibabel.pkg_info import __version__ |
| 43 | +from nibabel.pkg_info import get_pkg_info as _get_pkg_info |
| 44 | +from nibabel.spm2analyze import Spm2AnalyzeHeader, Spm2AnalyzeImage |
| 45 | +from nibabel.spm99analyze import Spm99AnalyzeHeader, Spm99AnalyzeImage |
| 46 | + |
| 47 | +def get_info() -> dict[str, str]: ... |
| 48 | +def test( |
| 49 | + label: Any = None, |
| 50 | + verbose: int = 1, |
| 51 | + extra_argv: list[Any] | None = None, |
| 52 | + doctests: bool = False, |
| 53 | + coverage: bool = False, |
| 54 | + raise_warnings: Any = None, |
| 55 | + timer: Any = False, |
| 56 | +) -> int: ... |
| 57 | +def bench(label: Any = None, verbose: int = 1, extra_argv: list[Any] | None = None) -> int: ... |
| 58 | + |
| 59 | +__all__ = [ |
| 60 | + 'AnalyzeHeader', |
| 61 | + 'AnalyzeImage', |
| 62 | + 'Cifti2Header', |
| 63 | + 'Cifti2Image', |
| 64 | + 'FileHolder', |
| 65 | + 'FileHolderError', |
| 66 | + 'GiftiImage', |
| 67 | + 'MGHImage', |
| 68 | + 'Minc1Image', |
| 69 | + 'Minc2Image', |
| 70 | + 'Nifti1Header', |
| 71 | + 'Nifti1Image', |
| 72 | + 'Nifti1Pair', |
| 73 | + 'Nifti2Header', |
| 74 | + 'Nifti2Image', |
| 75 | + 'Nifti2Pair', |
| 76 | + 'OrientationError', |
| 77 | + 'Spm2AnalyzeHeader', |
| 78 | + 'Spm2AnalyzeImage', |
| 79 | + 'Spm99AnalyzeHeader', |
| 80 | + 'Spm99AnalyzeImage', |
| 81 | + '__doc__', |
| 82 | + '__version__', |
| 83 | + '_get_pkg_info', |
| 84 | + 'aff2axcodes', |
| 85 | + 'all_image_classes', |
| 86 | + 'ana', |
| 87 | + 'apply_orientation', |
| 88 | + 'as_closest_canonical', |
| 89 | + 'bench', |
| 90 | + 'concat_images', |
| 91 | + 'ecat', |
| 92 | + 'flip_axis', |
| 93 | + 'four_to_three', |
| 94 | + 'get_info', |
| 95 | + 'imagestats', |
| 96 | + 'io_orientation', |
| 97 | + 'is_proxy', |
| 98 | + 'load', |
| 99 | + 'mriutils', |
| 100 | + 'ni1', |
| 101 | + 'orientations', |
| 102 | + 'os', |
| 103 | + 'save', |
| 104 | + 'spm2', |
| 105 | + 'spm99', |
| 106 | + 'squeeze_image', |
| 107 | + 'streamlines', |
| 108 | + 'test', |
| 109 | + 'viewers', |
| 110 | +] |
0 commit comments