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
When using EXOTIC on Windows, if Ultranest is not installed Dynesty will be used by default.
The fitting of the curve ends with the following error:
****************************************
Fitting a Light Curve Model to Your Data
****************************************
Traceback (most recent call last):
File "C:\Users\ivenz\EXOTIC\exotic\api\elca.py", line 308, in fit_nested
test = ReactiveNestedSampler(freekeys, loglike, prior_transform)
NameError: name 'ReactiveNestedSampler' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\ivenz\EXOTIC\exotic\exotic.py", line 2674, in <module>
main()
File "C:\Users\ivenz\EXOTIC\exotic\exotic.py", line 2551, in main
myfit = lc_fitter(goodTimes, goodFluxes, goodNormUnc, goodAirmasses, prior, mybounds, mode='ns')
File "C:\Users\ivenz\EXOTIC\exotic\api\elca.py", line 173, in __init__
self.fit_nested()
File "C:\Users\ivenz\EXOTIC\exotic\api\elca.py", line 326, in fit_nested
dsampler.run_nested(maxcall=int(1e5), dlogz_init=0.05,
TypeError: run_nested() got an unexpected keyword argument 'print_progressbool'
The following line in exotic/api/elca.py is the one causing the error:
dsampler.run_nested(maxcall=int(1e5), dlogz_init=0.05, maxbatch=10, nlive_batch=100, print_progressbool=self.verbose)
The text was updated successfully, but these errors were encountered:
ivenzor
changed the title
exotic/api/elca.py print_progressbool not present in dynasty API - Windows Local Installation Error
exotic/api/elca.py print_progressbool not present in dynesty API - Windows Local Installation Error
Aug 13, 2024
ivenzor
changed the title
exotic/api/elca.py print_progressbool not present in dynesty API - Windows Local Installation Error
exotic/api/elca.py print_progressbool not present in dynesty API - Error when fitting the light curve (Windows Local Installation)
Aug 13, 2024
I modified print_progressbool to print_progress in my local elca.py file and it succesfuly created the lightcurve:
dsampler.run_nested(maxcall=int(1e5), dlogz_init=0.05,
maxbatch=10, nlive_batch=100, print_progress=self.verbose)
When using EXOTIC on Windows, if Ultranest is not installed Dynesty will be used by default.
The fitting of the curve ends with the following error:
The following line in
exotic/api/elca.py
is the one causing the error:dsampler.run_nested(maxcall=int(1e5), dlogz_init=0.05, maxbatch=10, nlive_batch=100, print_progressbool=self.verbose)
Looking at Dynesty documentation, the name of the argument should be print_progress instead of print_progressbool
https://dynesty.readthedocs.io/en/stable/api.html#dynesty.sampler.Sampler.run_nested
The text was updated successfully, but these errors were encountered: