Returns the frequency response at a given FFT index
Namespace: NDXVUMeterNETAssembly: DXVUMeterNETGDI (in DXVUMeterNETGDI.dll) Version: 3.0.4021.33606 (3.1.0.0)
Syntax
| C# |
|---|
public double FFTPowerFromIndex( int fftIdx, DXVUMeterNETGDI..::..FFTChannelConstants channel ) |
| Visual Basic |
|---|
Public Function FFTPowerFromIndex ( _ fftIdx As Integer, _ channel As DXVUMeterNETGDI..::..FFTChannelConstants _ ) As Double |
| Visual C++ |
|---|
public: double FFTPowerFromIndex( int fftIdx, DXVUMeterNETGDI..::..FFTChannelConstants channel ) |
Parameters
- fftIdx
- Type: System..::..Int32
The index at within the FFT transform
- channel
- Type: NDXVUMeterNET..::..DXVUMeterNETGDI..::..FFTChannelConstants
One of the values from the FFTChannelConstants enumerator
Return Value
Returns the power response for the given FFT index
Remarks
The power response is calculated using the following formula: √(Real² + Imaginary²)