mirror of https://github.com/ANL-CEEESA/LLEPE
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.
23 lines
564 B
23 lines
564 B
import json
|
|
import sys
|
|
|
|
sys.path.append('../')
|
|
from reeps import REEPS
|
|
|
|
|
|
with open('one_ree_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)
|
|
# info_dict = {"Nd(H(A)2)3(org)": {"h0": est_enthalpy}}
|
|
#
|
|
beaker.update_xml(est_enthalpy)
|
|
beaker.parity_plot()
|