Read Response
Read the instrument response.
SeisPDF.read_resp_from_sacpz — Functionread_resp_from_sacpz(input_sacpz::String, sampling_rate::Float64, N::Int; flag::Int=2)Read instrument response represented in SACPZ file.
Arguments
input_sacpz::String: The file path of SACPZ file.sampling_rate::Float64: The sampling rate of trace.N::Int: The length of trace. Measured in number of data samples.
Optional
flag::Int: The flag indicated the type of instrument.- Set
0for Vibrometer. - Set
1for Velometer. - Set
2for Accelerometer.
- Set
Currently, only one-channel SACPZ file is supported, and the metadata of the instrument response is ignored.