obspy.core.stream.Stream.remove_response

Stream.remove_response(*args, **kwargs)[source]

Method to deconvolve instrument response for all Traces in Stream.

For details see the corresponding remove_response() method of Trace.

>>> from obspy import read
>>> st = read()
>>> # Response object is already attached to example data:
>>> resp = st[0].stats.response
>>> print resp  
Channel Response
    From M/S (Velocity in Meters Per Second) to COUNTS (Digital Counts)
    Overall Sensitivity: 2.5168e+09 defined at 0.020 Hz
    4 stages:
        Stage 1: PolesZerosResponseStage from M/S to V, gain: 1500.00
        Stage 2: CoefficientsTypeResponseStage from V to COUNTS, ...
        Stage 3: FIRResponseStage from COUNTS to COUNTS, gain: 1.00
        Stage 4: FIRResponseStage from COUNTS to COUNTS, gain: 1.00
>>> st.remove_response()  
<...Stream object at 0x...>
>>> st.plot()  

[hires.png, pdf]

../../_images/6bc21d4d78.png

Note

This operation is performed in place on the actual data arrays. The raw data is not accessible anymore afterwards. To keep your original data, use copy() to create a copy of your stream object.

This Page