Mercurial > repos > bimib > marea_2
changeset 258:d09b1cbc56d1 draft
Uploaded
author | luca_milaz |
---|---|
date | Sun, 04 Aug 2024 14:45:57 +0000 |
parents | ed9b20102a20 |
children | 28de43f27623 |
files | marea_2/flux_to_map.py |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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())