DivideScalar¶
- class lsst.analysis.tools.actions.scalar.DivideScalar(*args, **kw)¶
- Bases: - ScalarAction- Calculate (A/B) for scalars. - Attributes Summary - Action which supplies scalar A ( - ScalarAction, default- <class 'lsst.analysis.tools.interfaces._actions.ScalarAction'>)- Action which supplies scalar B ( - ScalarAction, default- <class 'lsst.analysis.tools.interfaces._actions.ScalarAction'>)- Methods Summary - __call__(data, **kwargs)- Return the result of A/B. - Return the schema an - AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Attributes Documentation - actionA¶
- Action which supplies scalar A ( - ScalarAction, default- <class 'lsst.analysis.tools.interfaces._actions.ScalarAction'>)
 - actionB¶
- Action which supplies scalar B ( - ScalarAction, default- <class 'lsst.analysis.tools.interfaces._actions.ScalarAction'>)
 - Methods Documentation - __call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap | Tensor], **kwargs) Scalar¶
- Return the result of A/B. - Parameters:
- dataKeyedData
 
- data
- Returns:
- resultScalar
- The result of dividing A by B. 
 
- result
 
 - getInputSchema() Tensor]]]¶
- Return the schema an - AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Returns:
- resultKeyedDataSchema
- The schema this action requires to be present when calling this action, keys are unformatted. 
 
- result