You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LLEPE/tests/test_reeps.py

19 lines
505 B

import sys
sys.path.append('../')
from reeps import REEPS
import json
with open('one_comp_settings.txt') as file:
testing_params = json.load(file)
beaker = REEPS(**testing_params)
minimizer_kwargs = {"method": 'SLSQP',
"bounds": [(1e-1, 1e1)],
"constraints": (),
"options": {'disp': True, 'maxiter': 1000, 'ftol': 1e-6}}
est_enthalpy = beaker.fit(minimizer_kwargs)
print(est_enthalpy)
beaker.update_xml(est_enthalpy)
beaker.parity_plot()