Source code for piel.types.experimental.time
from typing import Optional
from piel.types.signal.time_sources import SignalTimeSources
from piel.types.metrics import ScalarMetric
from .device import DeviceConfiguration, Device, MeasurementDevice
[docs]
class OscilloscopeConfiguration(DeviceConfiguration):
"""
This class corresponds to the configuration of data which is just inherent to the Oscilloscope connectivity and configuration,
not the measurement setup connectivity.
"""
bandwidth_Hz: ScalarMetric = None
[docs]
class Oscilloscope(MeasurementDevice):
"""
Represents an oscilloscope
"""
configuration: Optional[OscilloscopeConfiguration] = None
"""
Just overwrites this section of the device definition.
"""