pz
¶
- read_sac_zpk(filename=None, file=None, string=None, get_comments=False)[source]¶
Read SAC Pole-Zero file.
- Returns:
(zeros, poles, constant)
or(zeros, poles, constant, comments)
ifget_comments
is True.
- read_to_pyrocko_response(filename=None, file=None, string=None)[source]¶
Read SAC pole-zero file into Pyrocko response object.
- Returns:
Response as a :py:class:~pyrocko.trace.PoleZeroResponse` object.
- read_to_stationxml_response(input_unit, output_unit, normalization_frequency=1.0, filename=None, file=None, string=None)[source]¶
Read SAC pole-zero file into StationXML response object.
- Parameters:
- Returns:
Response as a :py:class:~pyrocko.io.stationxml.Response` object with a single pole-zero response stage.