BasePresenter¶
- class spectacoular.dprocess.BasePresenter¶
Bases:
BaseSpectacoular
Base class for any object that serves as a mediator between acoular sources (models) and a corresponding user interface.
It provides methods for filtering and translating data of an acoular class into the format of a ColumnDataSource which can be consumed by plots and glyphs of the interface. Interactive elements (widgets) than can be used to control the data transformation can be accessed via the
get_widgets()
method.This class has no real functionality on its own and should not be used.
- source = Trait()¶
Data source (Model)
- cdsource = Instance(ColumnDataSource, args=())¶
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.