Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Sep 13, 2024
1 parent 2eee6e6 commit 51d0c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def bounding_box(ra, dec, theta, phi):
equatorial_map = equatorial_map / np.nansum(equatorial_map)

# nan values are a problem for the convolution and the contours
min_map = np.nanmin[equatorial_map]
min_map = np.nanmin(equatorial_map)
equatorial_map[np.isnan(equatorial_map)] = min_map

if neutrino_floor:
Expand All @@ -540,7 +540,7 @@ def bounding_box(ra, dec, theta, phi):
)

# normalize map
min_map = np.nanmin[equatorial_map]
min_map = np.nanmin(equatorial_map)
equatorial_map[np.isnan(equatorial_map)] = min_map
equatorial_map = equatorial_map.clip(min_map, None)
normalization = np.nansum(equatorial_map)
Expand Down

0 comments on commit 51d0c0f

Please sign in to comment.