generateSkyObjects¶
-
lsst.meas.algorithms.
generateSkyObjects
(mask, seed, config)¶ Generate a list of Footprints of sky objects
Sky objects don’t overlap with other objects. This is determined through the provided
mask
(in which objects are typically flagged asDETECTED
).The algorithm for determining sky objects is random trial and error: we try up to
nTrialSkySources
random positions to findnSources
sky objects.Parameters: - mask :
lsst.afw.image.Mask
Input mask plane, which identifies pixels to avoid for the sky objects.
- seed :
int
Random number generator seed.
- config :
SkyObjectsConfig
Configuration for finding sky objects.
Returns: - skyFootprints :
list
oflsst.afw.detection.Footprint
Footprints of sky objects. Each will have a peak at the center of the sky object.
- mask :