redback.transient_models.general_synchrotron_models.pwn

redback.transient_models.general_synchrotron_models.pwn(time, redshift, mej, l0, tau_sd, nn, eps_b, gamma_b, **kwargs)[source]
Parameters:
  • time – time in observer frame in days

  • redshift – redshift

  • mej – ejecta mass in solar units

  • l0 – initial magnetar spin-down luminosity (in erg/s)

  • tau_sd – magnetar spin down damping timescale (in seconds)

  • nn – braking index

  • eps_b – magnetization of the PWN

  • gamma_b – Lorentz factor of electrons at synchrotron break

  • kwargs – Additional parameters -

  • E_k – initial ejecta kinetic energy

  • kappa – opacity (used only in dynamics and optical absorption)

  • kappa_gamma – gamma-ray opacity used to calculate magnetar thermalisation efficiency (used only in dynamics)

  • q1 – low energy spectral index (must be < 2)

  • q2 – high energy spectral index (must be > 2)

  • Zbar – average proton number (used for free-free and photoelectric absorption)

  • Y_e – electron fraction (used for Compton scattering)

  • Y_fe – free electron fraction (used for free-free absorption)

  • pair_cascade_switch – whether to account for pair cascade losses, default is False

  • albedo (ejecta) – ejecta albedo; default is 0.5

  • pair_cascade_fraction – fraction of magnetar luminosity lost to pair cascades; default is 0.05

  • use_r_process – determine whether the ejecta is composed of r-process material; default is no

  • frequency – (frequency to calculate - Must be same length as time array or a single number)

  • f_nickel – Ni^56 mass as a fraction of ejecta mass

Returns:

flux density or AB magnitude or dynamics output