catalog_exposure_overlaps¶
- grizli.prep.catalog_exposure_overlaps(ra, dec, exposure_footprints=[])[source]¶
Count number of items in a list of footprints overlap with catalog positions
- Parameters
- ra, decarray-like
Celestial coordinates
- exposure_footprintslist, None
An optional list of objects that can be parsed with
sregion.SRegion
. If specified, add a columnnexp
to the catalog corresponding to the number of entries in the list that overlap with a particular source position
- Returns
- nexparray-like
Count of elements in
exposure_footprints
that overlap with entries inra
,dec