Errors with the inverse problem applied to some light curves #614
Replies: 1 comment 1 reply
-
Hi JGL, The first problem occurs due to the phase binning which leaves some empty bins that the two-Gaussian model can’t fit yet (I’m working on fixing this). For now you can resolve it by setting the value of the phase_nbins parameter to a lower value. The default is 500 so I suggest trying 200 or less. As of 2.4 you can also change the analytical model to polyfit by setting the analytical_model parameter to ‘polyfit’. This model doesn’t have the binning issue. As for the second error, the only fix would be to manually override the adopt_parameters value to only the set of twigs that aren’t nans in the solution. You can check which those are by printing out the fitted_twigs and fitted_values for that solution. In 2.4 there is also an option to change the ebai_method to “knn” instead of the default “mlp” which may yield a better estimate without nans. Let me know if these suggestions work for you! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to model the light curves of some binary systems using the latest version of PHOEBE (v. 2.4.3). For this task I have followed the Inverse Problem tutorial, which has been useful for some light curves. However, for other systems I have had different types of problems. For example,
Problem 1: for a given system I get the following error:
Problem 2: For another binary system I have the following error:
I suspect that for case 2 the problem goes back to the following warning:
I must emphasize that I have applied the same tutorial to other light curves without any problem. I would appreciate an answer to help me solve both problems please, since I need to model these systems using PHOEBE. Thanks!
Regards,
JGL.
Beta Was this translation helpful? Give feedback.
All reactions