1.3 KiB
1.3 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |
|---|---|---|---|---|---|
|
2026-04-17T16:30:54.516212+00:00 | zai-org/GLM-5-FP8 | 1 | cf0aa492a8193a8d |
FftSharp.Test
Purpose
This module contains unit tests for the FftSharp library, specifically validating Power Spectral Density (PSD) calculations using the Welch method. It ensures that the library's FFT frequency generation and PSD calculations match expected results derived from pre-computed CSV data files, verifying mathematical accuracy within a specific tolerance.
Public Interface
class PowerSpectralDensityShould: A NUnit test fixture containing tests for PSD functionality.void BasicWelch_1_RawTestDataShouldParse(): Verifies thatRaw.csvparses correctly into two lists of length304478.void BasicWelch_2_PSDResultsDataShouldParse(): Verifies thatPSD.csvparses correctly into two lists of length2049.void BasicWelch_3_FFTSharpFreqShouldMatchPSDResultFreq(): Validates thatFftSharp.Transform.FFTfreqgenerates frequency axes matching the reference data inPSD.csv.void BasicWelch_4_TestBasicFlatTopNoOverlap4096Width(): Validates theFftSharp.Transform.PSD_Welchmethod output against reference PSD data using a Rectangular window.
- Private Helpers:
- `