SmoothedPeriodogram: Smoothed periodogram

View source: R/SmoothedPeriodogram.R

SmoothedPeriodogramR Documentation

Smoothed periodogram

Description

Calculates the smoothed periodogram.

Usage

SmoothedPeriodogram(data, f, T.data, m = 5, coef.step = 0.01)

Arguments

data

a numeric vector containing the spike times for the analyzed spike train.

f

a numeric vector containing frequency estimates for a particular model.

T.data

the length of the data recording window.

m

a scalar determining the number of steps on each side of a given frequency over which the raw periodogram is averaged.

coef.step

a scalar determining the resolution of frequency values (over 2m+1 of which the raw periodogram is averaged).

Value

A numerical vector of smoothed periodogram values over a range of frequencies.

References

Brillinger, D.R. (1974), Time Series: data analysis and theory. New York, NY, Holt, Rinehart, and Winston.


dpwynne/mmnst documentation built on Aug. 1, 2023, 8:08 a.m.