The files "TE_Z_TransformCtoR_OfflineOnlineGPR.ipynb" and "Phase_Resistivity_NIRBTHOfflineOnlineStage_GPR.ipynb"
are the two main files for constructing the surrogate models. 

The scripts can be used for all frequencies, via replacing 
'TD_scaled.npy' with e.g. 'TrainingData/TE_Phase_1Hz_TD.npy', 
'VD_Params_30.npy' with e.g. 'ValidationData/TE_Phase_1Hz_VD.npy', 
'TE_Phase_CombinedModelTHTemperatureBasisFts' with 'Surrogate_Models/TE_Phase_1Hz_bfs.npy', 
'SurrogateModel/Model.joblib' with e.g. 'Surrogate_Models/TE_Phase_1Hz.joblib'

For more background about the NI-RB method:
- Degen, D., Cacace, M., & Wellmann, F. (2022). 
Non-Intrusive Reduced Basis Method for the Case Study of Groß Schönebeck. 
Zenodo. https://doi.org/10.5281/zenodo.7016427
- Denise Degen, Daniel Caviedes Voullième, Susanne Buiter, Harrie-Jan Hendriks Franssen,
 Harry Vereecken, Ana González-Nicolás, & Florian Wellmann. (2023). 
Non-Intrusive Reduced Basis Code for Geothermal, Geodynamic, and Hydrology Benchmarks. 
Zenodo. https://doi.org/10.5281/zenodo.8369108
