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

Go to the source code of this file.

Functions

void uniform_optimiser (double *code, double motion_model_parameter, int code_length, double deltat)
 Functions for the uniform motion model: More...
 
double uniform_w (double motion_model_parameter, double xi)
 Compute the weight function () for a uniform velocity. More...
 
double uniform_w_integrand (double v, double xi)
 Function to integrate in velocity to get the w function; uniform motion model. This is the integrand in equation (16): {{1}_{[-|v|,|v| ]}()}{|v|}. More...
 
double uniform_integrand (double motion_model_parameter, double deltat, double xi, int k)
 Function to integrate (in ) in order to compute the a_k coefficient of the code; uniform motion model. This is the integrand of equation (17): {[4]{{}^{4{ N}} ({{-v^2}{2{ N}^2}}) {{1}_{[-|v|,|v| ]}({}{ t} )}{|v|} dv} (k) } {{{sinc}({}{2 })}} (Recall that: sinc(x):={( x)}{ x}.) More...
 

Function Documentation

double uniform_integrand ( double  velocity_max,
double  deltat,
double  xi,
int  k 
)

Function to integrate (in ) in order to compute the a_k coefficient of the code; uniform motion model. This is the integrand of equation (17): {[4]{{}^{4{ N}} ({{-v^2}{2{ N}^2}}) {{1}_{[-|v|,|v| ]}({}{ t} )}{|v|} dv} (k) } {{{sinc}({}{2 })}} (Recall that: sinc(x):={( x)}{ x}.)

Parameters
doublevelocity_max : maximum velocity;
doubledeltat : the temporal sampling of the flutter shutter function;
doublexi : frequency;
int: k the k-th coefficient of the code.
Returns
double , see the integrand of (17)

Construct the function to be integrated in order to compute the a_k:

Definition at line 151 of file flutter_optimiser_uniform.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void uniform_optimiser ( double *  code,
double  motion_model_parameter,
int  code_length,
double  deltat 
)

Functions for the uniform motion model:

This function just calls "uniform_integrand" with the approriate parameters : k, deltat, velocity_{max}, etc.

Main loop for the computation of a_k :

Initalization for integral evaluation

init so the first iteration of the main loop

is always done.

Main loop for the integral evaluation

Definition at line 70 of file flutter_optimiser_uniform.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double uniform_w ( double  motion_model_parameter,
double  xi 
)

Compute the weight function () for a uniform velocity.

Construct the function for an uniform motion model,

Initalization.

The following evaluate the integrals using Algorithm 3 with a=velocity_max/1000, b=velocity_max (see the above comment on the support of ) and eps=0.001 (see line 32 of this file)

Main loop for evaluation of

Definition at line 189 of file flutter_optimiser_uniform.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double uniform_w_integrand ( double  velocity,
double  xi 
)

Function to integrate in velocity to get the w function; uniform motion model. This is the integrand in equation (16): {{1}_{[-|v|,|v| ]}()}{|v|}.

Unormalized density of probility of velocity. Notice that the normalization is not required since the code is defined up to a constant multiplication. See also the integrand of (16) and remark 2, page 8.

Parameters
doublevelocity : velocity;
doublexi : frequency;
Returns
${{1}_{[-|v|,|v| ]}()}{|v|}$

Definition at line 255 of file flutter_optimiser_uniform.cpp.

Here is the caller graph for this function: