Files
DP44/docs/ai/DataPRO/FftSharp/Windows.md
2026-04-17 14:55:32 -04:00

1.9 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/FftSharp/Windows/Bartlett.cs
DataPRO/FftSharp/Windows/Cosine.cs
DataPRO/FftSharp/Windows/Welch.cs
DataPRO/FftSharp/Windows/Rectangular.cs
DataPRO/FftSharp/Windows/Hanning.cs
DataPRO/FftSharp/Windows/Hamming.cs
DataPRO/FftSharp/Windows/FlatTop.cs
DataPRO/FftSharp/Windows/Blackman.cs
DataPRO/FftSharp/Windows/BlackmanHarris.cs
DataPRO/FftSharp/Windows/Tukey.cs
DataPRO/FftSharp/Windows/Kaiser.cs
2026-04-17T15:47:17.822300+00:00 zai-org/GLM-5-FP8 1 74d64d3d7f404b27

FftSharp.Windows Module Documentation

1. Purpose

This module provides a collection of window function implementations used in Fast Fourier Transform (FFT) signal processing. Each window class encapsulates a specific mathematical weighting function that can be applied to signal data before FFT analysis to control spectral leakage, side lobe behavior, and frequency resolution. The module implements common window types including Bartlett, Cosine, Welch, Rectangular, Hanning, Hamming, Blackman, Blackman-Harris, FlatTop, Tukey, and Kaiser-Bessel windows, all sharing a common interface for consistent usage.


2. Public Interface

Base Types (Referenced but not defined in provided source)

  • Window - Abstract base class that these window implementations inherit from.
  • IWindow - Interface implemented by all window classes.

Common Members (All Window Classes)

Each window class implements:

  • string Name - Override property returning the window's name.
  • string Description - Override property returning a detailed description of the window's characteristics and use cases.
  • double windowValue(int index, int size) - Protected override method that computes the window coefficient for a given index within a window of specified size.

Bartlett

public class Bartlett : Window, IWindow

Triangular-shaped window (2nd order B