EBLAbsorptionTemplate#
- class jetset.template_2Dmodel.EBLAbsorptionTemplate(redshift_array, energy_array, tau_array, applied_model=None, z=1.0, template_name='tau_ebl_template', nu_size=100)[source]#
Bases:
TemplateTable2D,MultiplicativeModelEBLAbsorptionTemplate class.
Attributes Summary
Energy array.
Redshift array.
Tau array.
Methods Summary
apply_to(model)Apply to.
eval([fill_SED, nu, get_model, loglog])from_name(template_name[, applied_model, z, ...])plot_model([plot_obj, label, line_style, ...])Plot model.
Attributes Documentation
- energy_array#
Energy array.
- Returns:
Requested value.
- Return type:
object
- redshift_array#
Redshift array.
- Returns:
Requested value.
- Return type:
object
- tau_array#
Tau array.
- Returns:
Requested value.
- Return type:
object
- z#
- Returns:
Requested value.
- Return type:
object
Methods Documentation
- eval(fill_SED=True, nu=None, get_model=False, loglog=False)[source]#
- Parameters:
fill_SED
nu
get_model
loglog
z
- classmethod from_name(template_name, applied_model=None, z=1.0, nu_size=100)[source]#
- Parameters:
template_name
applied_model
z
nu_size
- plot_model(plot_obj=None, label=None, line_style='-', color=None, frame='obs')[source]#
Plot model.
- Parameters:
plot_obj (object, optional) – Existing plot object to update.
label (object, optional) – Label used in output or plots.
line_style (str, optional) – Parameter controlling line style.
color (object, optional) – Matplotlib color specification.
frame (str, optional) – Reference frame for data/model values.
- Returns:
Computed result.
- Return type:
object