sgwt_energy_analysis: Analyze SGWT energy distribution across scales in Fourier...

View source: R/visualization.R

sgwt_energy_analysisR Documentation

Analyze SGWT energy distribution across scales in Fourier domain

Description

Calculate and analyze energy distribution across different scales using Fourier domain coefficients directly (consistent with Parseval's theorem). Excludes DC component for more accurate energy analysis.

Usage

sgwt_energy_analysis(SG, signal_name = NULL)

Arguments

SG

SGWT object with Forward results computed

signal_name

Name of signal to analyze (default: first signal)

Value

Data frame with energy analysis results computed in Fourier domain

Examples


# Create and analyze example data
data <- data.frame(x = runif(100), y = runif(100), signal1 = rnorm(100))
SG <- initSGWT(data, signals = "signal1")
SG <- runSpecGraph(SG, k = 15)
SG <- runSGWT(SG)

# Analyze energy distribution
energy_analysis <- sgwt_energy_analysis(SG, signal_name = "signal1")
print(energy_analysis)


BioGSP documentation built on Feb. 2, 2026, 5:06 p.m.