rpoleski / MulensModel

Microlensing Modelling package
https://rpoleski.github.io/MulensModel/
Other
57 stars 15 forks source link

Plotting models in fluxes #129

Closed jenniferyee closed 7 months ago

jenniferyee commented 7 months ago

Weirdly enough, model.plot_lc does not appear to have a phot_fmt keyword. The light curve can ONLY be plotted in MAGNITUDES. Sometimes, we might want to use fluxes, so we should enable that as an option. Requires various refactoring in other functions.

rpoleski commented 7 months ago

It calls Model._get_lc() which also returns magnitudes always. That one should be changed as well.

rpoleski commented 7 months ago

@jenniferyee do you suggest to add a keyword to model.plot_lc or add a function model.plot_flux?

rpoleski commented 7 months ago

@jenniferyee - it was solved by Raphael in https://github.com/rpoleski/MulensModel/pull/131