cross_bones.plotting¶
Some basic plotting procedures used throughout cross_bones
Functions¶
|
Plot the relative astrometry between two catalogues |
|
Plot the rough centre of the catalogues, and optionally present a pair of catalogues |
|
Plot the offset surface of a match |
|
Create a figure of each of the |
Module Contents¶
- cross_bones.plotting.plot_astrometric_offsets(catalogue_1: cross_bones.catalogue.Catalogue, catalogue_2: cross_bones.catalogue.Catalogue, ax: matplotlib.pyplot.axes | None = None) matplotlib.pyplot.axes¶
Plot the relative astrometry between two catalogues
- cross_bones.plotting.plot_beam_locations(catalogues: cross_bones.catalogue.Catalogues, catalogue_1: cross_bones.catalogue.Catalogue | None = None, catalogue_2: cross_bones.catalogue.Catalogue | None = None, ax: matplotlib.pyplot.axes | None = None) matplotlib.pyplot.axes¶
Plot the rough centre of the catalogues, and optionally present a pair of catalogues
- Parameters:
catalogues (Catalogues) – Collection of catalogues to plot
catalogue_1 (Catalogue | None, optional) – The first catalogue of a pair. Defaults to None.
catalogue_2 (Catalogue | None, optional) – The second catalogue of a pair. Defaults to None.
ax (plt.axes | None, optional) – An axes object to plot onto. If None, it will be created. Defaults to None.
- Returns:
The axes object that was plotted to
- Return type:
plt.axes
- cross_bones.plotting.plot_offset_grid_space(fname: str | pathlib.Path, offset_grid_space: cross_bones.matching.OffsetGridSpace, window: tuple[float, float, float, float, float]) None¶
Plot the offset surface of a match
- cross_bones.plotting.plot_offsets_in_field(offset_results: list[cross_bones.matching.OffsetGridSpace | None], windows: list[tuple[float, float, float, float, float]], fname: str | pathlib.Path) None¶
Create a figure of each of the
OffsetGridSpacewhere each surface is its own panel- Parameters:
offset_results (list[OffsetGridSpace]) – The characterised surfaces to plot
fname (str | Path) – The output file name