formatting
This commit is contained in:
parent
2a687571c6
commit
06a2b217d4
11
fitter.py
11
fitter.py
@ -100,6 +100,7 @@ class Fitter:
|
||||
def optimize(self, init_parameters=None):
|
||||
t0 = time.time()
|
||||
self.iteration = 0
|
||||
|
||||
if init_parameters is None:
|
||||
m = self.model()
|
||||
K_pc_half = m.K_pc_half
|
||||
@ -119,12 +120,12 @@ class Fitter:
|
||||
)
|
||||
|
||||
res = least_squares(
|
||||
self.cost_func,
|
||||
init_parameters,
|
||||
bounds=bounds,
|
||||
self.cost_func,
|
||||
init_parameters,
|
||||
bounds=bounds,
|
||||
xtol=1e-10,
|
||||
ftol=1e-12,
|
||||
verbose=2
|
||||
ftol=1e-12,
|
||||
verbose=2,
|
||||
)
|
||||
|
||||
print()
|
||||
|
Loading…
Reference in New Issue
Block a user