# HG changeset patch # User luca_milaz # Date 1722782757 0 # Node ID d09b1cbc56d1b753d44022b00732eb1a68d0141e # Parent ed9b20102a2015e308d0e569b28c09e093ab64ba Uploaded diff -r ed9b20102a20 -r d09b1cbc56d1 marea_2/flux_to_map.py --- a/marea_2/flux_to_map.py Sun Aug 04 14:42:16 2024 +0000 +++ b/marea_2/flux_to_map.py Sun Aug 04 14:45:57 2024 +0000 @@ -832,9 +832,8 @@ metabMap_median = copy.deepcopy(metabMap) #class_pat 462 * cellule - utils.logWarning( - ids, - ARGS.out_log) + + medians = {} means = {} for key, value in class_pat.items(): @@ -844,6 +843,10 @@ medians[key] = median means[key] = means + utils.logWarning( + medians, + ARGS.out_log) + max_flux_medians = max(np.max(np.abs(arr)) for arr in medians.values()) max_flux_means = max(np.max(np.abs(arr)) for arr in means.values())