fas_cal: A function for Fourier Amplitude Spectrum (FAS) calculation

View source: R/fas.R

fas_calR Documentation

A function for Fourier Amplitude Spectrum (FAS) calculation

Description

This function computes FAS (with and without 0 padding)

Usage

fas_cal(ts, dt, max_order = 0)

Arguments

ts

An array of time series

dt

The time step

max_order

An integer, the maximum factor after padding 0 at the end; if max_order = 0, then no zero padding; if max_order = 3, the length of ts becomes at least 4 times.

Value

A list is returned with FFT of ts, FAS, the associated frequency of FAS, the associated phase


wltcwpf/hvsrProc documentation built on March 25, 2024, 7 p.m.