mvpa2.mappers.mdp_adaptor.is_in_volume

mvpa2.mappers.mdp_adaptor.is_in_volume(coord, shape)

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