DeblendDefault#
- class lsst.ts.wep.deblend.DeblendDefault#
Bases:
objectDefault deblend class.
Methods Summary
deblendDonut(imgToDeblend, iniGuessXY, **kwargs)Deblend the donut image.
generateMultiDonut(template, spaceCoef, ...)Gemerate multiple donut images.
Methods Documentation
- deblendDonut(imgToDeblend, iniGuessXY, **kwargs)#
Deblend the donut image.
- Parameters:
- Return type:
- Returns:
numpy.ndarray – Deblended donut image.
float – Position x of donut in pixel.
float – Position y of donut in pixel.
- Raises:
NotImplementedError – Child class should implement this.
- generateMultiDonut(template, spaceCoef, magRatio, theta)#
Gemerate multiple donut images.
Only one neightboring star will be generated for test, which is the baseline of LSST.
- Parameters:
- Return type:
- Returns:
numpy.ndarray – Image of donuts.
numpy.ndarray – Image of bright star.
numpy.ndarray – Image of neighboring star.
float – Position x of neighboring star.
float – Position y of neighboring star.
- Raises:
ValueError – spaceCoef should be greater than zero.
ValueError – magRatio should be postive and less than 1.