guillochon / MOSFiT

Modular Open Source Fitter for Transients
http://mosfit.readthedocs.io/
MIT License
41 stars 55 forks source link

Photometry with flux density being ignored #144

Open villrv opened 6 years ago

villrv commented 6 years ago

filters like g', r', etc get ignored when fitting with mosfit

guillochon commented 6 years ago

So I just tested on iPTF13abc (which has primed filter names) and it seemed to pull them in, both in the master and the nester branches. Could you point to a specific event that is showing the issue?

guillochon commented 6 years ago

Reproduced with SDSS-II SN 6333, tracking down the bug now.

guillochon commented 6 years ago

Turns out this wasn't actually primed filters being ignored, but photometry that also provided a fluxdensity key, which is the case for much of the SDSS photometry. This is fixed in https://github.com/guillochon/MOSFiT/commit/89f50903e5a492471338145204fe19a44d0bc04c and will be released ASAP as MOSFiT 1.0.1.