Method SlicePower
View SourceSlicePower(Int32, Int32)
Compute the given slice of the power spectrum.
Declaration
public float[] SlicePower(int start, int length)
Parameters
Type | Name | Description |
---|---|---|
Int32 | start | The start of the slice. |
Int32 | length | The length of the slice. |
Returns
Type | Description |
---|---|
Single[] | The slice of the power spectrum. |
Remarks
This method re-orders the two halves of the spectrum to put the negative frequencies at the bottom, takes the slice of the spectrum and computes the log power.