Home | Trees | Indices | Help |
|
---|
|
Dataset loading its samples from a NIfTI image or file. Samples can be loaded from a NiftiImage instance or directly from a NIfTI file. This class stores all relevant information from the NIfTI file header and provides information about the metrics and neighborhood information of all voxels. Most importantly it allows to map data back into the original data space and format via :meth:`~mvpa.datasets.nifti.NiftiDataset.map2Nifti`. This class allows for convenient pre-selection of features by providing a mask to the constructor. Only non-zero elements from this mask will be considered as features. NIfTI files are accessed via PyNIfTI. See http://niftilib.sourceforge.net/pynifti/ for more information about pynifti.
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
niftihdr = property(fget= lambda self: self._dsattr ['niftihdr
|
|||
dt = property(fget= getDt, doc= 'Time difference between two s
|
|||
samplingrate = property(fget= lambda self: 1.0/ self.dt, doc=
|
|||
Inherited from |
|
samples and mapper arguments are not None the mapper is
used to forward-map the samples array and the result is passed
to the Dataset constructor.
|
|
Return the temporal distance of two samples/volumes. This method tries to be clever and always returns dt in seconds, by
using unit information from the NIfTI header. If such information is
not present the assumed unit will also be |
|
niftihdr
|
dt
|
samplingrate
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Feb 15 14:12:34 2011 | http://epydoc.sourceforge.net |