nitypes.waveform.typing

Type aliases and type variables for waveforms.

Attributes

ExtendedPropertyValue

Type alias for an ExtendedPropertyDictionary value.

AnyDigitalPort

Type alias for any digital port data type.

AnyDigitalState

Type alias for any digital state data type.

TDigitalState

Type variable with a bound of AnyDigitalState.

TOtherDigitalState

Another type variable with a bound of AnyDigitalState.

TTimestamp

Type variable for a timestamp.

TTimestamp_co

Covariant type variable for a timestamp.

TTimeOffset

Type variable for a time offset.

TTimeOffset_co

Covariant type variable for a time offset.

TSampleInterval

Type variable for a sample interval.

TSampleInterval_co

Covariant type variable for a sample interval.

TOtherTimestamp

Another type variable for a timestamp.

TOtherTimeOffset

Another type variable for a time offset.

TOtherSampleInterval

Another type variable for a sample interval.

Module Contents

nitypes.waveform.typing.ExtendedPropertyValue: typing_extensions.TypeAlias

Type alias for an ExtendedPropertyDictionary value.

This type alias is a union of the following types: * bool * float * int * str

nitypes.waveform.typing.AnyDigitalPort: typing_extensions.TypeAlias

Type alias for any digital port data type.

This type alias is a union of the following types:

  • numpy.uint8

  • numpy.uint16

  • numpy.uint32

nitypes.waveform.typing.AnyDigitalState: typing_extensions.TypeAlias

Type alias for any digital state data type.

This type alias is a union of the following types:

  • numpy.bool (NumPy 2.x) or numpy.bool_ (NumPy 1.x)

  • numpy.int8

  • numpy.uint8

nitypes.waveform.typing.TDigitalState

Type variable with a bound of AnyDigitalState.

nitypes.waveform.typing.TOtherDigitalState

Another type variable with a bound of AnyDigitalState.

nitypes.waveform.typing.TTimestamp

Type variable for a timestamp.

nitypes.waveform.typing.TTimestamp_co

Covariant type variable for a timestamp.

nitypes.waveform.typing.TTimeOffset

Type variable for a time offset.

nitypes.waveform.typing.TTimeOffset_co

Covariant type variable for a time offset.

nitypes.waveform.typing.TSampleInterval

Type variable for a sample interval.

nitypes.waveform.typing.TSampleInterval_co

Covariant type variable for a sample interval.

nitypes.waveform.typing.TOtherTimestamp

Another type variable for a timestamp.

nitypes.waveform.typing.TOtherTimeOffset

Another type variable for a time offset.

nitypes.waveform.typing.TOtherSampleInterval

Another type variable for a sample interval.