init
This commit is contained in:
16
DataPRO/FftSharp/Windows/Rectangular.cs
Normal file
16
DataPRO/FftSharp/Windows/Rectangular.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace FftSharp.Windows
|
||||
{
|
||||
public class Rectangular : Window, IWindow
|
||||
{
|
||||
public override string Name => "Rectangular";
|
||||
public override string Description =>
|
||||
"The rectangular window (sometimes known as the boxcar or Dirichlet window) is the simplest window, " +
|
||||
"equivalent to replacing all but N values of a data sequence by zeros, making it appear as though " +
|
||||
"the waveform suddenly turns on and off. This window preserves transients at the start and end of the signal.";
|
||||
|
||||
protected override double windowValue(int index, int size)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user