## org.das2.math.fft.FFTUtil

## FFTUtil( )

## fft

fft( org.das2.math.fft.GeneralFFT fft, org.das2.dataset.VectorDataSet vds, Units units ) → org.das2.math.fft.ComplexArray.Double

### Parameters

fft - a GeneralFFT
vds - a VectorDataSet
units - an Units

### Returns:

org.das2.math.fft.ComplexArray.Double
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## fftPower

fftPower( org.das2.math.fft.GeneralFFT fft, org.das2.dataset.VectorDataSet vds ) → org.das2.dataset.VectorDataSet

### Parameters

fft - a GeneralFFT
vds - a VectorDataSet

### Returns:

org.das2.dataset.VectorDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## fftPower

fftPower( org.das2.math.fft.GeneralFFT fft, org.das2.dataset.VectorDataSet vds, org.das2.dataset.VectorDataSet weights ) → org.das2.dataset.VectorDataSet

Produces the power spectrum of the dataset. This is the length of the fourier components squared, normalized by the bandwidth. The result dataset has dimensionless yunits.

### Parameters

fft - a GeneralFFT
vds - VectorDataSet with x units TimeLocationUnits.
weights - a VectorDataSet

### Returns:

org.das2.dataset.VectorDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getFrequencyDomainTags

getFrequencyDomainTags( double fs, int size ) → double[]

### Parameters

fs - the sampling frequency
size - an int

### Returns:

the frequencies of the bins
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getWindow10PercentEdgeCosine

getWindow10PercentEdgeCosine( int size ) → org.das2.dataset.VectorDataSet

### Parameters

size - an int

### Returns:

org.das2.dataset.VectorDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getWindowUnity

getWindowUnity( int size ) → org.das2.dataset.VectorDataSet

### Parameters

size - an int

### Returns:

org.das2.dataset.VectorDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]