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.