core.SimulationStudy
SimulationStudy(input_cols, outcome_col)
A workflow manager for simulation reliability assessment.
Attributes
| inputs |
List[str] |
List of input variable names. |
| outcome |
str |
Name of the outcome variable. |
| data |
pd.DataFrame |
The raw simulation data. |
| clean_data |
pd.DataFrame |
Data that has passed validation. |
| sufficiency_results |
pd.DataFrame |
The latest diagnostic results. |
| pod_results |
Dict |
Results from the latest PoD analysis. |
| plots |
Dict |
Stores the latest generated figures. |
Examples
from digiqual.core import SimulationStudy
study = SimulationStudy(
input_cols=['Length', 'Angle'],
outcome_col='Signal'
)
Methods
| add_data |
Ingests raw simulation data, filtering for relevant columns only. |
| diagnose |
Runs statistical diagnostics to evaluate if the current sample size is sufficient. |
| optimise |
Runs the automated Active Learning loop (Initialize -> Execute -> Diagnose -> Refine). |
| pod |
Runs the generalized Probability of Detection (PoD) analysis. |
| refine |
Identifies gaps or high-variance regions and suggests new simulation points. |
| visualise |
Generates and displays diagnostic plots (Signal Model and PoD Curve). |