zblz / naima

Derivation of non-thermal particle distributions through MCMC spectral fitting
http://naima.readthedocs.io
BSD 3-Clause "New" or "Revised" License
43 stars 54 forks source link

How to consider the upper-limit for Fermi? #205

Closed Jongsu020509 closed 2 years ago

Jongsu020509 commented 3 years ago

Hi, thanks for the development of this code!

I'm trying to use the SED fit with both X-ray (2-10keV) and Gamma-ray (Fermi band) band. Naima can consider the upper-limit. Also, I know how to set up the upper-limit in the data table. I need to use Fermi data, which includes two or three points of the upper-limit at least.

I hope to know how Naima consider and compute during the fitting analysis. Could you explain that?

Best Regards, Jongsu

zblz commented 2 years ago

Hi Jongsu,

What do you mean by "Fermi data, which includes two or three points of the upper-limit at least."? Do you mean that it is a likelihood profile, as opposed to a single upper limit value? Unfortunately naima cannot take those into account, so you would need to compute a single upper limit at a given confidence level and use that in naima.