forked from IPKM/nmreval
make final fit parameter values
This commit is contained in:
parent
6ecc4a4126
commit
dedb130163
@ -60,9 +60,6 @@ class Parameters(dict):
|
|||||||
self.update_namespace()
|
self.update_namespace()
|
||||||
|
|
||||||
def replace_parameter(self, key_out: str, key_in: str, parameter: Parameter):
|
def replace_parameter(self, key_out: str, key_in: str, parameter: Parameter):
|
||||||
# print('replace par', key_out, key_in, parameter)
|
|
||||||
# print('name', parameter.name)
|
|
||||||
|
|
||||||
self.add_parameter(key_in, parameter)
|
self.add_parameter(key_in, parameter)
|
||||||
for k, v in self._mapping.items():
|
for k, v in self._mapping.items():
|
||||||
if v == key_out:
|
if v == key_out:
|
||||||
|
@ -196,8 +196,6 @@ class FitResult(Points):
|
|||||||
if modelname[0] == '(' and modelname[-1] == ')':
|
if modelname[0] == '(' and modelname[-1] == ')':
|
||||||
modelname = modelname[1:-1]
|
modelname = modelname[1:-1]
|
||||||
|
|
||||||
print(parameter_dic)
|
|
||||||
|
|
||||||
return parameter_dic, modelname
|
return parameter_dic, modelname
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user