obspy.io.gse2.paz.read_paz

read_paz(paz_file)[source]

Read GSE PAZ / Calibration file format and returns poles, zeros and the seismometer_gain.

Do not use this function in connection with the ObsPy instrument simulation, the A0_normalization_factor might be set wrongly. Use attach_paz() instead.

>>> import io
>>> f = io.StringIO(
... """CAL1 RJOB   LE-3D    Z  M24    PAZ 010824 0001
... 2
... -4.39823 4.48709
... -4.39823 -4.48709
... 3
... 0.0 0.0
... 0.0 0.0
... 0.0 0.0
... 0.4""")
>>> p, z, k = read_paz(f)
>>> print('%.4f %.4f %.4f' % (p[0].real, z[0].real, k))
-4.3982 0.0000 0.4000