DatabankLib.bin.match_experiments module
Match simulations with experiments in the databank.
Script goes through all simulations and experiments in the databank and finds pairs of simulations and experiments that match in composition, temperature and other conditions. The found pairs are written into the simulation README.yaml files and into a log file.
Usage:
nml_match_experiments
No arguments are needed.
- class DatabankLib.bin.match_experiments.SearchSystem(readme)[source]
Bases:
object
- system: dict
- idx_path: str
- class DatabankLib.bin.match_experiments.Experiment(readme: dict, molname: str, data_path: str, exptype: str)[source]
Bases:
object
- DatabankLib.bin.match_experiments.load_simulations() list[SearchSystem] [source]
Generates the list of Simulation objects. Go through all README.yaml files.
- DatabankLib.bin.match_experiments.load_experiments(exp_type: str) list[Experiment] [source]
Loops over the experiment entries in the experiment databank and read experiment readme and order parameter files into objects.
- DatabankLib.bin.match_experiments.find_pairs(experiments: list[Experiment], simulations: list[SearchSystem])[source]