arrakis.validate

Make validation plots from a catalogue

Classes

BinnedMap

Binned catalogue data

GriddedMap

Gridded catalogue data

Functions

cli()

cross_match(→ astropy.table.Table)

filter_then_median(→ arrakis.utils.typing.T)

main(catalogue_path[, npix, map_size, snr_cut, bins])

make_binned_map(→ BinnedMap)

make_gridded_map(→ GriddedMap)

plot_leakage(→ matplotlib.figure.Figure)

plot_rm(→ matplotlib.figure.Figure)

plot_rms_bkg(→ matplotlib.figure.Figure)

validation_parser(→ argparse.ArgumentParser)

Module Contents

class arrakis.validate.BinnedMap[source]

Bases: NamedTuple

Binned catalogue data

data: numpy.ndarray[source]

Binned data

wcs: astropy.wcs.WCS[source]

WCS of the binned data

xc: numpy.ndarray[source]

X bin centres

yc: numpy.ndarray[source]

Y bin centres

class arrakis.validate.GriddedMap[source]

Bases: NamedTuple

Gridded catalogue data

data: numpy.ndarray[source]

Gridded data

wcs: astropy.wcs.WCS[source]

WCS of the gridded data

arrakis.validate.cli()[source]
arrakis.validate.cross_match(my_tab: astropy.table.Table, other_tab: astropy.table.Table, radius: astropy.units.Quantity = 1 * u.arcsec) astropy.table.Table[source]
arrakis.validate.filter_then_median(arr: arrakis.utils.typing.T) arrakis.utils.typing.T[source]
arrakis.validate.main(catalogue_path: pathlib.Path, npix: int = 512, map_size: float = 8, snr_cut: float = 50, bins: int = 11)[source]
arrakis.validate.make_binned_map(tab: astropy.table.Table, column: str, bins: int = 15, npix: int = 512, map_size: astropy.units.Quantity = 8 * u.deg) BinnedMap[source]
arrakis.validate.make_gridded_map(tab: astropy.table.Table, column: str, npix: int = 512, map_size: astropy.units.Quantity = 8 * u.deg) GriddedMap[source]
arrakis.validate.plot_leakage(tab: astropy.table.Table, snr_cut: float = 50, bins: int = 11, npix: int = 512, map_size: astropy.units.Quantity = 8 * u.deg) matplotlib.figure.Figure[source]
arrakis.validate.plot_rm(tab: astropy.table.Table, npix: int = 512, map_size: astropy.units.Quantity = 8 * u.deg) matplotlib.figure.Figure[source]
arrakis.validate.plot_rms_bkg(tab: astropy.table.Table, npix: int = 512, map_size: astropy.units.Quantity = 8 * u.deg) matplotlib.figure.Figure[source]
arrakis.validate.validation_parser(parent_parser: bool = False) argparse.ArgumentParser[source]