Learn R Programming

IRISSeismic (version 1.6.6)

psdDF2NoiseMatrix: Apply instrument correction to PSDs

Description

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.

Usage

psdDF2NoiseMatrix(DF, evalresp=NULL)

Value

A matrix is returned with one row for each instrument-corrected PSD and one column for each frequency bin.

Arguments

DF

a dataframe of PSDs obtained from the getPSDMeasurements method of IrisClient.

evalresp

dataframe of freq, amp, phase information matching output of getEvalresp, optional.

Author

Jonathan Callahan jonathan@mazamascience.com

Details

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.

References

Seismic Noise Analysis System Using Power Spectral Density Probability Density Functions (McNamara and Boaz 2005)

See Also

McNamaraPSD, psdList, psdList2NoiseMatrix, psdPlot, psdStatistics