Skip to content

Commit

Permalink
keep zeros also in grid_value for probability map
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Dec 11, 2024
1 parent 7dab470 commit a4fb2ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skyreader/utils/handle_map_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ def extract_map(

# if the probability is less than ~1e-300 this is set to 0
# because of the float64 data format
min_map = np.nanmin(equatorial_map[equatorial_map > 0.])
min_map = np.nanmin(equatorial_map)
# min_map = np.nanmin(equatorial_map[equatorial_map > 0.])
# equatorial_map[equatorial_map == 0.] = min_map

if angular_error_floor is not None:
Expand Down

0 comments on commit a4fb2ac

Please sign in to comment.