mushi.utils.tmrca_sf

tmrca_sf(t, y, n)[source]

The survival function of the TMRCA at each time point.

Parameters
  • t (ndarray) – time grid (including zero and infinity)

  • y (ndarray) – effective population size in each epoch

  • n (int) – number of sampled haplotypes

Return type

ndarray