CentroidDefault¶
- class lsst.ts.wep.centroid.CentroidDefault¶
Bases:
object
Default Centroid class.
Methods Summary
getCenterAndR
(imgDonut, **kwargs)Get the centroid data and effective weighting radius.
getCenterAndRfromImgBinary
(imgBinary, **kwargs)Get the centroid data and effective weighting radius from the binary image.
getImgBinary
(imgDonut)Get the binary image.
Methods Documentation
- getCenterAndR(imgDonut, **kwargs)¶
Get the centroid data and effective weighting radius.
Parameters¶
- imgDonutnumpy.ndarray
Donut image.
- **kwargsdict[str, any]
Dictionary of input argument: new value for that input argument.
Returns¶
- float
Centroid x.
- float
Centroid y.
- float
Effective weighting radius.
- getCenterAndRfromImgBinary(imgBinary, **kwargs)¶
Get the centroid data and effective weighting radius from the binary image.
Parameters¶
- imgBinarynumpy.ndarray [int]
Binary image of donut.
- **kwargsdict[str, any]
Dictionary of input argument: new value for that input argument.
Returns¶
- float
Centroid x.
- float
Centroid y.
- float
Effective weighting radius.