TwiceAsNice
2019-02-18
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <fftw3.h>
#include "libdspau.h"
Functions | |
static double | complex_mag (fftw_complex n) |
static double | complex_phi (fftw_complex n) |
static void | complex2mag (fftw_complex *in, double *out, int len) |
static void | complex2magpow (fftw_complex *in, double *out, int len) |
static void | complex2magsqrt (fftw_complex *in, double *out, int len) |
static void | complex2magdbv (fftw_complex *in, double *out, int len) |
static void | complex2phideg (fftw_complex *in, double *out, int len) |
static void | complex2phirad (fftw_complex *in, double *out, int len) |
int | dspau_spectrum (double *in, double *out, int dims, int *sizes, int conversion) |
Create a spectrum from a double array of values. More... | |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int dspau_spectrum | ( | double * | in, |
double * | out, | ||
int | dims, | ||
int * | sizes, | ||
int | conversion | ||
) |
Create a spectrum from a double array of values.
in | the input stream. (input) |
out | the output stream. (output) |
dims | the number of dimensions of the input stream (input). |
sizes | array with the lengths of each dimension of the input stream (input). |
conversion | the output magnitude dspau_conversiontype type. |