obspy.core.inventory.util.DataAvailabilitySpan

class DataAvailabilitySpan(start, end, number_of_segments, maximum_time_tear=None)[source]

Bases: obspy.core.util.base.ComparingObject

Data availability spans are represented by a start time, end time, number of segments contained in the span and maximum time tear within a certain span.

Parameters:
  • start (UTCDateTime) Start of time span
  • end (UTCDateTime) End of time span
  • number_of_segments (int) The number of continuous time series segments contained in the specified time range. A value of 1 indicates that the time series is continuous from start to end.
  • maximum_time_tear (float) The maximum time tear (gap or overlap) in seconds between time series segments in the specified range.

Attributes

__dict__
__doc__ str(object=’‘) -> str
__hash__
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_repr_pretty_

Special Methods

__dir__ default dir() implementation
__eq__
__format__ default object formatter
__init__
__ne__
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__str__
__subclasshook__ Abstract classes can override this to customize issubclass().