Skip to content

Commit

Permalink
fit the fitter for km_guess scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Rama Vasudevan committed Sep 13, 2023
1 parent e5b0119 commit ad29d08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sidpy/proc/fitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,10 @@ def do_fit(self, **kwargs):
else:
self.get_km_priors(**kwargs)
for ind in range(self.num_computations):
ydata = self.folded_dataset[ind, :]
ydata = self.folded_dataset_numpy[ind, :]
if self._complex_data:
ydata = ydata.flatten_complex()
#ydata = ydata.flatten_complex()
ydata = np.array(np.hstack([np.real(ydata), np.imag(ydata)]))

lazy_result = dask.delayed(SidFitter.default_curve_fit)(self.fit_fn, self.dep_vec,
ydata, self.num_fit_parms,
Expand Down

0 comments on commit ad29d08

Please sign in to comment.