mtspectrumpt: multi-tapered spectrum of data presented as spike locations

Description Usage Arguments Value

View source: R/mtspectrumpt.R

Description

multi-tapered spectrum of data presented as spike locations

Usage

1
2
3
4
5
6
7
8
9
mtspectrumpt(
  PP,
  Fs = 3000,
  fpass = c(0, Fs/2),
  pad = 0,
  nw = 50,
  k = 2 * nw - 1,
  fscorr = 0
)

Arguments

PP

the data

Fs

sampling frequency

fpass

(fmin, fmax), frequency band to be used in the calculation. Defaults to (0, Fs/2)

pad

(padding factor for the FFT). Not currently used, i.e. no padding is done

nw

A positive double-precision number, the time-bandwidth paramter for the tapers

k

A positive integer, the number of tapers, defaults to 2*nw-1

Value

S the estimated spectrum

f the frequencies


parsifal9/PPspectra documentation built on Dec. 31, 2020, 1:14 a.m.