get_step_bounds
- caqtus.shot_compilation.timing.get_step_bounds(
- step_durations: Iterable[Time],
Returns the time at which each step starts from their durations.
For an iterable of step durations [d_0, d_1, …, d_n], the step starts are [0, d_0, d_0 + d_1, …, d_0 + … + d_n]. It has one more element than the iterable of step durations, with the last element being the total duration.