pwspy.utility.acquisition.SequencerCoordinateRange

class pwspy.utility.acquisition.SequencerCoordinateRange(coordSteps)[source]

Bases: object

A coordinate that can have multiple iterations selected at once.

Parameters

coordSteps (Sequence[Tuple[int, Optional[Sequence[int]]]]) – A sequence of tuples where each tuple represents an acceptable coordinate range for each step in the tree path. Tuple is of the form (ID, iterations) where ID is an integer referring to the id number of the step and iterations indicates the iterations of that step that are considered in range. iterations can be None or a sequence of ints that are considered in range. If iterations is `None then all iterations are considered in range. None is also the only acceptable value for steps which do not iterate.

setAcceptedIterations(stepId, iterations)[source]

Sets the acceptable iterations for the step associated with stepId

Parameters
  • stepId (int) – The id of the step you want to adjust the iteration range for

  • iterations (Optional[Sequence[int]]) – A sequence if iteration numbers to include. If None then all iterations are accepted.