Skip to content

Commit

Permalink
removing useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Greuter authored and Julien Greuter committed Aug 8, 2024
1 parent 3d828fc commit a99a48a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pycbc/distributions/sky_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,12 @@ def boundaries(healpix_map, nside, coverage):
map_coverage = 0

for i in range(len(data)):
# j = numpy.argmax(normalized_data == sort_normalized_data[i])
j = sorter[i]
pix = rasterized_map.uniq[j] - 4 * nside * nside
delta, alpha = rasterized_map.pix2ang(pix, lonlat=False)
# converts colatitude to latitude
delta = numpy.pi / 2 - delta

# map_coverage += sort_normalized_data[i]
map_coverage += normalized_data[j]
delta_max, delta_min = max(delta_max, delta), min(
delta_min, delta
Expand Down

0 comments on commit a99a48a

Please sign in to comment.