redback.transient_models.magnetar_models.evolving_magnetar

redback.transient_models.magnetar_models.evolving_magnetar(time, a_1, alpha_1, mu0, muinf, p0, sinalpha0, tm, II, **kwargs)[source]

Millisecond magnetar model with evolution of inclination angle

Parameters:
  • time – time in seconds

  • A_1 – amplitude of curvature effect power law

  • alpha_1 – index of curvature effect power law

  • mu0 – Initial magnetic moment [10^33 G cm^3]

  • muinf – Magnetic moment when field relaxes [10^33 G cm^3]

  • p0 – initial spin period

  • sinalpha0 – initial sin(alpha0) where alpha is the angle between B and P axes.

  • tm – magnetic field decay timescale in days

  • II – Moment of inertia in cgs

  • kwargs – key word argument for handling plotting

Returns:

luminosity (depending on scaling) as a function of time.