Python API#
One page per public package, generated from the docstrings. A name is public when it is in its package’s
__all__; these pages list exactly those names. Import a name from its package, for example
from larmor.sd import find_peaks, not from the module that defines it.
Package |
What it holds |
|---|---|
The names for the most common tasks, from the packages below |
|
The core data types: grids, volumes, tractograms, surfaces, gradient tables and labels |
|
Loading and saving by path, gradient files, MATLAB files and MRIToolkit results |
|
The reader and writer of each file format |
|
Brain masks, denoising, Gibbs ringing removal, and the DTI and DKI models |
|
Spherical deconvolution: response functions, FODs and their peaks |
|
Seeds, the tracker, editing tractograms, track density, connectomes and tract profiles |
|
Applying and inverting ANTs, FSL and MRtrix3 registrations |
|
Operations on surface meshes |
|
Public example datasets, downloaded on first use |
|
BrainViewer from Python |
The files each function reads and writes are listed in File formats.