pyampp.gxbox.gxrefmap_view

Attributes

app

Classes

MapSpec

RefmapViewer

Functions

main(, h5, start, list_only)

Module Contents

pyampp.gxbox.gxrefmap_view.app[source]
class pyampp.gxbox.gxrefmap_view.MapSpec[source]
group: str[source]
name: str[source]
data_path: str[source]
wcs_path: str[source]
class pyampp.gxbox.gxrefmap_view.RefmapViewer(h5_path: pathlib.Path, start: str | None = None)[source]

Bases: PyQt5.QtWidgets.QMainWindow

h5_path[source]
selector[source]
vmin_label[source]
vmin_slider[source]
vmin_value[source]
vmax_label[source]
vmax_slider[source]
vmax_value[source]
log_checkbox[source]
figure[source]
canvas[source]
toolbar[source]
pyampp.gxbox.gxrefmap_view.main(ctx: typer.Context, h5_path: pathlib.Path | None = typer.Argument(None, exists=True, file_okay=True, dir_okay=False, readable=True), h5: pathlib.Path | None = typer.Option(None, '--h5', exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to the model HDF5 file.'), start: str | None = typer.Option(None, '--start', help='Initial map name to display.'), list_only: bool = typer.Option(False, '--list', help='List available maps and exit.')) None[source]