getRefFluxKeys

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

Return keys for flux and flux error.

Parameters:
schema : lsst.afw.table.Schema

Reference catalog schema.

filterName : str

Name of camera filter.

Returns:
keys : tuple 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.