logger added to print computed values of calibration parameters
parent
5734f6e614
commit
1c409531a1
|
|
@ -2076,11 +2076,11 @@ class SedimentCalibrationTab(QWidget):
|
|||
|
||||
stg.sv = [sv_freq1, sv_freq2]
|
||||
|
||||
print(
|
||||
logger.debug(
|
||||
f"sv for frequency of {stg.freq[data_id][self.combobox_freq1.currentIndex()]}"
|
||||
+ f" : {sv_freq1:.8f} /m \n"
|
||||
)
|
||||
print(
|
||||
logger.debug(
|
||||
f"sv for frequency of {stg.freq[data_id][self.combobox_freq2.currentIndex()]}"
|
||||
+ f" : {sv_freq2:.8f} /m"
|
||||
)
|
||||
|
|
@ -2103,7 +2103,7 @@ class SedimentCalibrationTab(QWidget):
|
|||
stg.X_exponent.clear()
|
||||
stg.X_exponent.append(X_exponent)
|
||||
|
||||
print(f"Exponent X = {X_exponent:.2f}\n")
|
||||
logger.debug(f"Exponent X = {X_exponent:.2f}\n")
|
||||
|
||||
self.lineEdit_X.setText(str("%.2f" % X_exponent))
|
||||
|
||||
|
|
@ -2228,8 +2228,8 @@ class SedimentCalibrationTab(QWidget):
|
|||
|
||||
stg.alpha_s = [alpha_s_freq1, alpha_s_freq2]
|
||||
|
||||
print(f"\u03B1s for frequency of freq1 : {alpha_s_freq1:.2f} /m \n")
|
||||
print(f"\u03B1s for frequency of freq2 : {alpha_s_freq2:.2f} /m")
|
||||
logger.debug(f"\u03B1s for frequency of freq1 : {alpha_s_freq1:.2f} /m \n")
|
||||
logger.debug(f"\u03B1s for frequency of freq2 : {alpha_s_freq2:.2f} /m")
|
||||
|
||||
self.lineEdit_alphas_freq1.clear()
|
||||
self.lineEdit_alphas_freq1.setText(str("%.5f" % alpha_s_freq1))
|
||||
|
|
@ -2292,8 +2292,8 @@ class SedimentCalibrationTab(QWidget):
|
|||
|
||||
stg.zeta = [zeta_freq1, zeta_freq2]
|
||||
|
||||
print(f"\u03B6 for frequency of freq1 : {zeta_freq1:.3f} /m \n")
|
||||
print(f"\u03B6 for frequency of freq2 : {zeta_freq2:.3f} /m")
|
||||
logger.debug(f"\u03B6 for frequency of freq1 : {zeta_freq1:.3f} /m \n")
|
||||
logger.debug(f"\u03B6 for frequency of freq2 : {zeta_freq2:.3f} /m")
|
||||
|
||||
self.lineEdit_zeta_freq1.clear()
|
||||
self.lineEdit_zeta_freq1.setText(str("%.5f" % zeta_freq1))
|
||||
|
|
|
|||
Loading…
Reference in New Issue