Timespan

class lsst.daf.butler.Timespan

Bases: typing.Generic, tuple

Attributes Summary

begin
end

Methods Summary

count($self, value, /) Return number of occurrences of value.
index($self, value[, start, stop]) Return first index of value.
intersection()
overlaps(other[, ops])

Attributes Documentation

begin
end

Methods Documentation

count($self, value, /)

Return number of occurrences of value.

index($self, value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.

intersection() → Optional[lsst.daf.butler.core.timespan.Timespan]
overlaps(other, ops=<module 'operator' from '/opt/lsst/software/stack/python/miniconda3-4.7.12/envs/lsst-scipipe-984c9f7/lib/python3.7/operator.py'>)