Package mvpa :: Package misc :: Package io :: Module base :: Class SensorLocations
[hide private]
[frames] | no frames]

Class SensorLocations

source code


Base class for sensor location readers.

Each subclass should provide x, y, z coordinates via the pos_x, pos_y, and pos_z attrbibutes.

Axes should follow the following convention:

x-axis: left -> right y-axis: anterior -> posterior z-axis: superior -> inferior


Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Pass arguments to ColumnData.
source code
 
locations(self)
Get the sensor locations as an array.
source code

Inherited from ColumnData: __iadd__, __str__, getNColumns, getNRows, selectSamples, tofile

Inherited from ColumnData (private): _check, _fromFile, _getAttrib

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]

Inherited from ColumnData: __doc__, ncolumns, nrows

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Pass arguments to ColumnData.
Returns:
new empty dictionary

Overrides: ColumnData.__init__

locations(self)

source code 
Get the sensor locations as an array.
Returns:
(nchannels x 3) array with coordinates in (x, y, z)