Closed aliyyanurr closed 3 years ago
Can you please let us know what version of PHOEBE you're running? A similar bug was fixed in 2.3.21 - so if you're running anything older than that, please update and let us know if that fixes the issue or not.
And if that isn't the case - can you please send a short script so that we can reproduce the error and see what's going on? The easiest way is probably to save the bundle and upload that along and then just show any arguments you're passing to run_solver.
Thanks!
Can you please let us know what version of PHOEBE you're running? A similar bug was fixed in 2.3.21 - so if you're running anything older than that, please update and let us know if that fixes the issue or not.
And if that isn't the case - can you please send a short script so that we can reproduce the error and see what's going on? The easiest way is probably to save the bundle and upload that along and then just show any arguments you're passing to run_solver.
Thanks!
I was using PHOEBE ver. 2.3.3 when I face this problem. I've updated it to v2.3.33 and it runs well for LC geometry estimator. Thank you!
But then there's another error when I want to adopt the EBAI estimator solution:
print(b.adopt_solution('ebai_sol', trial_run=True))`, with the error message:
Sat, 24 Apr 2021 12:37 BUNDLE WARNING solution='ebai_sol' is not included in run_checks_solution@setting, so will not raise interactive warnings
Sat, 24 Apr 2021 12:37 BUNDLE WARNING at least one parameter in adopt_parameters includes nan in fitted_values If not addressed, this warning will continue to be raised and will throw an error at adopt_solution.
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-19-45a57b3d7989> in <module>
----> 1 print(b.adopt_solution('ebai_sol', trial_run=True))
/opt/anaconda3/lib/python3.7/site-packages/phoebe/frontend/bundle.py in adopt_solution(self, solution, adopt_parameters, adopt_distributions, adopt_values, trial_run, remove_solution, return_changes, **kwargs)
11916 adopt_values=adopt_values,
11917 trial_run=trial_run,
> 11918 **kwargs)
11919
11920 if adopt_values and not trial_run:
/opt/anaconda3/lib/python3.7/site-packages/phoebe/frontend/bundle.py in run_checks_solution(self, solution, compute, solver, figure, raise_logger_warning, raise_error, **kwargs)
4537 True, 'adopt_solution')
4538
-> 4539 self._run_checks_warning_error(report, raise_logger_warning, raise_error)
4540
4541 return report
/opt/anaconda3/lib/python3.7/site-packages/phoebe/frontend/bundle.py in _run_checks_warning_error(self, report, raise_logger_warning, raise_error)
2870 if raise_error:
2871 if not report.passed:
-> 2872 raise ValueError("failed to pass checks\n{}".format(report))
2873
2874 def run_checks(self, raise_logger_warning=False, raise_error=False, **kwargs):
ValueError: failed to pass checks
Run Checks Report: FAIL
WARNING: solution='ebai_sol' is not included in run_checks_solution@setting, so will not raise interactive warnings (1 affected parameters, affecting )
ERROR: at least one parameter in adopt_parameters includes nan in fitted_values (2 affected parameters, affecting adopt_solution)
Is this the same issues?
I'll put the iPython Notebook file here. Thank you. inverse_paper_examples CV Boo.zip
Ok, that's great to hear! No, this other error message really just says that ebai is failing for your system (which isn't uncommon - we're hoping to improve it to be more flexible in the future). I'll make a note to explain this better in the tutorials/docs... but in general, I would recommend just using the other two estimators for now anyways.
I'll close this issue for now - but feel free to start a new issue if you run into any other errors, or ask questions on the discussion board.
Thanks!
I'm using some LC and RV datas (from several objects) from VizieR. I'm following the steps from this tutorials for this LC and RV data. I assigned the period of the system with
b.set_value('period@binary@component', value)
(I'm using the referenced value, not running periodogram estimator).I could run RV geometry estimator, but when I want to run LC geometry estimators, there is an error:
I thought it was the system which has very narrow LC eclipses that affects the estimator module, because it runs well when I'm using semidetached system (nicely gaussian-like curved). It still returns the same error for another detached systems (but not too narrow/more narrow eclipses) I got from VizieR. I didn't change much the parameters and constraints, I'm following the tutorial I wrote above. Is there anything that should be done to solve this error?