DigitalData

Bases: BaseDigitalData

Attributes

NameTypeDescription
initial_statebool
transition_timesNDArray[np.float64]

Methods

__init__(port: int, channel: int, name: str, begin_time: float, end_time: float, initial_state: bool, transition_times: NDArray[np.float64]) -> None
state_at_idx(idx: int) -> bool

Returns the state of the digital channel just before the given transition_time index

state_at_time(time: float) -> bool

Returns the state of the digital channel at the given time

AI/LLM users: see llms-mso-api.txt for machine-readable documentation.