alifestd_is_ultrametric_polars

alifestd_is_ultrametric_polars(phylogeny_df: DataFrame, *, atol: float = 0.0) bool

Do all tips share the same origin_time (within atol)?

Tests the peak-to-peak (ptp) range of origin_time among tips against atol. Returns True for empty phylogenies. Raises ValueError if any tip’s origin_time is null/NaN. Must represent an asexual phylogeny (when is_leaf is not already present).