Replies: 1 comment 4 replies
-
It looks like there were more issues introduced by changes to astropy (I'm guessing your installation of astropy updated alongside phoebe). We'll continue working to track these bugs down and fix them, but in the meantime you should be able to avoid them by downgrading astropy slightly (I'm not sure the exact version - but please do report back if you can track down when they were introduced). |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I wonder if I am the only one that faces issues with plotting and run.compute() especially in emcee.
I am on Phoebe 2.3.53, astropy 4.3.1, Matplotlib 3.4.3
and I have been facing problems in generating model light curves
e.g.
b.run_compute(sample_from='ball_around_guess',
sample_num=20, model='init_from_model')
ValueError: single model exceeded number of allowed retries. Check sampling distribution to ensure physical models exist. Latest model error: failed to pass checks
Run Checks Report: FAIL
ERROR: constraints ['XXXXX'] failed to run. Address errors and try again. Call run_failed_constraints to see the tracebacks. (1 affected parameters, affecting system,run_compute)
'XXXXX' being one of the system parameters.
While b.run_solver() seems to work fine, print(b.adopt_solution(trial_run=True)) gives error:
TypeError: cannot divide MVSamplesSlice by type <class 'numpy.int64'>
as well as in b.adopt_solution().
I also have plotting issues as well with the plot extends outside of the subplot's dimension. (Issue only occurs with figure that has more than 1 plot such as in
_ = b.plot(x='phases', y='residuals', show=True) or
_ = b.plot(s=0.005,solution='emcee_sol', style='trace', show=True) ).
If no one else has the same problem then perhaps I am missing some dependencies or working with the wrong versions.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions