mahos_dq.msgs.confocal_msgs.Trace#

class mahos_dq.msgs.confocal_msgs.Trace(size: int = 0, channels: int = 2, _complex: bool = False)#

Multi-channel confocal trace buffer with timestamped samples.

Variables:
  • _complex – True when trace storage uses complex dtype.

  • traces – Per-channel trace arrays.

  • stamps – Per-channel datetime64[ns] timestamp arrays.

  • ylabel – Y-axis label used by viewers.

  • yunit – Y-axis unit used by viewers.

__init__(size: int = 0, channels: int = 2, _complex: bool = False)#

Methods

__init__([size, channels, _complex])

as_dataframe([ch])

as_dataframes()

channels()

clear()

dtype()

get_trace([ch, complex_conv])

is_complex()

size()

valid_trace([ch, complex_conv])