From dfe725ad5d2569d9c49e3df4431df1bd062fed34 Mon Sep 17 00:00:00 2001 From: G-Sommani Date: Mon, 2 Sep 2024 11:36:12 +0200 Subject: [PATCH] set too small probabilities to zero --- skyreader/plot/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyreader/plot/plot.py b/skyreader/plot/plot.py index c1d299c..6935c87 100644 --- a/skyreader/plot/plot.py +++ b/skyreader/plot/plot.py @@ -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