Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Oct 9, 2024
1 parent 96fc4d7 commit 1215e68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skyreader/utils/handle_map_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def extract_map(
# normalize map
min_map = np.nanmin(equatorial_map[equatorial_map >= 0.0])
equatorial_map[np.isnan(equatorial_map)] = min_map
print(min_map)
equatorial_map = equatorial_map.clip(min_map, None)
normalization = np.nansum(equatorial_map)
equatorial_map = equatorial_map / normalization
Expand Down

0 comments on commit 1215e68

Please sign in to comment.