changeset 317:e7abca5fb51c draft

Uploaded
author luca_milaz
date Mon, 05 Aug 2024 12:43:57 +0000
parents c96a8a3cc81e
children 75454fbbb893
files marea_2/flux_to_map.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_to_map.py	Mon Aug 05 12:41:07 2024 +0000
+++ b/marea_2/flux_to_map.py	Mon Aug 05 12:43:57 2024 +0000
@@ -905,8 +905,8 @@
     medians = {key: median/max_flux_medians for key, median in medians.items()}
     means = {key: mean/max_flux_means for key, mean in means.items()}
 
-    save_colormap_image(min_flux_medians, max_flux_medians, "colormap_median.png")
-    save_colormap_image(min_flux_means, max_flux_means, "colormap_mean.png")
+    save_colormap_image(min_flux_medians, max_flux_medians, utils.FilePath("Color map median", ext=utils.FileFormat.PNG, prefix="result"))
+    save_colormap_image(min_flux_means, max_flux_means, utils.FilePath("Color map mean", ext=utils.FileFormat.PNG, prefix="result"))
 
     cmap = plt.get_cmap("jet")