utilities package¶
Submodules¶
utilities.show module¶
Created on Wed Aug 19 16:17:51 2020
- utilities.show.show_fdem_detection_scenario(fig, target, collection)¶
In 3D ax show the detection scene,the main part is to show the metal cylinder with different posture,the posture of the metal cylinder can be showed by the rotation matrix
- figmatplotlib.figure.Figure
Empty figure.
- targetclass Target
Contains the parameters of the target.
- collectionclass Collection
Contains the parameters of the collection process.
None.
utilities.threadSet module¶
The thread class, To prevent the interface from dying, we use multithreading to call various time-consuming interface
Class: - ThreadCalFdem: the thread to call the fdem simulation interface - ThreadInvFdem: the thread to call the fdem inversion interface - ThreadCalTdem: the thread to call the tdem simulation interface - ThreadClsTdem: the thread to call the tdem classification interface
- class utilities.threadSet.ThreadCalFdem¶
Bases:
PyQt5.QtCore.QThread
Fdem forward simulation thread. Use the mutilThread to avoid that the mainWindow play died because of the long time of complicated calculation.The simulation generates the forward data by the input condition of the simulation.
- detector: class
The detector class consists of the information about the detector
- target: class
The target class consists of the information about the detector
- collection: class
The collection class consists of the information about collecting the response of the target
- save: bool
Whether to save the data of the forward simulation
- run()¶
Use the information about the initial parameters to simulate
- trigger¶
- class utilities.threadSet.ThreadCalTdem¶
Bases:
PyQt5.QtCore.QThread
tdem forward simulation thread. Use the mutilThread to avoid that the mainWindow play died because of the long time of complicated calculation.The simulation generates the forward data by the input condition of the simulation.
- detector: class
The detector class consists of the information about the detector
- target: class
The target class consists of the information about the detector
- collection: class
The collection class consists of the information about collecting the response of the target
- save: bool
Whether to save the data of the forward simulation
- run()¶
Use the information about the initial parameters to simulate
- trigger¶
- class utilities.threadSet.ThreadClsTdem¶
Bases:
PyQt5.QtCore.QThread
Tdem inversion thread. Use the mutilThread to avoid that the mainWindow play died because of the long time of complicated calculation of the inversion.The inversion inverses by the input condition.
- method: str
The method of inversion
- iterations: int
The maximum number of numeric optimization method
- tol: int
The minimum cost of numeric optimization method
- x0: ndarray
The initial parameters of inversion
- forward_result: tuple
The result of simulation,consists of the information of the simulation
- save: bool
Whether to save the result of inversion
- run()¶
Use the information about the condition of inversion to inverse, and utilize the signal to transfer the inv_result.
- trigger¶
- class utilities.threadSet.ThreadInvFdem¶
Bases:
PyQt5.QtCore.QThread
Fdem inversion thread. Use the mutilThread to avoid that the mainWindow play died because of the long time of complicated calculation of the inversion.The inversion inverses by the input condition.
- method: str
The method of inversion
- iterations: int
The maximum number of numeric optimization method
- tol: int
The minimum cost of numeric optimization method
- x0: ndarray
The initial parameters of inversion
- forward_result: tuple
The result of simulation,consists of the information of the simulation
- save: bool
Whether to save the result of inversion
- run()¶
Use the information about the condition of inversion to inverse, and utilize the signal to transfer the inv_result.
- trigger¶
Module contents¶
the package is used for the GUI