getRefFluxField¶
- lsst.meas.algorithms.getRefFluxField(schema, filterName)¶
Get the name of a flux field from a schema.
return the alias of “anyFilterMapsToThis”, if present else:
- Parameters:
- schema
lsst.afw.table.Schema
Reference catalog schema.
- filterName
str
Name of camera filter.
- schema
- Returns:
- fluxFieldName
str
Name of flux field.
- fluxFieldName
- Raises:
- RuntimeError
If an appropriate field is not found.