comparison autocal/txband.h @ 72:2db97ef5e169

autocal: started defining structures for fc-rfcal-txband
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Jul 2017 17:58:14 +0000
parents
children 93653fe9b4ef
comparison
equal deleted inserted replaced
71:784ce9f3a80a 72:2db97ef5e169
1 /* internal structures for fc-rfcal-txband */
2
3 struct tx_calchan_range {
4 unsigned lower_bound;
5 unsigned upper_bound;
6 unsigned test_arfcn;
7 };
8
9 struct txcal_band {
10 char *name;
11 unsigned rfpw_std_band;
12 unsigned main_arfcn;
13 unsigned start_plnum;
14 unsigned end_plnum;
15 struct tx_calchan_range *calchan_ranges;
16 };
17
18 #define MAX_BASIS_POINTS 15
19 #define MAX_TX_LEVELS 16
20
21 typedef double vout_t;
22
23 struct tx_basis_point {
24 unsigned apc;
25 vout_t vout;
26 vout_t slope;
27 };
28
29 struct tx_level {
30 double target;
31 unsigned apc;
32 vout_t slope;
33 };