PcaPsfDeterminerTask

PcaPsfDeterminerTask estimates PSFs of pre-selected likely stars using a PCA decomposition approach.

Python API summary

from lsst.meas.algorithms.pcaPsfDeterminer import PcaPsfDeterminerTask
classPcaPsfDeterminerTask(config, schema=None, **kwds)

A measurePsfTask psf estimator...

attributeconfig

Access configuration fields and retargetable subtasks.

See also

See the PcaPsfDeterminerTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

borderWidth

Default
0
Field type

int Field

Number of pixels to ignore around the edge of PSF candidate postage stamps

constantWeight

Default
True
Field type

bool Field

Should each PSF candidate be given the same weight, independent of magnitude?

doMaskBlends

Default
True
Field type

bool Field

Mask blends in image?

doRejectBlends

Default
False
Field type

bool Field

Reject candidates that are blended?

kernelSize

Default
None
Field type

int Field (optional)

Size of the kernel to create. If less than 15, then the median of the square root of the stellar quadrupole moments is multiplied by kernelSize and used as the kernel size. Deprecated: This field is deprecated and will be removed after v25. Use stampSize instead.

kernelSizeMax

Default
45
Field type

int Field

Maximum radius of the kernel. Relevant only if kernelSize < 15. Deprecated: This field is deprecated and will be removed after v25.

kernelSizeMin

Default
25
Field type

int Field

Minimum radius of the kernel. Relevant only if kernelSize < 15. Deprecated: This field is deprecated and will be removed after v25.

lam

Default
0.05
Field type

float Field

floor for variance is lam*data

nEigenComponents

Default
4
Field type

int Field

number of eigen components for PSF kernel creation

nIterForPsf

Default
3
Field type

int Field

number of iterations of PSF candidate star list

nStarPerCell

Default
3
Field type

int Field

number of stars per psf cell for PSF kernel creation

nStarPerCellSpatialFit

Default
5
Field type

int Field

number of stars per psf Cell for spatial fitting

nonLinearSpatialFit

Default
False
Field type

bool Field

Use non-linear fitter for spatial variation of Kernel

pixelThreshold

Default
0.0
Field type

float Field

Threshold (stdev) for rejecting extraneous pixels around candidate; applied if positive

reducedChi2ForPsfCandidates

Default
2.0
Field type

float Field

for psf candidate evaluation

sizeCellX

Default
256
Field type

int Field

size of cell used to determine PSF (pixels, column direction)

sizeCellY

Default
256
Field type

int Field

size of cell used to determine PSF (pixels, row direction)

spatialOrder

Default
2
Field type

int Field

specify spatial order for PSF kernel creation

spatialReject

Default
3.0
Field type

float Field

Rejection threshold (stdev) for candidates based on spatial fit

stampSize

Default
None
Field type

int Field (optional)

Size of the postage stamp (in native pixels) to render the PSF model. Should be odd.

tolerance

Default
0.01
Field type

float Field

tolerance of spatial fitting