erlab.interactive.imagetool.viewer_state¶
State and input parsing helpers for ImageTool viewer widgets.
Classes
A dictionary containing the colormap state of an |
|
A dictionary containing the state of rotation guidelines. |
|
A dictionary containing the state of an |
|
A dictionary containing the state of a |
- class erlab.interactive.imagetool.viewer_state.ColorMapState[source]¶
Bases:
TypedDictA dictionary containing the colormap state of an
ImageSlicerAreainstance.
- class erlab.interactive.imagetool.viewer_state.GuidelineState[source]¶
Bases:
TypedDictA dictionary containing the state of rotation guidelines.
- class erlab.interactive.imagetool.viewer_state.PlotItemState[source]¶
Bases:
TypedDictA dictionary containing the state of a
PlotIteminstance.-
guideline_state:
NotRequired[GuidelineState]¶
-
guideline_state:
- class erlab.interactive.imagetool.viewer_state.ImageSlicerState[source]¶
Bases:
TypedDictA dictionary containing the state of an
ImageSlicerAreainstance.- color: ColorMapState¶
- slice: ArraySlicerState¶
- current_cursor: int¶
- manual_limits: dict[str, list[float]]¶
- axis_inversions: typing.NotRequired[dict[str, bool]]¶
- filter_operation: typing.NotRequired[dict[str, typing.Any] | None]¶
- cursor_colors: list[str]¶
- controls_visible: typing.NotRequired[bool]¶
- file_path: typing.NotRequired[str | None]¶
- load_func: typing.NotRequired[tuple[str, dict[str, typing.Any], _FileSelection] | None]¶
- splitter_sizes: typing.NotRequired[list[list[int]]]¶
- plotitem_states: typing.NotRequired[list[PlotItemState]]¶