JohannesBuchner / PyMultiNest

Pythonic Bayesian inference and visualization for the MultiNest Nested Sampling Algorithm and PyCuba's cubature algorithms.
http://johannesbuchner.github.io/PyMultiNest/
Other
197 stars 89 forks source link

issue with adding a JWST/MIRI photometric band when generating a model galaxy spectrum? #218

Closed Vladan1986 closed 2 years ago

Vladan1986 commented 2 years ago

Hello,

I have an issue when I want to generate a model galaxy spectrum with predictions for photometric fluxes for an example galaxy with HST and JWST filters.

When I add all the available filters for this galaxy, including the MIRI F770W filter (in the attachment) I obtain 1 data point that seems to be <1 in the x axis log space, so lambda seems to be negative (Fig. 2). If I remove the F770W filter, I obtain Fig. 1.

I tried removing the 0 and < 10^{-11} flux values from the F770W throughput values, but that didn't solve the issue. Any suggestion or help is welcome.

Cheers,

fig-2 F770W.csv fig-1

JohannesBuchner commented 2 years ago

This does not seem related to pymultinest at all. Try to simplify your problem.