Parameter estimation for complex physical problems often suffers from finding ‘solutions’ that are not physically realistic. The PEUQSE software provides tools for finding physically realistic parameter estimates, graphs of the parameter estimate positions within parameter space, and plots of the final simulation results.
13
stars
5
forks
source link
The initial test simulation with test parameters of[0.2]failed with error bad operand type for unary -: 'tuple' #333
While running the Example 13, runfile_Example13_draft_KL_in_runfile.py, I am getting the following errors,
The initial test simulation with test parameters of[0.2]failed with error bad operand type for unary -: 'tuple'
File .\PEUQSE-master\PEUQSE-master\Examples\Example13\runfile_Example13_draft_KL_in_runfile.py:87 in
PE_object_list.append(PEUQSE.parameter_estimation(UserInput))
File ~\anaconda3\lib\site-packages\CiteSoft\CiteSoft_py.py:68 in wrapper
result = func(*args, **kwargs)
File ~\anaconda3\lib\site-packages\CiteSoft\CiteSoft_py.py:47 in wrapper
result = func(*args, **kwargs)
File .\PEUQSE-master\PEUQSE-master\Examples\Example13../..\PEUQSE\InverseProblem.py:430 in init
if (np.isnan(initialLogP) or initialLogP < -1E90):
UnboundLocalError: local variable 'initialLogP' referenced before assignment
While running the Example 13, runfile_Example13_draft_KL_in_runfile.py, I am getting the following errors,
The initial test simulation with test parameters of[0.2]failed with error bad operand type for unary -: 'tuple'
File .\PEUQSE-master\PEUQSE-master\Examples\Example13\runfile_Example13_draft_KL_in_runfile.py:87 in
PE_object_list.append(PEUQSE.parameter_estimation(UserInput))
File ~\anaconda3\lib\site-packages\CiteSoft\CiteSoft_py.py:68 in wrapper result = func(*args, **kwargs)
File ~\anaconda3\lib\site-packages\CiteSoft\CiteSoft_py.py:47 in wrapper result = func(*args, **kwargs)
File .\PEUQSE-master\PEUQSE-master\Examples\Example13../..\PEUQSE\InverseProblem.py:430 in init if (np.isnan(initialLogP) or initialLogP < -1E90):
UnboundLocalError: local variable 'initialLogP' referenced before assignment
Can you please help me with this?