astromodels.functions.functions_1D.absorption module
- class astromodels.functions.functions_1D.absorption.AbundanceTable(name: str, tables: List[str], _current_table: str)[source]
Bases:
object
- property current_table: str
- property info: str
- name: str
- set_table(table: str)[source]
set the current table from AG89, WILM or ASPL
- Parameters:
table (str) –
- Returns:
- tables: List[str]
- property xsect_table: ndarray
returns the XSECT table for the current model
- Returns:
- exception astromodels.functions.functions_1D.absorption.EBLTableNotAvailable[source]
Bases:
ImportWarning
- exception astromodels.functions.functions_1D.absorption.InvalidUsageForFunction[source]
Bases:
Exception
- class astromodels.functions.functions_1D.absorption.PhAbs(**kwargs)[source]
Bases:
Function1D
- description :
Photometric absorption (phabs implementation), f(E) = exp(- NH * sigma(E)) contributed by Dominique Eckert
- parameters :
- NH :
desc : absorbing column density in units of 1e22 particles per cm^2 initial value : 1.0 is_normalization : False transformation : log10 min : 1e-4 max : 1e4 delta : 0.1
- redshift :
desc : the redshift of the source initial value : 0. is_normalization : False min : 0 max : 15 delta : 0.1 fix: True
- properties:
- abundance_table:
desc: the abundance table for the model initial value: AG89 allowed values: - AG89 - ASPL function: _init_xsect
- property abundance_table_info
- static info()
- class astromodels.functions.functions_1D.absorption.TbAbs(**kwargs)[source]
Bases:
Function1D
- description :
Photometric absorption (Tbabs implementation), f(E) = exp(- NH * sigma(E)) contributed by Dominique Eckert
- parameters :
- NH :
desc : absorbing column density in units of 1e22 particles per cm^2 initial value : 1.0 is_normalization : True transformation : log10 min : 1e-4 max : 1e4 delta : 0.1
- redshift :
desc : the redshift of the source initial value : 0. is_normalization : False min : 0 max : 15 delta : 0.1 fix: True
- properties:
- abundance_table:
desc: the abundance table for the model initial value: WILM allowed values: - WILM - AG89 - ASPL function: _init_xsect
- property abundance_table_info
- static info()
- class astromodels.functions.functions_1D.absorption.WAbs(**kwargs)[source]
Bases:
Function1D
- description :
Photometric absorption (Wabs implementation), f(E) = exp(- NH * sigma(E)) contributed by Dominique Eckert
- parameters :
- NH :
desc : absorbing column density in units of 1e22 particles per cm^2 initial value : 1.0 is_normalization : True transformation : log10 min : 1e-4 max : 1e4 delta : 0.1
- redshift :
desc : the redshift of the source initial value : 0. is_normalization : False min : 0 max : 15 delta : 0.1 fix: True
- property abundance_table_info
- static info()