mainwindow module

Created on Sun Aug 16 10:02:54 2020 @author: Shi haodong

the graphical user interface

Class: - MainWindow: the implement class of the GUI

class mainwindow.MainWindow

Bases: PyQt5.QtWidgets.QMainWindow, mainwindow_ui.Ui_MainWindow

thread_cal_fdem: class

the fdem forward simulation thread class.

thread_inv_fdem: class

the fdem inversion thread class.

thread_cal_tdem: class

the tdem forward simulation thread class.

thread_cls_tdem: class

the tdem classification thread class.

initialize:

initialization of the interface

connect_slots:

the slots functions

select_Chinese:

response to switch to Chinese language

select_English:

response to switch to Chinese language

select_detection_method:

response to switch the detection method tab

get_fdem_simulation_parameters:

get fdem simulation parameter values from the interface

run_fdem_forward_calculate:

call the fdem forward simulation interface to simulate

run_fdem_inversion:

call the fdem inversion interface

run_fdem_forward_result_process:

call the handler to handle the fdem forward results

run_fdem_inv_result_process:

call the handler to handle the fdem inversion results

get_tdem_simulation_parameters:

get tdem simulation parameter values from the interface

run_tdem_forward_calculate:

call the tdem forward simulation interface to simulate

run_tdem_forward_result_process:

call the handler to handle the tdem forward results

run_tdem_classification:

call the tdem classification interface

run_tdem_cls_result_process:

call the handler to handle the tdem classification results

connect_slots()
get_fdem_simulation_parameters()

When parameters are update in fdem interface, the parameters used for calculation will be updated.

get_tdem_simulation_parameters()

When parameters are update in tdem interface, the parameters used for calculation will be updated.

initialize()
run_fdem_forward_calculate()

When ‘run forward simulation’ button is clicked in fdem interface, this function will ba called.

run_fdem_forward_result_process(forward_result)

When the forward calculation of FDEM is finished, the result process function will be called.

run_fdem_inv_result_process(inv_result)
run_fdem_inversion()

When ‘run fdem inversion’ button is clicked in fdem interface, this function will ba called.

run_tdem_classification()

When run fdem inversion’ button is clicked in fdem interface, this function will ba called.

run_tdem_cls_result_process(cls_result)
run_tdem_forward_calculate()

When ‘run forward simulation’ button is clicked in tdem interface, this function will ba called.

run_tdem_forward_result_process(forward_result)

When the forward calculation of TDEM is finished, the result process function will be called.

select_Chinese()

Translate English on the interface into Chinese.

https://blog.csdn.net/CholenMine/article/details/80725088

select_English()
select_detection_method()

When detection method is changed, this function will be called.