StellarLocusFitAction¶
- class lsst.analysis.tools.actions.keyedData.StellarLocusFitAction(*args, **kw)¶
Bases:
KeyedDataActionDetermine Stellar Locus fit parameters from given input
Vectors.Attributes Summary
The parameters to use for the stellar locus fit.
Methods Summary
__call__(data, **kwargs)Call self as a function.
Return the schema an
AnalysisActionexpects to be present in the arguments supplied to the __call__ method.Return the schema an
AnalysisActionwill produce, if the__call__method returnsKeyedData, otherwise this may return None.Attributes Documentation
- stellarLocusFitDict¶
The parameters to use for the stellar locus fit. The default parameters are examples and are not useful for any of the fits. The dict needs to contain xMin/xMax/yMin/yMax which are the limits of the initial box for fitting the stellar locus, mHW and bHW are the initial intercept and gradient for the fitting. (
Dict, default{'xMin': 0.1, 'xMax': 0.2, 'yMin': 0.1, 'yMax': 0.2, 'mHW': 0.5, 'bHW': 0.0})
Methods Documentation
- __call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap], **kwargs) MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap]¶
Call self as a function.
- getInputSchema() HealSparseMap]]]¶
Return the schema an
AnalysisActionexpects 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
- getOutputSchema() HealSparseMap]]]¶
Return the schema an
AnalysisActionwill produce, if the__call__method returnsKeyedData, otherwise this may return None.- Returns:
- result
KeyedDataSchemaor None The schema this action will produce when returning from call. This will be unformatted if any templates are present. Should return None if action does not return
KeyedData.
- result