redback.transient_models.magnetar_models.evolving_magnetar_only

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

Millisecond magnetar model with evolution of inclination angle

Parameters:
  • time – time in seconds

  • 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.