Jet#
- class jetset.jet_model.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, geometry='spherical')[source]#
Bases:
JetBase
Jet class
Methods Summary
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
Methods Documentation
- 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/s))
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)