#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cassert>
#include <ctime>
Go to the source code of this file.
Namespaces | |
namespace | std |
Defines | |
#define | PIX float |
#define | inf 1e20 |
Functions | |
void | usage (string argv0) |
Usage function. More... | |
float | Evaluate_PI (float **x, unsigned long int lenght) |
Evaluation of the projection index by a chi-square distance. More... | |
void | base_ortho_plan_finder (float **plan_init, float **new_base, unsigned long int nb_dim) |
Procedure searching an orthogonal base to the found projection. More... | |
void | projec_on_base (float **Y, float **newbase, unsigned long int dim, unsigned long int nb_dim) |
Procedure projecting the data in a new orthogonal base. More... | |
void | projec_on_oldbase (float **Y, float **newbase, unsigned long int dim, unsigned long int nb_dim) |
Procedure projecting the data in the original orthogonal base. More... | |
void | destructuration (float **Y, unsigned long int dim) |
Procedure desctructuring : transforming the distribution so that it becomes a Normal distribution. More... | |
double | Total (float *a, unsigned long int lenght) |
Returns the sum of an aray. | |
void | eigsrt (float d[], float **v, int n) |
imported from Numerical Reciepes functions. See Numerical Reciepes documentation for further details. | |
void | jacobi (float **a, int n, float d[], float **v, int *nrot) |
imported from Numerical Reciepes functions. See Numerical Reciepes documentation for further details. | |
float | gasdev (long *idum) |
imported from Numerical Reciepes functions. See Numerical Reciepes documentation for further details. | |
void | gaussj (float **a, int n, float **b, int m) |
imported from Numerical Reciepes functions : Normal(0,1) distributed random number generator See Numerical Reciepes documentation for further details. | |
int | main (int argc, char *argv[]) |
Main procedure where PCA and PP analysis are chained. More... |
This procedure :
Definition in file PCA_PP.cpp.
|
Procedure searching an orthogonal base to the found projection. The analysis is based on Gauss Jordan linear equation solution. the analysis uses Numerical recepies function
Definition at line 741 of file PCA_PP.cpp. |
|
Procedure desctructuring : transforming the distribution so that it becomes a Normal distribution. the analysis uses Numerical recepies function
Definition at line 858 of file PCA_PP.cpp. |
|
Evaluation of the projection index by a chi-square distance. The non-Gaussianity of the plan distribution is evaluated using a chi2 projection index distance between the data distribution and a Gaussian normalized distribution. The integration requiered for this distance evaluation (see Theoritical note) is performed by deviding the integration domain into 432 small boxes. For further details, we refer the reader to Posse (1993) thesis.
Definition at line 678 of file PCA_PP.cpp. |
|
Main procedure where PCA and PP analysis are chained.
After a step of memory allocation and initialisation , the input data is read according to the cutting and sampling input parameters.
Definition at line 127 of file PCA_PP.cpp. |
|
Procedure projecting the data in a new orthogonal base.
Definition at line 797 of file PCA_PP.cpp. |
|
Procedure projecting the data in the original orthogonal base. the anlysis is based on a matrix inversion. the analysis uses Numerical recepies function
Definition at line 824 of file PCA_PP.cpp. |
|
Usage function.
Definition at line 35 of file PCA_PP.cpp. |