Package bar :: Module barAllenApiAtlasSpace :: Class barAllenApiAtlasSpace
[hide private]
[frames] | no frames]

Class barAllenApiAtlasSpace


Class representing the 'space' element from Info.xml file delivered with atlases provided by the Allen Institute.

Nested Classes [hide private]
Instance Methods [hide private]
 
__init__(self, name, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
_get_name(self)
 
_set_name(self, value)
 
_get_viewVolumeSize(self)
 
_set_viewVolumeSize(self, value)
 
_get_viewVolumePixelSpacing(self)
 
_set_viewVolumePixelSpacing(self, value)
 
_get_tissueVolumeSize(self)
 
_set_tissueVolumeSize(self, value)
 
_get_tissueVolumePixelSpacing(self)
 
_set_tissueVolumePixelSpacing(self, value)
 
_get_tissueVolumeOrigin(self)
 
_set_tissueVolumeOrigin(self, value)
 
_get_sourceXmlFilename(self)
 
_set_sourceXmlFilename(self, value)

Inherited from base.barAtlasSlideElement: affineTransform, getXMLelement

Inherited from base.barObject: __str__, getElementById, writeXMLtoFile

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

Class Methods [hide private]
 
fromXML(cls, svgImageElement)
A stub of method.
Static Methods [hide private]

Inherited from base.barObject (private): _getAttributesDict

Class Variables [hide private]
str _elementName = 'space'
name of the represented XML element
Properties [hide private]
str name
Name of given atlas space
(int, int, int) viewVolumeSize
(int, int, int) viewVolumePixelSpacing
(int, int, int) tissueVolumePixelSpacing
Voxel size of the structural data.
(int, int, int) tissueVolumeSize
Volume extent of the structural data.
(int, int, int) tissueVolumeOrigin
Index of voxel beeing origin of the srs
str sourceXmlFilename
Filename (and path) of the xml file from which given instance was generated.

Inherited from object: __class__

Method Details [hide private]

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

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • name (str) - name of the atlas space
Overrides: object.__init__

fromXML(cls, svgImageElement)
Class Method

 

A stub of method. Raise NotImplementedError.

Parameters:
  • sourceXMLElement - XML representation of the element
Overrides: base.barAtlasSlideElement.fromXML
(inherited documentation)

Property Details [hide private]

name

Name of given atlas space

Get Method:
_get_name(self)
Set Method:
_set_name(self, value)

viewVolumeSize

Get Method:
_get_viewVolumeSize(self)
Set Method:
_set_viewVolumeSize(self, value)

viewVolumePixelSpacing

Get Method:
_get_viewVolumePixelSpacing(self)
Set Method:
_set_viewVolumePixelSpacing(self, value)

tissueVolumePixelSpacing

Voxel size of the structural data.

Get Method:
_get_viewVolumePixelSpacing(self)
Set Method:
_set_viewVolumePixelSpacing(self, value)

tissueVolumeSize

Volume extent of the structural data.

Get Method:
_get_tissueVolumeSize(self)
Set Method:
_set_tissueVolumeSize(self, value)

tissueVolumeOrigin

Index of voxel beeing origin of the srs

Get Method:
_get_tissueVolumeOrigin(self)
Set Method:
_set_tissueVolumeOrigin(self, value)

sourceXmlFilename

Filename (and path) of the xml file from which given instance was generated.

Get Method:
_get_sourceXmlFilename(self)
Set Method:
_set_sourceXmlFilename(self, value)