60 """Return a bool array representing which sources to select from
63 The input catalog must be contiguous in memory.
67 sourceCat : `lsst.afw.table.SourceCatalog`
68 Catalog of sources to select from.
69 matches : `list` of `lsst.afw.table.ReferenceMatch` or None
70 Ignored in this SourceSelector.
71 exposure : `lsst.afw.image.Exposure` or None
72 The exposure the catalog was built from; used for debug display.
76 struct : `lsst.pipe.base.Struct`
77 The struct contains the following data:
80 Boolean array of sources that were selected, same length as
81 ``sourceCat``. (`numpy.ndarray` of `bool`)
83 key = sourceCat.schema.find(self.config.field).key
84 return pipeBase.Struct(selected=sourceCat[key])