View source: R/visualization.R
| sgwt_energy_analysis | R Documentation |
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.
sgwt_energy_analysis(SG, signal_name = NULL)
SG |
SGWT object with Forward results computed |
signal_name |
Name of signal to analyze (default: first signal) |
Data frame with energy analysis results computed in Fourier domain
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.