Skip to content

Commit

Permalink
Nicolas comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeRZP committed Oct 2, 2024
1 parent cfe1557 commit 301cd0f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion heracles/catalog/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def __call__(self, page):
_lon, _lat = page[lon], page[lat]
good_entry = np.isfinite(_lon) & np.isfinite(_lat)
_lon, _lat = _lon[good_entry], _lat[good_entry]
page.delete(np.where(~good_entry)[0])
ipix = ang2pix(self._nside, _lon, _lat, lonlat=True)
exclude = np.where(self._footprint[ipix] == 0)[0]
page.delete(exclude)

0 comments on commit 301cd0f

Please sign in to comment.