InstructionCompilationParameters

class caqtus.device.sequencer.compilation.InstructionCompilationParameters(
description,
output: ChannelOutput,
dtype: dtype,
units: BaseUnit,
)

Bases: object

Specify how to evaluate an instruction for a channel.

description

A human-readable description of the channel.

This is used to identify the channel in error messages.

Type:

str

output

The output of the channel.

Type:

caqtus.device.sequencer.channel_commands.channel_output.ChannelOutput

dtype

The dtype in which the instruction will be converted once the output has been evaluated.

Type:

numpy.dtype

units

The units in which the output of the channel is expressed.

The units must be expressed in the base units. If the values are dimensionless, the units must be None.

Type:

caqtus.types.units._units.BaseUnit