Generic class for translating data from ScalableBrainAtlas to CAF
dataset. This class should be subclassed for each template available on
SBA website and customized according to template-specific features.
|
__init__(self,
**kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
barTracedSlideRenderer
|
parse(self,
slideNumber,
generateLabels=True,
useIndexer=True,
writeSlide=True)
Returns:
Traced slide with given slideNumber . |
|
|
|
|
|
_getPathID(self,
structName)
Returns:
(string) ID of path with given name. |
|
|
|
_getStructureName(self,
structureIDbyFill)
Returns:
(string) name of the structure corresponding to gocen fill color. |
|
|
|
_cleanStructName(self,
structName)
An alias to cleanStructName(structName) . |
|
|
|
|
|
|
|
_calculatescaling(self)
function calculates coefficients of transformation matrix basing on
config.json file provided by scalablebrainatlas template. |
|
|
|
|
Inherited from parsers.barGenericParser :
RGBToHTMLColor ,
getProperty ,
parseAll ,
parseRange ,
reindex ,
setProperty ,
writeIndex
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|