GPR for ideal gas (ig_active
)#
Generates ideal gas (1D in external potential) data to test GP models and active learning strategies.
Classes:
|
Data object for gpr with ideal gas. |
|
Simulation object for ideal gas. |
- class thermoextrap.gpr_active.ig_active.IG_DataWrapper(beta, rng=None)[source]#
Bases:
DataWrapper
Data object for gpr with ideal gas.
Methods:
Loads potential energies from a list of files.
Loads data from a file specifying CV coordinate and added bias at each frame.
Loads observable data.
get_data
([n_conf, n_part])Loads data from files needed to generate data classes for thermoextrap.
build_state
([all_data, max_order])Builds a thermoextrap data object for the data described by this wrapper class.
- load_CV_info()[source]#
Loads data from a file specifying CV coordinate and added bias at each frame. Assumes that the first value in col_ind is the index of the CV coordinate column and the second is the index for the bias.