astromodels.functions.functions_1D.blackbody module

class astromodels.functions.functions_1D.blackbody.Blackbody(**kwargs)[source]

Bases: Function1D

description :

A blackbody function

latex : $f(x) = K frac{x^2}{exp(frac{x}{kT}) -1} $

parameters :
K :

desc : initial value : 1e-4 min : 0. is_normalization : True

kT :

desc : temperature of the blackbody initial value : 30.0 min: 0.

evaluate(x, K, kT)[source]
static info()
class astromodels.functions.functions_1D.blackbody.ModifiedBlackbody(**kwargs)[source]

Bases: Function1D

description :

A blackbody function

latex : $f(x) = K frac{x^2}{exp(frac{x}{kT}) -1} $

parameters :
K :

desc : initial value : 1e-4 min : 0. is_normalization : True

kT :

desc : temperature of the blackbody initial value : 30.0 min: 0.

evaluate(x, K, kT)[source]
static info()
class astromodels.functions.functions_1D.blackbody.NonDissipativePhotosphere(**kwargs)[source]

Bases: Function1D

description :

Non-dissipative photosphere of a GRB occuring above the saturation radius Acuner, Z., Ryde, F. & Yu, H.-F. Mon Not R Astron Soc 487, 5508–5519 (2019).

latex : $N_{mathrm{E}}=Kleft(frac{E}{E_{mathrm{pivot}}}right)^{0.4} e^{-left(frac{E}{E_{c}}right)^{0.65}}$

parameters :
K :

desc : initial value : 1e-4 min : 0. is_normalization : True

ec :

desc : peak energy initial value : 200.0 min: 0.

piv :

desc : the pivot energy initial value: 100. fix: True

evaluate(x, K, ec, piv)[source]
static info()
class astromodels.functions.functions_1D.blackbody.NonDissipativePhotosphere_Deep(**kwargs)[source]

Bases: Function1D

description :

Non-dissipative photosphere of a GRB occuring BELOW the saturation radius. Acuner, Z., Ryde, F. & Yu, H.-F. Mon Not R Astron Soc 487, 5508–5519 (2019).

latex : $N_{mathrm{E}}=Kleft(frac{E}{E_{mathrm{pivot}}}right)^{0.66} e^{-left(frac{E}{E_{c}}right)}$

parameters :
K :

desc : initial value : 1e-4 min : 0. is_normalization : True

ec :

desc : peak energy initial value : 200.0 min: 0.

piv :

desc : the pivot energy initial value: 100. fix: True

evaluate(x, K, ec, piv)[source]
static info()