|
lsst.meas.algorithms g511c235543+401ba1f5a0
|
Public Member Functions | |
| def | computeSizeAndSigma (self, fwhm=None) |
| def | validate (self) |
| def | apply (self, fwhm=None) |
| def | 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 39 of file gaussianPsfFactory.py.
| def 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 141 of file gaussianPsfFactory.py.
| def 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 103 of file gaussianPsfFactory.py.
| def lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory.makeField | ( | cls, | |
| doc | |||
| ) |
Make an lsst.pex.config.ConfigurableField
Definition at line 164 of file gaussianPsfFactory.py.
| def lsst.meas.algorithms.gaussianPsfFactory.GaussianPsfFactory.validate | ( | self | ) |
Definition at line 136 of file gaussianPsfFactory.py.
|
static |
Definition at line 82 of file gaussianPsfFactory.py.
|
static |
Definition at line 76 of file gaussianPsfFactory.py.
|
static |
Definition at line 69 of file gaussianPsfFactory.py.
|
static |
Definition at line 62 of file gaussianPsfFactory.py.
|
static |
Definition at line 47 of file gaussianPsfFactory.py.
|
static |
Definition at line 54 of file gaussianPsfFactory.py.
|
static |
Definition at line 95 of file gaussianPsfFactory.py.
|
static |
Definition at line 88 of file gaussianPsfFactory.py.