useq.pycromanager
¶
Convert useq objects to the event dicts used by Pycro-Manager.
Classes
| Name | Description |
|---|---|
PycroManagerAxes |
Axes dict used by pycro-manager. |
PycroManagerEvent |
Dict in the format expected by pycro-manager. |
Functions
| Name | Description |
|---|---|
to_pycromanager |
Convert a useq.MDAEvent or useq.MDASequence to pycro-manager form. |
Attributes
| Name | Description |
|---|---|
PycroAxis |
|
PycroKey |
Classes¶
PycroManagerAxes
¶
PycroManagerEvent
¶
Bases: TypedDict
Dict in the format expected by pycro-manager.
Returned by:
-
API Reference
useq-schema
useqpycromanager Functionsto_pycromanager
Functions¶
to_pycromanager
¶
to_pycromanager(obj: MDAEvent) -> PycroManagerEvent
to_pycromanager(obj: MDASequence) -> list[PycroManagerEvent]
to_pycromanager(
obj: MDAEvent | MDASequence,
) -> PycroManagerEvent | list[PycroManagerEvent]
Convert a useq.MDAEvent or useq.MDASequence to pycro-manager form.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
obj
|
MDAEvent | MDASequence
|
The event or sequence to convert. |
required |
Returns:
| Type | Description |
|---|---|
PycroManagerEvent | list[PycroManagerEvent]
|
If |