itacart.intervals.intervals_count

itacart.intervals.intervals_count(intervals)[source]

How many cells of the list’s depth the list covers.

Example

>>> intervals_count(cells_to_intervals("NE(0625/0451(3))", resolution=4))
100
Parameters:

intervals (Iterable[Sequence[int]])

Return type:

int