Catalogues

The catalogue protocol

class heracles.Catalog(*args, **kwargs)

protocol for catalogues

class heracles.CatalogBase

abstract base class for base catalogues (not views)

class heracles.CatalogPage(data)

One batch of rows from a catalogue.

Internally holds all column data as a numpy array.

Parameters:

data (Mapping)

Catalogue implementations

class heracles.FitsCatalog(path, *, columns=None, ext=None)

flexible reader for catalogues from FITS files

class heracles.ArrayCatalog(arr)

catalogue reader for arrays

Catalogue filters

class heracles.FootprintFilter(footprint, lon, lat)

Filter a catalogue using a footprint map.

class heracles.InvalidValueFilter(*columns, weight=None, warn=True)

Filter invalid values from a catalogue.