Package mvpa :: Package misc :: Package io :: Module base :: Class DataReader

[hide private]
[frames] | no frames]

# Class DataReader

source code

Base class for data readers.

Every subclass has to put all information into to variable:

`self._data`: ndarray
  The data array has to have the samples separating dimension along the first axis.
`self._props`: dict
  All other meaningful information has to be stored in a dictionary.

This class provides two methods (and associated properties) to retrieve this information.

Instance Methods | [hide private]

__init__(self) Cheap init. | source code

getPropsAsDict(self) Return the dictionary with the data properties. | source code

getData(self) Return the data array. | source code

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]

| data = `property(fget= getData, doc= "Data array")`
| props = `property(fget= getPropsAsDict, doc= "Property dict")`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self)
(Constructor)

source code

Cheap init.

Overrides: object.__init__