Class FluxSlotDefinition

Inheritance Relationships

Base Type

Class Documentation

class FluxSlotDefinition : public lsst::afw::table::SlotDefinition

SlotDefinition specialization for fluxes.

Public Types

typedef double MeasValue

Type returned by accessing the slot measurement.

typedef double ErrValue

Type returned by accessing the slot uncertainty.

typedef Key<double> MeasKey

Key type used to access the slot measurement.

typedef Key<double> ErrKey

Key type used to access the slot uncertainty.

Public Functions

FluxSlotDefinition(std::string const &name)

Construct a SlotDefinition from the name of the slot (e.g. “PsfFlux”)

bool isValid() const

Return true if the key associated with the measurement is valid.

MeasKey getMeasKey() const

Return the cached Key used to access the slot measurement.

ErrKey getErrKey() const

Return the cached Key used to access the slot uncertainty.

Key<Flag> getFlagKey() const

Return the cached Key used to access the slot failure flag.

void setKeys(std::string const &alias, Schema const &schema)

Update the cached Keys following an change of aliases in the given Schema

This method is intended for internal use by SourceTable only.

Parameters
  • [in] alias: If non-empty, abort early if this string does not start with getAlias() (used to see if an alias change might have affected this slot, and avoid unnecessary work if not).

  • [in] schema: Schema to search for Keys.

FluxSlotDefinition(FluxSlotDefinition const&)
FluxSlotDefinition(FluxSlotDefinition&&)
FluxSlotDefinition &operator=(FluxSlotDefinition const&)
FluxSlotDefinition &operator=(FluxSlotDefinition&&)
~FluxSlotDefinition()