JetSpecComponent#
- class jetset.jet_spectral_components.JetSpecComponent(jet_obj, name, blob_object, var_name=None, state_dict=None, state=None, tau=None)[source]#
Bases:
objectJetSpecComponent class.
Attributes Summary
Methods Summary
fill_SED([log_log, lin_nu, skip_zeros])Fill sed.
get_SED_points([log_log, lin_nu, interp, ...])Return sed points.
get_emiss_lim([seed])Return emiss lim.
Return var state.
plot([y_min, y_max])Plot.
show()Show.
Attributes Documentation
Hidden.
- Returns:
Requested value.
- Return type:
object
- state#
State.
- Returns:
Requested value.
- Return type:
object
Methods Documentation
- fill_SED(log_log=False, lin_nu=None, skip_zeros=False)[source]#
Fill sed.
- Parameters:
log_log (bool, optional) – If
True, operate in log10 space.lin_nu (object, optional) – Frequency/energy control value for lin nu.
skip_zeros (bool, optional) – If
True, skip zeros.
- get_SED_points(log_log=False, lin_nu=None, interp='linear', skip_zeros=False)[source]#
Return sed points.
- Parameters:
log_log (bool, optional) – If
True, operate in log10 space.lin_nu (object, optional) – Frequency/energy control value for lin nu.
interp (str, optional) – Parameter controlling interp.
skip_zeros (bool, optional) – If
True, skip zeros.
- Returns:
Requested value.
- Return type:
object
- get_emiss_lim(seed=False)[source]#
Return emiss lim.
- Parameters:
seed (bool, optional) – Parameter controlling seed.
- Returns:
Requested value.
- Return type:
object