-
Notifications
You must be signed in to change notification settings - Fork 3
/
caldef.h
78 lines (66 loc) · 1.95 KB
/
caldef.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#define FOLDCORR_VERNR 0x3b5f0001
#define START_PULSES 4
#define STON_LIMIT 13
#define INIT_PULSENUM 8
#define BAL_MAX_SEG 256
#define BAL_AVGNUM 15
#define MAX_CAL_ARRAYS 25
#define CAL_TYPE_REFINE_FILTERCORR 0
#define CAL_TYPE_COLLECT_PULSE_AVERAGE 1
#define CAL_TYPE_IQWRITE 2
#define CAL_TYPE_SHOW_IQBAL 3
#define CAL_TYPE_COLLECT_IQBAL 4
#define CAL_TYPE_PULSE_INTERVAL 5
#define CAL_TYPE_SET_FILTERSHAPE 6
#define CAL_TYPE_FIX_CENTER_SETUP 7
#define CAL_TYPE_FIX_CENTER_SAVE 8
#define CAL_TYPE_FIX_CENTER_SYMFIT 9
#define CAL_TYPE_MENU 10
#define CAL_TYPE_MAX 11
extern char *cal_type_text[CAL_TYPE_MAX];
extern int cal_type;
extern int cal_update_ram(void);
extern void cal_initscreen(void);
extern void write_filcorr(int type);
extern void thread_cal_iqbalance(void);
extern int remove_iq_notch(void);
extern void write_iq_foldcorr(void);
extern void expand_foldcorr(float *x, float *tmp);
extern MEM_INF calmem[MAX_CAL_ARRAYS];
extern size_t *calmem_handle;
extern int caliq_clear_flag;
extern short int *cal_graph;
extern unsigned int *cal_permute;
extern COSIN_TABLE *cal_table;
extern float cal_ymax,cal_yzer;
extern float *cal_tmp;
extern float *cal_buf;
extern float *cal_buf2;
extern float *cal_buf3;
extern float *cal_buf4;
extern float *cal_buf5;
extern float *cal_buf6;
extern float *cal_buf7;
extern float *cal_fft1_desired;
extern float *cal_fft1_filtercorr;
extern float *cal_fft1_sumsq;
extern float *cal_fft1_slowsum;
extern float *cal_win;
extern int *bal_flag,*bal_pos;
extern float *bal_phsum, *bal_amprat;
extern int bal_updflag;
extern int bal_segments;
extern float *contracted_iq_foldcorr;
extern float cal_interval;
extern int bal_screen;
extern float cal_signal_level;
extern int cal_fft1_n;
extern int cal_fft1_size;
extern float cal_xgain;
extern int cal_xshift;
extern float cal_ygain;
extern int cal_lowedge;
extern int cal_midlim;
extern int cal_domain;
extern void final_filtercorr_init(void);
extern void show_missing_cal_info(void);