StackBrightStarsTask#

class lsst.pipe.tasks.extended_psf.StackBrightStarsTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#

Bases: Task

Stack bright stars together to build an extended PSF model.

Methods Summary

removeInvalidStamps(read_stars)

Remove stamps that do not have enough valid pixels in the annulus.

run(bss_ref_list, stars_dict[, region_name])

Read input bright star stamps and stack them together.

Methods Documentation

removeInvalidStamps(read_stars)#

Remove stamps that do not have enough valid pixels in the annulus.

Parameters#

read_starslist of lsst.pipe.tasks.processBrightStars.BrightStarStamp

List of bright star stamps to be stacked.

run(bss_ref_list, stars_dict, region_name=None)#

Read input bright star stamps and stack them together.

The stacking is done iteratively over smaller areas of the final model image to allow for a great number of bright star stamps to be used.

Parameters#

bss_ref_listlist of

List of available bright star stamps data references.

stars_dict: dict

Dictionary to store the number of stars used to generate the PSF.

region_namestr, optional

Name of the focal plane region, if applicable. Only used for logging purposes, when running over multiple such regions (typically from MeasureExtendedPsfTask)