You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Sorry, I haven't seen this error before. It's most likely caused by the spline interpolation. How many limb darkening and radius ratio knots are you using?
Hello ! I am facing the issue below following the introduction tutorial, is it normal ? Thank you.
`TypeError Traceback (most recent call last)
Cell In[19], line 4
2 return ts.lnposterior(pv)
3 pool = Pool(8)
----> 4 ts.fit(niter=6000, npop=250, pool=pool, lnpost=lnpostf)
File c:\Users\quent\miniforge3\envs\easyts\lib\site-packages\easyts\easyts.py:579, in EasyTS.fit(self, niter, npop, pool, lnpost, population, initial_population)
576 x0[:, 3] = clip(normal(pv0[3], 0.01, size=npop), 0.0, 1.0)
577 x0[:, self._tsa._sl_rratios] = normal(sqrt(pv0[4]), 0.001, size=(npop, self.nk))
--> 579 self._tsa.optimize_global(niter=niter, npop=npop, population=x0, pool=pool, lnpost=lnpost,
580 vectorize=(pool is None))
581 self.de = self._tsa.de
File c:\Users\quent\miniforge3\envs\easyts\lib\site-packages\easyts\tslpf.py:606, in TSLPF.optimize_global(self, niter, npop, population, pool, lnpost, vectorize, label, leave, plot_convergence, use_tqdm, plot_parameters, min_ptp)
603 else:
604 population = self._de_population
--> 606 super().optimize_global(niter=niter, npop=npop, population=population, pool=pool, lnpost=lnpost,
607 vectorize=vectorize, label=label, leave=leave, plot_convergence=plot_convergence,
608 use_tqdm=use_tqdm, plot_parameters=plot_parameters, min_ptp=min_ptp)
609 self._de_population = self.de.population.copy()
610 self._de_imin = self.de.minimum_index
File c:\Users\quent\miniforge3\envs\easyts\lib\site-packages\pytransit\lpf\logposteriorfunction.py:149, in LogPosteriorFunction.optimize_global(self, niter, npop, population, pool, lnpost, vectorize, label, leave, plot_convergence, use_tqdm, plot_parameters, min_ptp)
147 else:
...
--> 239 raise TypeError('m > k must hold')
240 if xb is None:
241 xb = x[0]
TypeError: m > k must hold`
The text was updated successfully, but these errors were encountered: