Replies: 1 comment 4 replies
-
Hi Andras! Was the only difference between the two models whether the dataset was enabled vs passed to
If you do hear anything - please encourage posting here or as an issue if its a bug. |
Beta Was this translation helpful? Give feedback.
-
Hi everybody,
I am András, from the workshops in Ljubljana, and working on multiple projects regarding interesting binary systems. I have a many tales to tell, but I wish to write about a recent one which I thought of initially as a bug.
So, I am on the mcmc stage on my one of the projects, and so far I was sampling the rv-s last month. Therefore I disabled the lightcurve as the textbook says. There was a month blackout on my part (correcting a paper according to the referee's comments, checking another phoebe2 project of a MSc student, etc), and I continued my project in question today. To check the fit of model to the lightcurve, I gave the following command as a first step
b.run_compute('nm_fit', dataset = 'lc_i03', model = 'latest')
and checking it with b.plot(...), I encountered with ridiculously large fluxes (~10^26 W/m^2 instead of normalized ones).
Luckily, I found the answer after some rest. I forgot to enable the lightcurve (
lc_i03
) in the computer options. Soresulted the correct fluxes, plots etc. I had the phoebe logger on WARNING, and it didn't warn that I would like to compute something which is not supposed to due to the disable.
So I made a test for phoebe2 and maybe it failed. Should it be working this way, and the user have the responsibility to realize this, or not?
Maybe important for reproducing: passband luminousity mode of lightcurve is on 'component-coupled' and the pblum of the primary component was fitted on the optimization stage of the project.
I imagine that you have such kind of encounters. The strange fact for me is the
run_compute
is working easily despite the disable of the dataset in question, but gives erroneous fluxes. I tried to search here about this but didn't find the proper keyword to find. If somebody asked this before, I am sorry for not finding it. 😆PS: the master student found one or two strange behavior of phoebe (or even emcee but this was just for me...), and I found the cause of it after one-two days. I couldn't write or ask about it due to the closing deadline...
Beta Was this translation helpful? Give feedback.
All reactions