| Crates.io | spectral_density |
| lib.rs | spectral_density |
| version | 0.1.0 |
| created_at | 2025-12-11 12:14:00.26732+00 |
| updated_at | 2025-12-11 12:14:00.26732+00 |
| description | Spectral density |
| homepage | https://github.com/awxkee/spectral_density |
| repository | https://github.com/awxkee/spectral_density |
| max_upload_size | |
| id | 1979559 |
| size | 49,220 |
This library provides an implementation of Welch's method for estimating the Power Spectral Density (PSD) and Power Spectrum of a time-series signal. Welch's method is a non-parametric technique that reduces the variance of the standard periodogram by averaging the modified periodograms of overlapping signal segments.
The core functionality is exposed through public wrappers for f32 and f64 data types.
f32) and double-precision (f64) input.WelchWindow::HannWelchWindow::HammingWelchWindow::BlackmanDetrendingMethod::Constant) or linear trends (DetrendingMethod::Linear) from each segment.Density): Units of Power/Hz.Spectrum): Units of Power.The primary entry points are the type-specific functions: welch_f32 and welch_f64.