Mercurial > hg > fxanalyse
diff Allan.h @ 135:77539f2597b1
Code cleanup
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Wed, 22 Jan 2014 12:29:38 +0100 |
parents | bd28161e5ac2 |
children | 7b9cf3d4346e |
line wrap: on
line diff
--- a/Allan.h Wed Jan 22 12:29:28 2014 +0100 +++ b/Allan.h Wed Jan 22 12:29:38 2014 +0100 @@ -14,6 +14,8 @@ double CurrentAverage[ALLAN_MAXPOINTSNUMBER] ; // the sum of the last p data points retrieved (with p<2^2n). used for averaging as soon as p=2^n int NbCurrentAverage[ALLAN_MAXPOINTSNUMBER] ; // number of data point being summed in CurrentAverage (from 0 up to 2^n) double Drift, Mean ; // the drift rate of the data (in Hz/s), and the mean value (in Hz) : only usefull for dedrifting... + double normalization; + int autoscale; int active; int parent; int control; @@ -22,11 +24,7 @@ // The functions of crypto class Allan -int Allan_InitPanel(Allan_Data * Instance, const char * title, double Normalizer, int parent, int control) ; -int Allan_ClosePanel(Allan_Data * Instance) ; -int Allan_AddFrequency(Allan_Data * Instance, double Freq) ; +void Allan_InitPanel(Allan_Data * Instance, const char * title, double Normalizer, int parent, int control) ; +void Allan_ClosePanel(Allan_Data * Instance) ; +void Allan_AddFrequency(Allan_Data * Instance, double Freq) ; -int Allan_Reset(Allan_Data * Instance) ; -int Allan_AddFrequency(Allan_Data * Instance, double Freq); -int Allan_Display(Allan_Data * Instance, int ColorPt, int ColorErrorBar); -int Allan_DisplayErrorBars(Allan_Data * Instance, int color);