Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisSanchez25 committed Dec 30, 2024
1 parent e57c606 commit 23a23e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sciSOM/SOM_recall/strax_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ def data_to_log_decile_log_area_aft_generate(peaklet_data):
np.reshape(peaklet_log_area, (len(peaklet_log_area), 1)) / np.max(peaklet_log_area),
np.reshape(peaklet_aft, (len(peaklet_log_area), 1))), axis=1)

norm_factors = np.concatenate((np.max(decile_log, axis = 0), np.max(np.log10(peaklet_data['area'])).reshape(1)))
norm_factors = np.concatenate((norm_factors, np.abs(np.min(peaklet_data['area'])).reshape(1)))
norm_factors = np.concatenate((np.max(decile_log, axis = 0), np.max(peaklet_log_area).reshape(1)))
norm_factors = np.concatenate((norm_factors, np.abs(min_area).reshape(1)))

return deciles_area_aft, norm_factors

Expand Down

0 comments on commit 23a23e0

Please sign in to comment.