getRefFluxKeys

lsst.meas.algorithms.getRefFluxKeys(schema, filterName)

Return keys for flux and flux error.

Parameters:
schemalsst.afw.table.Schema

Reference catalog schema.

filterNamestr

Name of camera filter.

Returns:
keystuple of (lsst.afw.table.Key, lsst.afw.table.Key)

Two keys:

  • flux key

  • flux error key, if present, else None

Raises:
RuntimeError

If flux field not found.