Compare commits
2 Commits
31e145fd74
...
337c42697c
| Author | SHA1 | Date |
|---|---|---|
|
|
337c42697c | |
|
|
1c770f58d3 |
|
|
@ -625,12 +625,14 @@ class SignalProcessingTab(QWidget):
|
|||
self.compute_average_profile_tail()
|
||||
|
||||
if stg.noise_method[data_id] == 0:
|
||||
if stg.filename_BS_noise_data[data_id] != "":
|
||||
if len(stg.BS_noise_raw_data) == 0:
|
||||
self.load_noise_data_and_compute_SNR()
|
||||
else:
|
||||
for i in range(self.combobox_acoustic_data_choice.count()):
|
||||
self.compute_noise(i)
|
||||
if stg.filename_BS_noise_data[data_id] == "":
|
||||
return
|
||||
|
||||
if len(stg.BS_noise_raw_data) == 0:
|
||||
self.load_noise_data_and_compute_SNR()
|
||||
else:
|
||||
for i in range(self.combobox_acoustic_data_choice.count()):
|
||||
self.compute_noise(i)
|
||||
elif stg.noise_method[data_id] == 1:
|
||||
self.compute_noise_from_profile_tail_value()
|
||||
|
||||
|
|
@ -920,8 +922,6 @@ class SignalProcessingTab(QWidget):
|
|||
|
||||
self.compute_average_profile_tail()
|
||||
|
||||
logger.debug(f"stg.SNR_filter_value: {stg.SNR_filter_value}")
|
||||
|
||||
self.lineEdit_profile_tail_value.setText(
|
||||
str(stg.noise_value[data_id])
|
||||
)
|
||||
|
|
@ -1649,7 +1649,6 @@ class SignalProcessingTab(QWidget):
|
|||
BS_data_ppa = stg.BS_raw_data_pre_process_average
|
||||
for i in range(len(BS)):
|
||||
bs = BS[i]
|
||||
logger.debug(f"BS data shape {bs[data_id].shape}")
|
||||
if bs[data_id].shape == (0,):
|
||||
continue
|
||||
|
||||
|
|
@ -1658,7 +1657,6 @@ class SignalProcessingTab(QWidget):
|
|||
BS_data_ppa = BS_ppa[i]
|
||||
break
|
||||
|
||||
logger.debug(f"BS_data: {BS_data[data_id].shape}")
|
||||
|
||||
# BS_data_ppa[data_id] = deepcopy(BS_data[data_id])
|
||||
#
|
||||
|
|
@ -1687,11 +1685,11 @@ class SignalProcessingTab(QWidget):
|
|||
|
||||
BS_data_ppa[data_id] = np.array([temp_list[0]])
|
||||
for j in range(stg.freq[data_id].shape[0]-1):
|
||||
BS_data_ppa[data_id] = np.append(BS_data_ppa[data_id], np.array([temp_list[j+1]]), axis=0)
|
||||
|
||||
logger.debug(
|
||||
f"BS_data_ppa: {BS_data_ppa[data_id].shape}"
|
||||
)
|
||||
BS_data_ppa[data_id] = np.append(
|
||||
BS_data_ppa[data_id],
|
||||
np.array([temp_list[j+1]]),
|
||||
axis=0
|
||||
)
|
||||
|
||||
def plot_pre_processed_profile(self):
|
||||
data_id = max(0, self.combobox_acoustic_data_choice.currentIndex())
|
||||
|
|
|
|||
|
|
@ -1,41 +1,15 @@
|
|||
astropy==6.1.7
|
||||
astropy-iers-data==0.2025.3.3.0.34.45
|
||||
contourpy==1.0.7
|
||||
cycler==0.11.0
|
||||
defusedxml==0.7.1
|
||||
et-xmlfile==1.1.0
|
||||
fonttools==4.38.0
|
||||
importlib-resources==5.12.0
|
||||
joblib==1.2.0
|
||||
kiwisolver==1.4.4
|
||||
llvmlite==0.39.1
|
||||
matplotlib==3.6.3
|
||||
numba==0.56.4
|
||||
numpy==1.23.5
|
||||
odfpy==1.4.1
|
||||
openpyxl==3.0.10
|
||||
packaging==23.0
|
||||
pandas==1.5.3
|
||||
Pillow==9.4.0
|
||||
profilehooks==1.12.0
|
||||
pyerfa==2.0.1.5
|
||||
pyparsing==3.0.9
|
||||
pyqt-checkbox-table-widget==0.0.14
|
||||
pyqt-file-list-widget==0.0.1
|
||||
pyqt-files-already-exists-dialog==0.0.1
|
||||
pyqt-tooltip-list-widget==0.0.1
|
||||
PyQt5==5.15.9
|
||||
PyQt5-Qt5==5.15.2
|
||||
PyQt5-sip==12.11.0
|
||||
python-dateutil==2.8.2
|
||||
pytz==2022.7.1
|
||||
PyYAML==6.0.2
|
||||
scikit-learn==1.2.1
|
||||
scipy==1.10.0
|
||||
simplePyQt5==0.0.1
|
||||
six==1.16.0
|
||||
threadpoolctl==3.1.0
|
||||
utm==0.7.0
|
||||
xlrd==2.0.1
|
||||
xmltodict==0.13.0
|
||||
zipp==3.15.0
|
||||
odfpy==1.4.1
|
||||
openpyxl==3.0.10
|
||||
pyinstaller==6.12.0
|
||||
pyqt_file_list_widget==0.0.1
|
||||
|
|
|
|||
Loading…
Reference in New Issue