API Reference
Standard Workflow
The SimulationStudy class runs the whole analysis: diagnostics, refinement, model fitting, PoD and plots. Most users only need this and dq_ui.
| core.SimulationStudy | A workflow manager for simulation reliability assessment. |
| dq_ui | Launch the DigiQual graphical user interface. |
Functional API
The building blocks SimulationStudy uses, for custom workflows. Each module lists its functions.
| core | The SimulationStudy workflow class, and helpers for choosing its fitted model. |
| io | Reading simulation results from CSV files. |
| sampling | Space-filling experimental designs (Latin Hypercube sampling) for planning simulation runs. |
| diagnostics | Data validation and sample-sufficiency diagnostics: input coverage, model fit, bootstrap stability and collinearity. |
| adaptive | Adaptive refinement: targeted new samples where the diagnostics fail, and the automated simulate-diagnose-refine loop. |
| pod | Surrogate (mean) models, the variance and error model, PoD curves, bootstrap bounds, reliability indices and sensitivity analysis. |
| integration | Monte Carlo integration over nuisance parameters, and fitted distributions for them. |
| ahat | The classical linear â-versus-a PoD method (Berens), as a baseline to compare with the generalised method. |
| plotting | Plots of the signal model, PoD curves and surfaces, and diagnostics. Each draws on the Matplotlib Axes it is given (or a new one) and returns it. |
| executors | Solver adapters that run simulations for SimulationStudy.optimise: Python functions, command-line programs and MATLAB. |
Settings and Acceleration
Default thresholds and levels shared by the library and the app, and the C++ kernels with their NumPy fallback.
| defaults | Default settings shared by the library and the app. |
| cpp_fallback | Kernel smoothing and PoD probabilities, using the compiled C++ extension when it is available and NumPy otherwise. |