BulgeWagg2022#

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

Bases: Frankel2018SFH

A star formation history for the bulge 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 a beta distribution, fit to match the distribution in Fig.

Methods Documentation

draw_lookback_times(size)[source]#

Inverse CDF sampling of lookback times using a beta distribution, fit to match the distribution in Fig. 7 of Bovy+19 but accounting for the sample’s bias.

Parameters:
sizeint

How many times to draw

Returns:
tauQuantity [time]

Random lookback times