Skip to content

Commit

Permalink
set too small probabilities to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Sep 2, 2024
1 parent 03d4d44 commit dfe725a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyreader/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def bounding_box(ra, dec, theta, phi):
equatorial_map = equatorial_map / np.nansum(equatorial_map)

equatorial_map = np.where(
equatorial_map > 1e-9, equatorial_map, 0.0
equatorial_map > 1e-7, equatorial_map, 0.0
)
#space_angle, ang_dist_grid = get_space_angles(
# min_ra, min_dec, grid_ra, grid_dec, max_nside, min_index
Expand Down

0 comments on commit dfe725a

Please sign in to comment.