pwspy.utility.acquisition.SequencerCoordinate

class pwspy.utility.acquisition.SequencerCoordinate(coordSteps, uuid)[source]

Bases: object

A coordinate that fully defines a position within a tree of steps.

Parameters
  • coordSteps (Sequence[Tuple[int, int]]) – A sequence of tuples of the form (stepId, stepIteration) where stepId is the id number of the step being referred to. If the step is an iterable step (multiple position, timeseries, etc.) then stepIteration should indicate the iteration number, otherwise it should be None.

  • uuid (str) – A universally unique ID string associated with the run of the sequencer that this coordinate is associated with.

getStepIteration(step)[source]
Parameters

step (Union[int, SequencerStep]) – May be the ID number of the step or a reference to the actual step.

Return type

Optional[int]

Returns

The iteration of Step that this coordinate corresponds to. If the step is not an iterable step then None will be returned.

isSubPathOf(other)[source]

Check if self is a parent path of the item coordinate