Package mvpa :: Package mappers :: Module mask
[hide private]
[frames] | no frames]

Module mask

source code

Data mapper
Classes [hide private]
  MaskMapper
Mapper which uses a binary mask to select "Features"
Functions [hide private]
 
isInVolume(coord, shape)
For given coord check if it is within a specified volume size.
source code

Imports: N, isSequenceType, MetricMapper, DescreteMetric, cartesianDistance, enhancedDocString, warning, isSorted


Function Details [hide private]

isInVolume(coord, shape)

source code 

For given coord check if it is within a specified volume size.

Returns True/False. Assumes that volume coordinates start at 0. No more generalization (arbitrary minimal coord) is done to save on performance

XXX: should move somewhere else.