calc_definitive_max_rank_of_first_retained_disparity_between

calc_definitive_max_rank_of_first_retained_disparity_between(first: Union[HereditaryStratigraphicColumn, HereditaryStratigraphicSpecimen], second: Union[HereditaryStratigraphicColumn, HereditaryStratigraphicSpecimen]) int | None

Determine hard, exclusive upper bound on MRCA generation.

At most, how many depositions elapsed along the columns’ lines of descent before the first mismatching strata at the same rank between self and second?

Returns

int, optional

The number of depositions elapsed or None if no disparity (i.e., both columns have same number of strata deposited and the most recent stratum is common between first and second).

Notes

If no mismatching strata are found but first and second have different numbers of strata deposited, this method returns one greater than the lesser of the columns’ deposition counts.