The getEvalresp
method obtains instrument response data from
the IRIS DMC evalresp
webservice.
getEvalresp(obj, network, station, location, channel,
time, minfreq, maxfreq, nfreq, units, output, spacing)
For output="fap"
, a dataframe with columns named:
freq, amp, phase
For output="cs"
, a dataframe with columns named:
freq, real, imag
an IrisClient
object
character string with the two letter seismic network code
character string with the station code
character string with the location code
character string with the three letter channel code
POSIXct class specifying the time at which response is evaluated (GMT)
optional minimum frequency at which response will be evaluated
optional maximum frequency at which response will be evaluated
optional number of frequencies at which response will be evaluated
optional code specifying unit conversion
optional code specifying output type (default="fap")
optional code specifying spacing, accepted values are "lin" or "linear", "log" or "logarithmic" (default="log")
Jonathan Callahan jonathan@mazamascience.com
The evalresp
webservice responds to requests with data that can be used to
remove instrument response from a seismic signal.
Each of network
, station
or channel
should contain
a valid code without wildcards. The ascii string that is used for
these values is simply passed through to evalresp
.
If the location
argument contains an empty string to specify a 'blank' location code, a location
code of "--"
will be used in the dataselect request URL.
(See dataselect documentation.)
The response from evalresp
is converted into a dataframe with rows in order of increasing frequency.
The IRIS DMC evalresp webservice:
IrisClient-class
,