ReadFitsCatalogTask#

class lsst.meas.algorithms.ReadFitsCatalogTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#

Bases: Task

Read an object catalog from a FITS table

The resulting catalogArray is a numpy structured array containing fields such as “name”, “ra” and “dec” and a few rows of data. For more complicated cases config parameters allow you to rename columns and choose which HDU to read.

Methods Summary

run(filename)

Read an object catalog from the specified FITS file

Methods Documentation

run(filename)#

Read an object catalog from the specified FITS file

Parameters#

filenamestr

Path to specified FITS file

Returns#

tablenp.array

a numpy structured array containing the specified columns