|
lsst.meas.algorithms g33a09d4741+106f42d13d
|
Public Member Functions | |
| computeSizeAndSigma (self, fwhm=None) | |
| validate (self) | |
| apply (self, fwhm=None) | |
| makeField (cls, doc) | |
Static Public Attributes | |
| size | |
| sizeFactor | |
| minSize | |
| maxSize | |
| defaultFwhm | |
| addWing | |
| wingFwhmFactor | |
| wingAmplitude | |
Factory for simple Gaussian PSF models Provides a high-level interface to DoubleGaussianPsf and SingleGaussianPsf by specifying Gaussian PSF model width in FWHM instead of sigma, and supporting computing kernel size as a multiple of PSF width. This makes it suitable for tasks where PSF width is not known in advance.
Definition at line 38 of file gaussianPsfFactory.py.
| lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory.apply | ( | self, | |
fwhm = None |
|||
| ) |
Construct a GaussianPsf
Parameters
----------
fwhm : `float`
FWHM of core of star (pixels); if None then self.defaultFwhm is used
Returns
-------
DoubleGaussianPsf : ``lsst.meas.algorithms.DoubleGaussianPsf``
Returns if self.addWing is True
SingleGaussianPsf : ``lsst.meas.algorithms.SingleGaussianPsf``
Returns if self.addWing is False
Definition at line 140 of file gaussianPsfFactory.py.
| lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory.computeSizeAndSigma | ( | self, | |
fwhm = None |
|||
| ) |
Compute kernel size and star width as sigma. The kernel size will be
odd unless minSize or maxSize is used and that value is even. Assumes
a valid config.
Parameters
----------
fwhm : `float`
FWHM of core star (pixels); if None then defaultFwhm is used
Returns
-------
size : `int`
Kernel size (width == height) in pixels
sigma : `float`
Sigma equivalent to supplied FWHM, assuming a Gaussian (pixels)
Definition at line 102 of file gaussianPsfFactory.py.
| lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory.makeField | ( | cls, | |
| doc | |||
| ) |
Make an lsst.pex.config.ConfigurableField
Definition at line 163 of file gaussianPsfFactory.py.
| lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory.validate | ( | self | ) |
Definition at line 135 of file gaussianPsfFactory.py.
|
static |
Definition at line 81 of file gaussianPsfFactory.py.
|
static |
Definition at line 75 of file gaussianPsfFactory.py.
|
static |
Definition at line 68 of file gaussianPsfFactory.py.
|
static |
Definition at line 61 of file gaussianPsfFactory.py.
|
static |
Definition at line 46 of file gaussianPsfFactory.py.
|
static |
Definition at line 53 of file gaussianPsfFactory.py.
|
static |
Definition at line 94 of file gaussianPsfFactory.py.
|
static |
Definition at line 87 of file gaussianPsfFactory.py.