posydon.binary_evol.DT.magnetic_braking

posydon.binary_evol.DT.magnetic_braking.prescriptions

posydon.binary_evol.DT.magnetic_braking.prescriptions.CARB_braking(primary, secondary, verbose=False)[source]

Calculates the change in spin of each star due

to magnetic braking, according to:

Van & Ivanova 2019, ApJ, 886, L31

Parameters:
  • primary (SingleStar object) – A single star object, representing the primary (more evolved) star in the binary and containing its properties.

  • secondary (SingleStar object) – A single star object, representing the secondary (less evolved) star in the binary and containing its properties.

  • verbose (bool) – True if we want to print stuff.

Returns:

  • dOmega_sec (float) – The change in rotation rate of the secondary (less evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]

  • dOmega_pri (float) – The change in rotation rate of the primary (more evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]

posydon.binary_evol.DT.magnetic_braking.prescriptions.G18_braking(primary, secondary, verbose=False)[source]

Calculates the change in spin of each star due

to magnetic braking, according to:

Garraffo et al. 2018, ApJ, 862, 90

Free parameters calibrated to match the Solar rotation

rate by Gossage et al. 2021, ApJ, 912, 65.

Parameters:
  • primary (SingleStar object) – A single star object, representing the primary (more evolved) star in the binary and containing its properties.

  • secondary (SingleStar object) – A single star object, representing the secondary (less evolved) star in the binary and containing its properties.

  • verbose (bool) – True if we want to print stuff.

Returns:

  • dOmega_sec (float) – The change in rotation rate of the secondary (less evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]

  • dOmega_pri (float) – The change in rotation rate of the primary (more evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]

posydon.binary_evol.DT.magnetic_braking.prescriptions.M15_braking(primary, secondary, verbose=False)[source]

Calculates the change in spin of each star due

to magnetic braking, according to:

Matt et al. 2015, ApJ, 799, L23

Free parameters calibrated to match the Solar rotation

rate by Gossage et al. 2021, ApJ, 912, 65.

Parameters:
  • primary (SingleStar object) – A single star object, representing the primary (more evolved) star in the binary and containing its properties.

  • secondary (SingleStar object) – A single star object, representing the secondary (less evolved) star in the binary and containing its properties.

  • verbose (bool) – True if we want to print stuff.

Returns:

  • dOmega_sec (float) – The change in rotation rate of the secondary (less evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]

  • dOmega_pri (float) – The change in rotation rate of the primary (more evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]

posydon.binary_evol.DT.magnetic_braking.prescriptions.RVJ83_braking(primary, secondary, verbose=False)[source]

Calculates the change in spin of each star due

to magnetic braking, according to:

Rappaport, S., Joss, P. C., & Verbunt, F. 1983, ApJ, 275, 713

Parameters:
  • primary (SingleStar object) – A single star object, representing the primary (more evolved) star in the binary and containing its properties.

  • secondary (SingleStar object) – A single star object, representing the secondary (less evolved) star in the binary and containing its properties.

  • verbose (bool) – True if we want to print stuff.

Returns:

  • dOmega_sec (float) – The change in rotation rate of the secondary (less evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]

  • dOmega_pri (float) – The change in rotation rate of the primary (more evolved)

  • star for a time step in step_detached’s solve_ivp(). [rad/yr^2]