SimPowerlawPiecewise: Simulate a timeseries with length N which has a spectra...

View source: R/SimPowerlawPiecewise.R

SimPowerlawPiecewiseR Documentation

Simulate a timeseries with length N which has a spectra consisting of two powerlaws

Description

Simulate a timeseries with length N which has a spectra consisting of two powerlaws

Usage

SimPowerlawPiecewise(beta1, beta2, N, deltat = 1, breakpoint = 1/50)

Arguments

beta1

slope for frequencies lower than breakpoint

beta2

slope for frequencies higher than breakpoint

N

Number of points to simulate

deltat

timestep of the timeseries

breakpoint

frequency of the breakpoint

Value

N random numbers drawn according to the piecewise powerlaw PSD

Author(s)

Thomas Laepple


EarthSystemDiagnostics/paleospec documentation built on Oct. 28, 2024, 7:31 a.m.