This function calculates average power spectra for a seismic signal as described in the McNamara paper.
See the McNamaraPSD
method of Stream
objects in the IRISSeismic package for details.
If optional evalresp
dataframe is not supplied, the code will call getEvalresp
to obtain response
information from webservices.
Uncorrected spectral density values are returned in spectrumMetricList
in units of dB.
Instrument response corrected spectral density values are returned in correctedPsdDF
in units of dB.
Probability Density Function (PDF) histogram values are returned in pdfDF
.
Other metrics calculated from the PSDs are returned in svMetricList
. These metrics are:
- pct_above_nhnm -- "percent above New High Noise Model"
Percentage of PSD values that
are above the New High Noise Model for their frequency. Only frequencies less than the sample_rate/3 are
considered to avoid instrument response effects as you approach the nyquist frequency.
This value is calculated over the entire time period.
- pct_below_nlnm -- "percent below New Low Noise Model"
Percentage of PSD values that are below the
New Low Noise Model for their frequency. Only frequencies less than the sample_rate/3 are
considered to avoid instrument response effects as you approach the nyquist frequency.
This value is calculated over the entire time period.
- dead_channel_lin -- "dead channel metric - linear fit"
A "dead channel" metric is calculated from
the mean of all the PSDs generated. (Typically 47 for a 24 hour period.) Values of the PSD mean line over the band
(linLoPeriod:linHiPeriod) are fit to a line. The dead_channel_lin
metric is the standard deviation of the
fit residuals. Lower numbers indicate a better fit and a higher likelihood that the mean PSD is linear -- an
indication of a "dead channel".
Note: The dead_channel_exp metric has been removed.