# -*- coding: utf-8 -*- """ obspy.realtime - Real time support for ObsPy ============================================ The obspy.realtime package extends the ObsPy core classes with real time functionalities. :copyright: The ObsPy Development Team ([email protected]) & Anthony Lomax :license: GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) The obspy.realtime development has been supported by the NERA project ["Network of European Research Infrastructures for Earthquake Risk Assessment and Mitigation" under the European Community's Seventh Framework Programme (FP7/2007-2013) grant agreement n° 262330] and implemented within the activities of the JRA2/WP12 "Tools for real-time seismology, acquisition and mining". """ from obspy.core.util.base import _getVersionString from obspy.realtime.rtmemory import RtMemory from obspy.realtime.rttrace import RtTrace _version__ = _getVersionString("obspy.realtime") if __name__ == '__main__': import doctest doctest.testmod(exclude_empty=True)
================================================================== ObsPy is an open-source project dedicated to provide a Python framework for processing seismological data. It provides parsers for common file formats and seismological signal processing routines which allow the manipulation of seismological time series. The goal of the ObsPy project is to facilitate rapid application development for seismology. :copyright: The ObsPy Development Team ([email protected]) :license: GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) """ # don't change order from obspy.core.utcdatetime import UTCDateTime from obspy.core.util.base import _getVersionString from obspy.core.trace import Stats, Trace from obspy.core.stream import Stream, read __version__ = _getVersionString() if __name__ == '__main__': import doctest doctest.testmod(exclude_empty=True)
# -*- coding: utf-8 -*- """ obspy.seedlink - SeedLink client for ObsPy ========================================== :copyright: The ObsPy Development Team ([email protected]) & Anthony Lomax :license: GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) The obspy.seedlink development has been supported by the NERA project ["Network of European Research Infrastructures for Earthquake Risk Assessment and Mitigation" under the European Community's Seventh Framework Programme (FP7/2007-2013) grant agreement n° 262330] and implemented within the activities of the JRA2/WP12 "Tools for real-time seismology, acquisition and mining". """ from obspy.core.util.base import _getVersionString _version__ = _getVersionString("obspy.seedlink") if __name__ == '__main__': import doctest doctest.testmod(exclude_empty=True)
>>> print(tr) # doctest: +ELLIPSIS BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - ... | 100.0 Hz, 3000 samples >>> tr.data array([ 0. , 0.00694644, 0.07597424, ..., 1.93449584, 0.98196204, 0.44196924]) >>> tr.stats # doctest: +NORMALIZE_WHITESPACE Stats({'network': 'BW', 'delta': 0.01, 'station': 'RJOB', 'location': '', 'starttime': UTCDateTime(2009, 8, 24, 0, 20, 3), 'npts': 3000, 'calib': 1.0, 'sampling_rate': 100.0, 'channel': 'EHZ'}) >>> tr.stats.starttime UTCDateTime(2009, 8, 24, 0, 20, 3) .. _NumPy: http://docs.scipy.org """ # don't change order from obspy.core.utcdatetime import UTCDateTime from obspy.core.util.base import _getVersionString from obspy.core.util.attribdict import AttribDict from obspy.core.trace import Stats, Trace from obspy.core.stream import Stream, read from obspy.core.scripts.runtests import runTests __version__ = _getVersionString("obspy.core") if __name__ == '__main__': import doctest doctest.testmod(exclude_empty=True)
obspy.realtime - Real time support for ObsPy ============================================ The obspy.realtime package extends the ObsPy core classes with real time functionalities. :copyright: The ObsPy Development Team ([email protected]) & Anthony Lomax :license: GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html) The obspy.realtime development has been supported by the NERA project ["Network of European Research Infrastructures for Earthquake Risk Assessment and Mitigation" under the European Community's Seventh Framework Programme (FP7/2007-2013) grant agreement n° 262330] and implemented within the activities of the JRA2/WP12 "Tools for real-time seismology, acquisition and mining". """ from obspy.core.util.base import _getVersionString from obspy.realtime.rtmemory import RtMemory from obspy.realtime.rttrace import RtTrace _version__ = _getVersionString("obspy.realtime") if __name__ == '__main__': import doctest doctest.testmod(exclude_empty=True)
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - ... | 100.0 Hz, 3000 samples >>> tr = st[0] >>> print(tr) # doctest: +ELLIPSIS BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - ... | 100.0 Hz, 3000 samples >>> tr.data array([ 0. , 0.00694644, 0.07597424, ..., 1.93449584, 0.98196204, 0.44196924]) >>> tr.stats # doctest: +NORMALIZE_WHITESPACE Stats({'network': 'BW', 'delta': 0.01, 'station': 'RJOB', 'location': '', 'starttime': UTCDateTime(2009, 8, 24, 0, 20, 3), 'npts': 3000, 'calib': 1.0, 'sampling_rate': 100.0, 'channel': 'EHZ'}) >>> tr.stats.starttime UTCDateTime(2009, 8, 24, 0, 20, 3) .. _NumPy: http://docs.scipy.org """ # don't change order from obspy.core.utcdatetime import UTCDateTime from obspy.core.util.base import _getVersionString from obspy.core.util.attribdict import AttribDict from obspy.core.trace import Stats, Trace from obspy.core.stream import Stream, read from obspy.core.scripts.runtests import runTests __version__ = _getVersionString("obspy.core") if __name__ == '__main__': import doctest doctest.testmod(exclude_empty=True)