LowAlphaDiscWagg2022#

class cogsworth.sfh.LowAlphaDiscWagg2022(**kwargs)[source]#

Bases: Frankel2018SFH

A star formation history for the low-alpha disc of the Milky Way, used in Wagg+2022

Parameters are the same as Frankel2018SFH

Methods Summary

draw_lookback_times(size)

Inverse CDF sampling of lookback times using Frankel+2018 Eq.

draw_radii(size)

Inverse CDF sampling of galactocentric radii using Frankel+2018 Eq.

Methods Documentation

draw_lookback_times(size)[source]#

Inverse CDF sampling of lookback times using Frankel+2018 Eq. 4, separated and normalised at 8 Gyr.

Parameters:
sizeint

How many times to draw

Returns:
tauQuantity [time]

Random lookback times

draw_radii(size)[source]#

Inverse CDF sampling of galactocentric radii using Frankel+2018 Eq. 5. The scale length is calculated using Eq. 6.

Parameters:
sizeint

How many radii to draw

Returns:
rhoQuantity [length]

Random Galactocentric radius