MicGeomPresenter¶
- class spectacoular.dprocess.MicGeomPresenter¶
Bases:
BasePresenter
This class provides data for visualization of a Microphone Geometry.
The data of its ColumnDataSource fits to different bokeh glyphs (e.g. circle).
Example:
>>> import spectacoular >>> mg = spectacoular.MicGeom(file='/path/to/file.xml') >>> mv = spectacoular.MicGeomPresenter(source=mg) >>> >>> mgPlot = figure(title='Microphone Geometry') >>> mgPlot.circle(x='x',y='y',source=mv.cdsource)
- source = Instance(MicGeom)¶
Data source;
MicGeom
or derived object.
- cdsource = Instance(ColumnDataSource, kw={'data':{ …¶
ColumnDataSource that holds data that can be consumed by plots and glyphs
- update(**optional_items)¶
Function that updates the cdsource attribute.
No processing here, since BasePresenter only represents a base class to derive other classes from.