pymmcore_plus.mda package#
Subpackages#
Module contents#
- class MDAEngine(mmc: CMMCorePlus = None)[source]#
Bases:
pymmcore_plus.mda._engine.PMDAEngine
- cancel()[source]#
Cancel the currently running acquisition.
This is a no-op if no acquisition is currently running. If an acquisition is running then this will cancel the acquistion and a sequenceCanceled signal, followed by a sequenceFinished signal will be emitted.
- property events: pymmcore_plus.mda.events._protocol.PMDASignaler#
Return the MDA events object.
- is_paused() bool [source]#
Return whether the acquistion is currently paused.
Use
toggle_pause
to change the paused state.- Returns
bool – Whether the current acquistion is paused.
- is_running() bool [source]#
Return whether an acquistion is currently underway.
This will return True at any point between the emission of the
sequenceStarted
andsequenceFinished
signals, including when the acquisition is currently paused.- Returns
bool – Whether an acquistion is underway.
- run(sequence: useq._mda_sequence.MDASequence) None [source]#
Run the multi-dimensional acquistion defined by
sequence
.Most users should not use this directly as it will block further execution. Instead use
run_mda
on CMMCorePlus which will run on a thread.- Parameters
sequence (MDASequence) – The sequence of events to run.