getRefFluxField#

lsst.meas.algorithms.getRefFluxField(schema, filterName)#

Get the name of a flux field from a schema.

Parameters#

schemalsst.afw.table.Schema

Reference catalog schema.

filterNamestr

Name of camera filter.

Returns#

fluxFieldNamestr

Name of flux field.

Notes#

Return the alias of anyFilterMapsToThis, if present else, return *filterName*_camFlux if present, else, return *filterName*_flux if present (camera filter name matches reference filter name), else raise an exception.

Raises#

RuntimeError

Raised if an appropriate field is not found.