CentroidRandomWalk

class lsst.ts.wep.centroid.CentroidRandomWalk

Bases: CentroidDefault

CentroidDefault child class to get the centroid of donut by the random walk model.

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.

getImgBinary(imgDonut)

Get the binary image.

Parameters
imgDonutnumpy.ndarray

Donut image to do the analysis.

Returns
numpy.ndarray [int]

Binary image of donut.