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

ebl_absorption_model #211

Closed LL-RL closed 2 years ago

LL-RL commented 2 years ago

how ebl_absorption_model set energy range (GeV-TeV) in naima, when we use MCMC to fitting model ?

zblz commented 2 years ago

When calling the transmission method of an instance of EblAbsorptionModel, the first argument can be either an array of energies, or a data table with an energy column. Transmission will be computed for each of these energies, and an array with the same shape will be returned.

LL-RL commented 2 years ago

I am a graduate student from China. My name is Lu Lin. I am learning your Niama, but I have the following questions: How does the normalized parameter norm used at Naima give the electron number density per unit volume N? Best wishes,

---Original--- From: "Víctor @.> Date: Tue, Nov 2, 2021 06:03 AM To: @.>; Cc: @.**@.>; Subject: Re: [zblz/naima] ebl_absorption_model (#211)

When calling the transmission method of an instance of EblAbsorptionModel, the first argument can be either an array of energies, or a data table with an energy column. Transmission will be computed for each of these energies, and an array with the same shape will be returned.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.