pyampp.gxbox.box_view2d
Classes
Reusable state container for focused map+box visualization tools. |
|
Reusable widget shell for map display + interactive box overlays. |
Module Contents
- class pyampp.gxbox.box_view2d.MapBoxViewState[source]
Reusable state container for focused map+box visualization tools.
This is intentionally lightweight and plotting-backend agnostic so it can be reused by multiple future GUIs (FOV selector, box inspector, model preview, …).
- session_input: pyampp.gxbox.selector_api.SelectorSessionInput[source]
- geometry: pyampp.gxbox.selector_api.BoxGeometrySelection | None = None[source]
- fov: pyampp.gxbox.selector_api.DisplayFovSelection | None = None[source]
- fov_box: pyampp.gxbox.selector_api.DisplayFovBoxSelection | None = None[source]
- base_geometry: pyampp.gxbox.selector_api.BoxGeometrySelection | None = None[source]
- class pyampp.gxbox.box_view2d.MapBoxDisplayWidget(parent: PyQt5.QtWidgets.QWidget | None = None)[source]
Bases:
PyQt5.QtWidgets.QWidgetReusable widget shell for map display + interactive box overlays.
Current implementation provides: - SunPy map plotting using the map’s native WCS projection - a static box-outline overlay derived from the current geometry state - a stable API for future drag/resize interaction layers
- set_custom_display_observer_pb0r(*, b0_deg, l0_deg, rsun_arcsec, obs_date=None, rsun_cm=None, label: str | None = None, source: str | None = None) bool[source]
- initialize(session_input: pyampp.gxbox.selector_api.SelectorSessionInput) None[source]
- set_entry_box_path(entry_box_path: str | pathlib.Path | None, *, load_session_model: bool = True) None[source]
- set_geometry_selection(selection: pyampp.gxbox.selector_api.BoxGeometrySelection) None[source]
- set_fov_selection(selection: pyampp.gxbox.selector_api.DisplayFovSelection) None[source]
- current_geometry_selection() pyampp.gxbox.selector_api.BoxGeometrySelection | None[source]
- current_fov_selection() pyampp.gxbox.selector_api.DisplayFovSelection | None[source]
- current_fov_box_selection() pyampp.gxbox.selector_api.DisplayFovBoxSelection | None[source]
- projected_box_fov() pyampp.gxbox.selector_api.DisplayFovSelection | None[source]
- state() MapBoxViewState | None[source]