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 WaveformGeneratorConfiguration(DeviceConfiguration): """ This class corresponds to the configuration of data which is just inherent to the WaveformGenerator connectivity and configuration, not the measurement setup connectivity. """ signal: SignalTimeSources = None """ Contains an instantiation of the signal configuration applied as a reference. """
[docs] class WaveformGenerator(Device): """ Represents a vector-network analyser. """ configuration: WaveformGeneratorConfiguration = None """ Just overwrites this section of the device definition. """
[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. """