Skip to content

Commit

Permalink
modified all radiative classes to inherit RadiativeProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
cosimoNigro committed Jan 4, 2024
1 parent a34f12e commit e830730
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion agnpy/compton/external_compton.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
)
from ..utils.conversion import nu_to_epsilon_prime, to_R_g_units
from ..utils.geometry import x_re_shell, mu_star_shell, x_re_ring
from agnpy.radiation.radiative_process import RadiativeProcess
from ..radiative_process import RadiativeProcess
from ..targets import (
CMB,
PointSourceBehindJet,
Expand Down
2 changes: 1 addition & 1 deletion agnpy/compton/synchrotron_self_compton.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
nu_to_integrate,
)
from ..utils.conversion import nu_to_epsilon_prime
from agnpy.radiation.radiative_process import RadiativeProcess
from ..radiative_process import RadiativeProcess

__all__ = ["SynchrotronSelfCompton"]

Expand Down
2 changes: 1 addition & 1 deletion agnpy/synchrotron/proton_synchrotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from astropy.constants import e, c, m_p
from ..utils.math import axes_reshaper, gamma_e_to_integrate
from ..utils.conversion import nu_to_epsilon_prime, B_to_cgs, lambda_c_p
from agnpy.radiation.radiative_process import RadiativeProcess
from ..radiative_process import RadiativeProcess
from .synchrotron import single_particle_synch_power, tau_to_attenuation

__all__ = ["ProtonSynchrotron"]
Expand Down
2 changes: 1 addition & 1 deletion agnpy/synchrotron/synchrotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from astropy.constants import e, h, c, m_e, sigma_T
from ..utils.math import axes_reshaper, gamma_e_to_integrate
from ..utils.conversion import nu_to_epsilon_prime, B_to_cgs, lambda_c_e
from agnpy.radiation.radiative_process import RadiativeProcess
from ..radiative_process import RadiativeProcess


__all__ = ["R", "nu_synch_peak", "Synchrotron"]
Expand Down

0 comments on commit e830730

Please sign in to comment.