Jet

class Jet(cosmo=None, name=None, emitters_type='electrons', emitters_distribution='plc', emitters_distribution_log_values=False, beaming_expr='delta', T_esc_e_second=None, jet_workplace=None, verbose=None, clean_work_dir=True, electron_distribution=None, proton_distribution=None, electron_distribution_log_values=None, proton_distribution_log_values=None)[source]

Bases: JetBase

Jet class

Methods Summary

add_bremss_ep_component()

add_pp_gamma_component()

add_pp_neutrino_component()

available_electron_distributions()

available_proton_distributions()

get_electron_distribution_name()

get_proton_distribution_name()

set_B_eq(nuFnu_obs, nu_obs[, B_min, B_max, ...])

Sets the magnetic field (B) equipartition from numerical minimization over a logarithmic grid of B values, for a given observed flux of the synchrotron emission (nuFnu_obs) at a given observed frequency (nu_obs)

set_N_from_F_sync(F_sync)

Sets the normalization of N to match the observed integrated synchrotron flux

set_N_from_L_sync(L_sync)

Sets the normalization of N to match the src integrated Luminosity of the synchrotron emission

set_N_from_U_emitters(U[, gmin, gmax])

Sets the normalization of N to match the energy density of the primary emitters :param U: :type U: float, (erg/cm3) :param gmin: minimum value to evaluate the integral :type gmin: float, optional, :param gmax: maximum value to evaluate the integral :type gmax: float, optional,

set_N_from_U_vol_emitters(U_vol[, gmin, gmax])

Sets the normalization of N to match the volume integrated energy of the primary emitters

set_N_from_nuFnu(nuFnu_obs, nu_obs)

Sets the normalization of N to match the observed flux nuFnu_obs at a given frequency nu_obs

set_N_from_nuLnu(nuLnu_src, nu_src)

Sets the normalization of N to match the src Luminosity of the synchrotron emission at src frequency nu

show_electron_distribution()

show_proton_distribution()

Methods Documentation

add_bremss_ep_component()[source]
add_pp_gamma_component()[source]
add_pp_neutrino_component()[source]
static available_electron_distributions()[source]
static available_proton_distributions()[source]
get_electron_distribution_name()[source]
get_proton_distribution_name()[source]
set_B_eq(nuFnu_obs, nu_obs, B_min=1e-09, B_max=1.0, N_pts=20, plot=False)[source]

Sets the magnetic field (B) equipartition from numerical minimization over a logarithmic grid of B values, for a given observed flux of the synchrotron emission (nuFnu_obs) at a given observed frequency (nu_obs)

Parameters:
  • nuFnu_obs (float, (erg cm-1 s-1 Hz-1)) – observed differential synchrotron flux

  • nu_obs (float, (Hz)) – synchrotron emission at src frequency nu (Hz)

  • B_min (float, (Gauss), optional) – lower bound for B-grid

  • B_max (float, (Gauss), optional) – upper bound for B-grid

  • N_pts (int, optional) – Other number of points to build the B-grid

  • plot (book, optional, default=False) – if True plots the numerical grid

set_N_from_F_sync(F_sync)[source]

Sets the normalization of N to match the observed integrated synchrotron flux

Parameters:

F_sync (float, (erg cm-1 s-1 Hz-1)) – observed integrated synchrotron flux

set_N_from_L_sync(L_sync)[source]

Sets the normalization of N to match the src integrated Luminosity of the synchrotron emission

Parameters:

L_sync (float (erg/s)) –

set_N_from_U_emitters(U, gmin=None, gmax=None)[source]

Sets the normalization of N to match the energy density of the primary emitters :param U: :type U: float, (erg/cm3) :param gmin: minimum value to evaluate the integral :type gmin: float, optional, :param gmax: maximum value to evaluate the integral :type gmax: float, optional,

set_N_from_U_vol_emitters(U_vol, gmin=None, gmax=None)[source]

Sets the normalization of N to match the volume integrated energy of the primary emitters

Parameters:
  • U_vol (float (erg)) –

  • gmin (float, optional,) – minimum value to evaluate the integral

  • gmax (float, optional,) – maximum value to evaluate the integral

set_N_from_nuFnu(nuFnu_obs, nu_obs)[source]

Sets the normalization of N to match the observed flux nuFnu_obs at a given frequency nu_obs

Parameters:
  • nuFnu_obs (float, (erg cm-1 s-1 Hz-1)) – observed differential synchrotron flux

  • nu_obs (float, (Hz)) – synchrotron emission at src frequency nu (Hz)

set_N_from_nuLnu(nuLnu_src, nu_src)[source]

Sets the normalization of N to match the src Luminosity of the synchrotron emission at src frequency nu

Parameters:
  • nuLnu_src (float, (erg/s)) – Luminosity of the synchrotron emission at src frequency nu

  • nu_src (float (Hz)) – synchrotron emission at src frequency nu (Hz)

show_electron_distribution()[source]
show_proton_distribution()[source]