View source: R/model-spectrum.R
ModelSpectrum | R Documentation |
Create a model SST spectrum based on the observed spectra and a powerlaw spectrum
ModelSpectrum(
freq = NULL,
latitude,
spectable = psem:::spectable,
beta = 1,
variable = c("temperature", "d18O", "T_deg_Mg_Ca", "T_deg_Uk37"),
freq.match.lower = 0.03,
freq.match.upper = 0.1,
bPlot = FALSE
)
freq |
desired frequency vector |
latitude |
latitude in degN |
spectable |
lookup table with spectra by latitude list(spec[iLat,iFreq],lat[iLat],freq[iFreq]) |
beta |
desired scaling |
variable |
climate variable for which to return the power spectrum, currently temperature or d18O |
freq.match.lower |
lower frequency boundary at which the variance is matched and the spectrum is switched from instrumental to powerlaw (default 0.03 as lowest reliable estimate from the instrumental record given the detrending and the multitaper bias) |
freq.match.upper |
higher frequency boundary at which the variance is matched (default 0.1 = decadal) |
bPlot |
TRUE = provide diagnostic plot |
model spectrum list(spec,freq)
Thomas Laepple
ModelSpectrum(latitude = 20,beta=1, bPlot=TRUE)
ModelSpectrum(freq = GetNu(T = 10000, delta_t = 100), latitude = 20, beta=1, bPlot=FALSE)
ModelSpectrum(freq = c(0.1, GetNu(T = 10000, delta_t = 100), 0.1), latitude = 20, beta=1, bPlot=FALSE)
ModelSpectrum(freq = c(0.6, 1), latitude = 20, beta=1, bPlot=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.