PYME.Acquire.actions module¶
- class PYME.Acquire.actions.Action(**kwargs)¶
Bases:
objectBase Action method - over-ride the __call__ function in derived classes
- estimated_duration(scope)¶
- finalise(scope)¶
Called after the action has executed
- serialise()¶
Convert to a .json serializable dictionary
- class PYME.Acquire.actions.CentreROIOn(x, y)¶
Bases:
StateActionCentre the ROI on a specific position in absolute stage coordinates.
Most useful when queueing actions where target have been automatically identified.
- class PYME.Acquire.actions.FunctionAction(functionName, args=None)¶
Bases:
ActionLegacy action which evals a string.
Used for handling old -style actions
- class PYME.Acquire.actions.MoveTo(x, y)¶
Bases:
StateActionMove to a specific position in absolute stage coordinates.
Most useful when queueing actions to return to a specific already identified position.
- class PYME.Acquire.actions.RemoteSpoolSeries(remote_instance='remote_acquire_instance', **kwargs)¶
Bases:
Action- finalise(scope)¶
Called after the action has executed
- class PYME.Acquire.actions.SimultaeneousSpoolSeries(remote_instance='remote_acquire_instance', local_settings={}, remote_settings={}, **kwargs)¶
Bases:
ActionSpool local and remote series simultaneously
- class PYME.Acquire.actions.StateAction(**kwargs)¶
Bases:
ActionBase class for actions which modify scope state, with chaining support
NOTE: we currently do not support chaining off the end of actions (e.g. spooling) which are likely to take some time. This is because functions such as start_spooling are non-blocking - they return a callback instead.
- then(task)¶
- class PYME.Acquire.actions.UpdateState(state)¶
Bases:
StateAction
- PYME.Acquire.actions.action_from_dict(serialised)¶