mvpa2.mappers.flattenΒΆ

Flatten multi-dimensional samples

Inheritance diagram of mvpa2.mappers.flatten

Functions

accepts_dataset_as_samples(fx) Decorator to extract samples from Datasets.
is_in_volume(coord, shape) For given coord check if it is within a specified volume size.
mask_mapper([mask, shape, space]) Factory method to create a chain of Flatten+StaticFeatureSelection Mappers

Classes

ChainMapper(nodes, \*\*kwargs) Class that amends ChainNode with a mapper-like interface.
FlattenMapper([shape, maxdims]) Reshaping mapper that flattens multidimensional arrays into 1D vectors.
Mapper(\*\*kwargs) Basic mapper interface definition.
ProductFlattenMapper(factor_names[, ...]) Reshaping mapper that flattens multidimensional arrays and
StaticFeatureSelection(slicearg[, dshape, ...]) Feature selection by static slicing argument.