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

Class nlParser


Instance Methods [hide private]
 
__init__(self, inputFilename, contour, zAccuracy, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__getSlideRange(self)
barTracedSlideRenderer
parse(self, slideNumber, useIndexer=True)
Returns: Traced slide with given slideNumber.
 
affineTransform(self, M)

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__

Class Variables [hide private]
list _requiredInternalData = ['outputDirectory', 'filenameTemplates...
Required instance attributtes.
Instance Variables [hide private]

Inherited from parsers.barGenericParser: filenameTemplates, outputDirectory, renderingProperties, tracingProperties

Properties [hide private]
list slideRange
List of integers containing consecutive slide numbers.

Inherited from object: __class__

Method Details [hide private]

__init__(self, inputFilename, contour, zAccuracy, **kwargs)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

parse(self, slideNumber, useIndexer=True)

 
Parameters:
  • slideNumber - Number of slide to parse
Returns: barTracedSlideRenderer
Traced slide with given slideNumber.

Performs all operation related to creating CAF slide from souce data. Should be customized in each parser.

Overrides: parsers.barGenericParser.parse
(inherited documentation)

Class Variable Details [hide private]

_requiredInternalData

Required instance attributtes. Without prividing them parsing cannot be invoked. Meaning of each attribute is explained below.
Type:
list
Value:
['outputDirectory',
 'filenameTemplates',
 'slideRange',
 'tracingProperties',
 'renderingProperties',
 'renderingProperties',
 'tracingProperties',
 'slideRange']

Property Details [hide private]

slideRange

List of integers containing consecutive slide numbers. it is assumed that list contains consecutive slide numbers. List does not have to start from zero.
Get Method:
__getSlideRange(self)