From 420896ca422b2d2e099f7565a2c325f0ecac7b51 Mon Sep 17 00:00:00 2001 From: brahim Date: Tue, 12 Sep 2023 16:44:38 +0200 Subject: [PATCH] settings is updated --- settings.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/settings.py b/settings.py index 8d8db97..7d16afc 100644 --- a/settings.py +++ b/settings.py @@ -16,8 +16,7 @@ time = np.array([]) path_BS_noise_data = "" filename_BS_noise_data = "" -BS_noise_data = np.array([]) -snr = np.array([]) +BS_noise_data = np.array([]) # BS noise data averaged (array has the same shape than BS_raw_data shape) date = [] date_noise = [] @@ -34,22 +33,21 @@ kt = np.array([]) gain_rx = np.array([]) gain_tx = np.array([]) -snr = np.array([]) -snr_reshape = np.array([]) +snr = np.array([]) # snr is computed with BS_noise_data time_snr = np.array([]) # --- reshape raw data for table of values in Acoustic Data tab --- time_reshape = np.array([]) r_reshape = np.array([]) BS_raw_data_reshape = np.array([]) -snr_reshape = np.array([]) +snr_reshape = np.array([]) # snr is reshape to be included in table of values in acoustic data tab DataFrame_acoustic = pd.DataFrame() # --- Processed data in Acoustic Data Tab and used in Acoustic processing tab --- BS_data = np.array([]) # BS data limited with tmin and tmax values of spin box BS_data_section = np.array([]) # BS data in the section. Values NaN outside the bottom of the section are deleted -Noise_data = np.array([]) -SNR_data = np.array([]) +Noise_data = np.array([]) # Noise_data = BS_noise_data[:, :, tmin:tmax] +SNR_data = np.array([]) # SNR_data = snr[:, :, tmin:tmax] t = np.array([]) r_bottom = np.array([]) val_bottom = np.array([]) @@ -60,7 +58,7 @@ freq_bottom_detection = 0 BS_data_section_SNR_filter = np.array([]) # BS data filtered with SNR values (remove point if SNR < value) BS_data_section_averaged = np.array([]) # BS data averaged time_average = np.array([]) -SNR_data_average = np.array([]) +SNR_data_average = np.array([]) # SNR data computed with BS signal averaged (not with BS raw signal) water_attenuation = 0 sediment_attenuation = 0