Replies: 2 comments 1 reply
-
Hi AstroJLin, To fit multiple light curves (or even multiple types of datasets) with emcee in PHOEBE, all you need to do is add them to the bundle and ensure they are enabled in the compute options you use for emcee (they should be all enabled by default). So, if you have two separate light curves, just add two separate datasets for them. Here's a basic example:
After you have these data sets in the bundle, you can enable or disable each one with b.enable_dataset() and b.disable_dataset(). If you always want to fit both, there's no need to change anything - once you add them to the bundle, each call to run_compute() and run_solver() will take both of those light curves into consideration and will fit your model to both of them within emcee. Hope this helps answer your question. If you are running into any specific problems/errors with your system, let me know! |
Beta Was this translation helpful? Give feedback.
-
Hi gecheline, I have been able to take both of those light curves into consideration and fit my model to both of them within emcee. Here, I wonder how to plot those light curves (multi-band data) fit from emcee within a picture as done Saracino et al. 2022 (2.pdf). In addition, I have nine free parameters in my model. I should how to set up the niters, progress_every_niters and nwalkers for the emcee so that it can convergence and run fast. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi Kyle,
In fact, I want to fit the multi-band data using the phoebe as done in Saracino et al. (2022). Here, should Saracino et al. (2022) fit the I and V band together using the model of the PHOEBE to derive the parameters of the model and determine uncertainties with emcee? However, I only able to fit respectively the single band using my model including to determine uncertainties with emcee.
So I would like to know how to set up to achieve this result.
Thanks!
The result is as follow (Saracino et al. 2022):
1.pdf
2.pdf
Beta Was this translation helpful? Give feedback.
All reactions