magscope.utils#
Classes#
Enum for the different acquisition modes |
|
Enum where members are also (and must be) ints |
|
Functions#
|
|
|
|
|
|
|
Decorator marking a method as callable from a MagScope script. |
|
Return |
Module Contents#
- class magscope.utils.AcquisitionMode[source]#
Bases:
enum.StrEnumEnum for the different acquisition modes
- class magscope.utils.PoolVideoFlag[source]#
Bases:
enum.IntEnumEnum where members are also (and must be) ints
- magscope.utils.register_script_command(command_type: type[magscope.ipc_commands.Command])[source]#
Decorator marking a method as callable from a MagScope script.
Each script command must be paired with the IPC
Commandthat will be dispatched when the script executes that step. The decorator mirrorsmagscope.ipc_commands.command_handler()by attaching metadata to the wrapped function without constraining how it is collected.