ExtinctionCorrectedMagDiff¶
- class lsst.analysis.tools.actions.vector.ExtinctionCorrectedMagDiff(*args, **kw)¶
Bases:
VectorAction
Compute the difference between two magnitudes and correct for extinction By default bands are derived from the <band>_ prefix on flux columns, per the naming convention in the Object Table: e.g. the band of ‘g_psfFlux’ is ‘g’. If column names follow another convention, bands can alternatively be supplied via the band1 or band2 config parameters. If band1 and band2 are supplied, the flux column names are ignored.
Attributes Summary
Optional band for magDiff.col1.
Optional band for magDiff.col2.
Dictionary of extinction coefficients for conversion from E(B-V) to extinction, A_band.Key must be the band (
Dict
, defaultNone
)Action that returns a difference in magnitudes (
VectorAction
, default<class 'lsst.analysis.tools.actions.vector.vectorActions.MagDiff'>
)Methods Summary
__call__
(data, **kwargs)Call self as a function.
Return the schema an
AnalysisAction
expects to be present in the arguments supplied to the __call__ method.Attributes Documentation
- ebvCol¶
- extinctionCoeffs¶
Dictionary of extinction coefficients for conversion from E(B-V) to extinction, A_band.Key must be the band (
Dict
, defaultNone
)
- magDiff¶
Action that returns a difference in magnitudes (
VectorAction
, default<class 'lsst.analysis.tools.actions.vector.vectorActions.MagDiff'>
)
Methods Documentation
- __call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap], **kwargs) ndarray[Any, dtype[ScalarType]] ¶
Call self as a function.
- getInputSchema() HealSparseMap]]] ¶
Return the schema an
AnalysisAction
expects to be present in the arguments supplied to the __call__ method.- Returns:
- result
KeyedDataSchema
The schema this action requires to be present when calling this action, keys are unformatted.
- result