CalcE2¶
- class lsst.analysis.tools.actions.vector.CalcE2(*args, **kw)¶
Bases:
VectorAction
Calculate distortion-type
or shear-type .Attributes Summary
The column name to get the xx shape component from.
The column name to get the xy shape component from.
The column name to get the yy shape component from.
The type of ellipticity to calculate (
str
, default'distortion'
)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
- ellipticityType¶
The type of ellipticity to calculate (
str
, default'distortion'
)Allowed values:
'distortion'
Distortion, defined as 2*Ixy/(Ixx + Iyy)
'shear'
Shear, defined as 2*Ixy/(Ixx + Iyy + 2*sqrt(Ixx*Iyy - Ixy**2))
'None'
Field is optional
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