The Flutter Shutter Density Estimator
 All Files Functions Macros Pages
Functions
routines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::vector< double > fileToVector (const char *name)
 Given the file name oof a text file containing a flutter code store the values in a vector of doubles. More...
 
double abs_hat_alpha (std::vector< double > code, double xi)
 
double w_prime_estimator (double xi, std::vector< double > code, double epsilon)
 

Function Documentation

double abs_hat_alpha ( std::vector< double >  code,
double  xi 
)

Gives back the modulus of the Fourier transform

RETURNS the modulus at xi of the flutter shutter function given its code: ()= sinc({ }{2}) {k=0}^{L-1} e^{-i {2k+1}{2}}

Definition at line 112 of file routines.cpp.

Here is the caller graph for this function:

std::vector<double> fileToVector ( const char *  name)

Given the file name oof a text file containing a flutter code store the values in a vector of doubles.

Parameters
constchar *name: the file name containing the flutter code
Returns
std::vector<double> code: the vector containing the code values.

Definition at line 74 of file routines.cpp.

Here is the caller graph for this function:

double w_prime_estimator ( double  xi,
std::vector< double >  code,
double  epsilon 
)

Definition at line 162 of file routines.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: