For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
OverviewCodaControlAPI ReferenceChangelog
OverviewCodaControlAPI ReferenceChangelog
  • Coda API
  • Control API
  • Stanza API
    • stanza
    • cli
    • context
    • device
    • exceptions
      • logger
      • data_logger
      • datatypes
      • session
        • writers
        • base
        • bokeh_writer
        • hdf5_writer
        • jsonl_writer
    • models
    • pyvisa
    • registry
    • timing
    • utils
LogoLogo
On this page
  • Module Contents
  • Classes
  • Data
  • API
  • Initialization
Stanza APIloggerwriters

stanza.logger.writers.bokeh_writer

Was this page helpful?
Built with

Data writer for live plotting with Bokeh.

Module Contents

Classes

NameDescription
BokehLiveWriterStream sweep data to Bokeh plots.

Data

__all__

API

1class stanza.logger.writers.bokeh_writer.BokehLiveWriter(backend: typing.Any, max_points: int = 1000)

Bases: stanza.logger.writers.base.AbstractDataWriter

Stream sweep data to Bokeh plots.

Initialization

Parameters:

Parameters:

  • backend: ServerBackend or InlineBackend instance
  • max_points: Maximum points per plot (older data rolls off for 1D)
1initialize_session(metadata: stanza.logger.datatypes.SessionMetadata) -> None

Start of new session.

1write_measurement(data: stanza.logger.datatypes.MeasurementData) -> None

Write single measurement (not used for plotting).

1write_sweep(data: stanza.logger.datatypes.SweepData) -> None

Stream sweep data to plot.

1_create_1d_plot(data: stanza.logger.datatypes.SweepData) -> None

Create 1D line plot.

1_create_2d_plot(data: stanza.logger.datatypes.SweepData) -> None

Create 2D heatmap using rect glyph.

1_stream_1d(data: stanza.logger.datatypes.SweepData) -> None

Stream 1D data to line plot.

1_stream_2d(data: stanza.logger.datatypes.SweepData) -> None

Stream 2D data to heatmap.

1flush() -> None

Flush any pending updates.

1finalize_session(metadata: stanza.logger.datatypes.SessionMetadata | None = None) -> None

End of session.

1stanza.logger.writers.bokeh_writer.__all__

Value: ['BokehLiveWriter']