welch_fft: Welch FFT

View source: R/frequency_analysis.R

welch_fftR Documentation

Welch FFT

Description

Internal function for calculating the PSD using Welch's method. Hardcoded to use Hamming window.

Usage

welch_fft(data, seg_length, n_fft, noverlap, n_sig, srate)

Arguments

data

Object to perform FFT on.

seg_length

length of each segment of data.

n_fft

length of FFT.

noverlap

overlap between segments.

n_sig

number of samples total.

srate

Sampling rate of the data.


craddm/eegUtils documentation built on March 1, 2025, 3:23 p.m.