Professional Documents
Culture Documents
Python Toolbox
Python Toolbox
Moritz Beyreuther (1), Robert Barsch (1), Lion Krischer (1), Tobias Megies (1), Yannik Behr (2), and Joachim Wassermann (1)
(1) Department of Earth and Environmental Sciences (geophys. Observatory), Ludwig Maximilians University, Munich, Germany
(2) School of Geography Environment and Earth Sciences, Victoria University, Wellington, New Zealand
Contact: moritz.beyreuther@geophysik.uni-muenchen.de
sac sac
seisan sh-Q • Well documented
sh-Q sh-ascii 4 obspy.signal • Community web page http://www.obspy.org containing: documentation, tutorials, installa-
sh-ascii tion instructions, complete source code, ...
Basic signal processing routines are included
in obspy.signal, allowing data centers to 1 from obspy . s i g n a l import s e i s S i m , l o w p a s s
batch-process some usual processing steps 2 import m a t p l o t l i b . p y p l o t as p l t
3 ...
0
10 # Apply l o w p a s s a t 10Hz
2. Barsch, Robert: Web-based technology for storage and processing of multi-component data in
>>> from obspy . c o r e import UTCDateTime 500
1000 11 r e s = l o w p a s s ( r e s , 10 , c o r n e r s =4, seismology, LMU Muenchen, Diss., 2009
>>> from obspy . a r c l i n k . c l i e n t import C l i e n t
15000 5 10 15 20 25 30 12 d f=t r . s t a t s . sampling_rate )
>>>
600 13 . . .
3. Beyreuther, Moritz ; Barsch, Robert ; Krischer, Lion ; Megies, Tobias ; Behr, Yannik ; Wasser-
>>> c l i e n t = C l i e n t ( "webdc . eu " , 18001)
1Hz CornerFrequency
400 14 p l t . p l o t ( sec , t r . data , "k" ) mann, Joachim: ObsPy: A Python Toolbox for Seismology. SRL Vol 81, Nr. 3, p 530 — 533,
>>> s t a r t = UTCDateTime ( "2009−08−20 0 4 : 0 3 : 1 2 " ) 200
15 . . . 2010
>>> s t = c l i e n t . getWaveform ( "BW" , "RJOB" , "" , "EH∗" , s t a r t − 3 , s t a r t + 15) 0
200
400 4. Tsuboi, S. ; Tromp, J. ; Komatitsch, D.: An XML-SEED Format for the Exchange of Synthetic
In a similar way ObsPy provides an interface to the database SeisHub (an in house development 6000 5 10 15
Time [s]
20 25 30 Seismograms. EOS Transactions of American Geophysical Union. SF31B-03, 2004
[1]) and to the FISSURES protocol (DHI) of IRIS.