|
lsst.ip.diffim g174f8ebed5+0e497d1560
|
Classes | |
| class | WarpedPsfTransformTooBigError |
| class | PsfComputeShapeError |
| class | ModelPsfMatchConfig |
| class | ModelPsfMatchTask |
Functions | |
| _safeEstimateRoughShape (psf, position, jitter=2.0, maxTries=5, log=None) | |
| nextOddInteger (x) | |
Variables | |
| int | sigma2fwhm = 2.*np.sqrt(2.*np.log(2.)) |
|
protected |
Try to compute the shape of `psf` at `position`.
If it fails, perturb the position until success or maxTries.
Parameters
----------
psf : `lsst.afw.detection.Psf`
The PSF object.
position : `lsst.geom.Point2D`
The nominal position at which to evaluate the PSF shape.
jitter : `float`
Size of random offset in pixels to try when retrying.
maxTries : `int`
Maximum number of attempts (including the original).
log : `lsst.utils.logging.LsstLogAdapter` optional
logger to use for logging retries.
Returns
-------
shape : lsst.afw.geom.ellipses.Quadrupole
The shape of the PSF at the (possibly perturbed) position.
Definition at line 48 of file modelPsfMatch.py.
| nextOddInteger | ( | x | ) |
Definition at line 97 of file modelPsfMatch.py.
| int lsst.ip.diffim.modelPsfMatch.sigma2fwhm = 2.*np.sqrt(2.*np.log(2.)) |
Definition at line 45 of file modelPsfMatch.py.