}

Tsdate is a scalable method for estimating the age of ancestral nodes in a tree sequence.

dated_ts = tsdate.date(inferred_ts)