Open chto opened 7 years ago
Hi @chto ,
It's a feature. The functions you are using to optimize the models (opt_rough and opt_fine) do not contain, by choice, any flux optimization. If you think you need some, the best thing to do is to define an optimizing function yourself and add the flux optimization in it. To do that, you can use the built-in function pycs.spl.multiopt.opt_fluxshift.
Thanks @vbonvin ! I guess under the assumption that the image brightnesses are being affected lensing (either by the macro model or microlensing by the stars), then its the magnitude shift that is important (because lens magnification applies a multiplicative factor in flux, and so an additive offset in magnitude). I like what you write in the online documentation, that a shift in flux corresponds to a deformation in the light curve in magnitudes - so it makes sense that we are only interested in magnitude shifts. Thanks!
Hi all, and thanks @vbonvin for answering while I was travelling ! Indeed, I would not worry about flux shifts in this first approach. Also because it's a bit tricky to optimize them.
We implemented them as we do see apparent "flux shifts" in a few real datasets (if interested, see the J1001 light curves http://arxiv.org/abs/1306.5105). This can be due to "contamination" of the individual quasar image photometry by some additional light source (say the lens galaxy, although we try to avoid this of course), or by the combination of microlensing and quasar structure (e.g., ML could bring differential magnification between time-variable blobs around the central engine).
Hi @mtewes !
I am learning
pycs
with @drphilmarshall, while working through theSLTimer
notebooks that Milan wrote this summer. It looks as though the offsets found by optimizing a spline model are only in magnitude, and not also in flux - is this a bug or a feature?Thanks!
Chun-Hao