compile_digital_lane

caqtus.shot_compilation.lane_compilation.compile_digital_lane(
lane: DigitalTimeLane,
step_start_times: Sequence[Time],
time_step: Time,
parameters: Parameters,
) TimedInstruction[bool]

Compile a digital lane into a sequence of instructions.

Parameters:
  • lane – The digital lane to compile.

  • step_start_times – The start times of each step. The length of this sequence must be equal to the number of steps in the lane plus one, with the last element being the total duration.

  • time_step – The time step for discretizing the time, in seconds.

  • parameters – The parameters to use when evaluating expressions in the lane.