View source: R/spectralUtils.R
psdDF2NoiseMatrix | R Documentation |
The psdDF2NoiseMatrix
function uses the snclq
identifier associated with the
first PSD in the dataframe to obtain instrument correction information at the specified frequencies
from the getEvalresp
web service if instrumentation correction information is
not supplied as an argument. This correction is applied to every PSD in
the dataframe and the now corrected PSD values are returned as a matrix.
psdDF2NoiseMatrix(DF, evalresp=NULL)
DF |
a dataframe of PSDs obtained from the |
evalresp |
dataframe of freq, amp, phase information matching output of |
This function is identical in behavior to psdList2NoiseMatrix
except that the input object
is a dataframe of PSD values obtained from the MUSTANG Backend Storage System.
A matrix
is returned with one row for each instrument-corrected PSD and one column for each frequency bin.
The incoming dataframe is checked to make sure that it represents only a single SNCL (Station-Network-Channel-Location). An error is generated if
more than one is found. However, the psdDF
is not checked to make sure that no changes to the
instrument correction happened during the time period covered by the psdDF
. This occurs at an 'epoch'
boundary when an instrument is replaced.
Jonathan Callahan jonathan@mazamascience.com
Seismic Noise Analysis System Using Power Spectral Density Probability Density Functions (McNamara and Boaz 2005)
McNamaraPSD
,
psdList
,
psdList2NoiseMatrix
,
psdPlot
,
psdStatistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.