FgcmLoadReferenceCatalogTask#

class lsst.fgcmcal.FgcmLoadReferenceCatalogTask(refObjLoader=None, refCatName=None, **kwargs)#

Bases: Task

Load multi-band reference objects from a reference catalog.

Parameters#

refObjLoaderlsst.meas.algorithms.ReferenceObjectLoader

Reference object loader.

refCatNamestr

Name of reference catalog (for color term lookups).

Methods Summary

getFgcmReferenceStarsHealpix(nside, pixel, ...)

Get a reference catalog that overlaps a healpix pixel, using multiple filters.

getFgcmReferenceStarsSkyCircle(ra, dec, ...)

Get a reference catalog that overlaps a circular sky region, using multiple filters.

Methods Documentation

getFgcmReferenceStarsHealpix(nside, pixel, filterList, nest=False)#

Get a reference catalog that overlaps a healpix pixel, using multiple filters. In addition, apply colorterms if available.

Return format is a numpy recarray for use with fgcm, with the format:

dtype = ([(‘ra’, np.float64),

(‘dec’, np.float64), (‘refMag’, np.float32, len(filterList)), (‘refMagErr’, np.float32, len(filterList)])

Reference magnitudes (AB) will be 99 for non-detections.

Parameters#

nside: int

Healpix nside of pixel to load

pixel: int

Healpix pixel of pixel to load

filterList: list

list of str of camera filter names.

nest: bool, optional

Is the pixel in nest format? Default is False.

Returns#

fgcmRefCat: np.recarray

getFgcmReferenceStarsSkyCircle(ra, dec, radius, filterList)#

Get a reference catalog that overlaps a circular sky region, using multiple filters. In addition, apply colorterms if available.

Return format is a numpy recarray for use with fgcm.

dtype = ([(‘ra’, np.float64),

(‘dec’, np.float64), (‘refMag’, np.float32, len(filterList)), (‘refMagErr’, np.float32, len(filterList)])

Reference magnitudes (AB) will be 99 for non-detections.

Parameters#

ra: float

ICRS right ascension, degrees.

dec: float

ICRS declination, degrees.

radius: float

Radius to search, degrees.

filterList: list

list of str of camera filter names.

Returns#

fgcmRefCat: np.recarray