Skip to content

Commit

Permalink
downgrade nside of smoothed map
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Sep 2, 2024
1 parent eafc109 commit 1dbc08a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ def bounding_box(ra, dec, theta, phi):
equatorial_map,
sigma=np.deg2rad(self.NEUTRINOFLOOR_SIGMA),
)
equatorial_map = healpy.ud_grade(equatorial_map, max_nside)
normalization = np.nansum(equatorial_map)
equatorial_map = equatorial_map / normalization
grid_value = healpy.get_interp_val(
Expand Down

0 comments on commit 1dbc08a

Please sign in to comment.