view Plot.h @ 268:ec4462c7f8b7

Extensive cleanup of beatnote specific variables Reorganize the beatnote specific variables in arrays indexed by the beatnote enum constants LO, HG, SR. Also reorganize DDS frequency related variables in arrays indexed by the DDS channel number.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Thu, 09 Jul 2015 23:11:00 +0200
parents 7b9cf3d4346e
children
line wrap: on
line source

#ifndef __FXANALISE_PLOT_H__
#define __FXANALISE_PLOT_H__

#define MAXPOINTSNUMBER 10000         

typedef struct {
	int PlotPanel;			/* display panel handle */
	int IndexPoint;			/* data points number */
	double *Frequencies; 	/* data points */
	double Mean;			/* data computed at each value insertion */
	double Slope;
	double ADev;
	int active;				/* active */
	int parent;				/* panel containig the activation control */
	int control;			/* activation control handle */
} Plot_Data;

void Plot_InitPanel(Plot_Data * Instance, const char *title, double ymin, double ymax, int parent, int control);
void Plot_ClosePanel(Plot_Data * Instance);
void Plot_AddFrequency(Plot_Data * Instance, double Freq);

#endif