23 #define MAX_RXS 6 // put this in rx.h?
25 #define VLIGHT (299792.5)
26 #define D2R (M_PI / 180.0)
27 #define SMT_ELEVATION (3.186) // Kilometers elevation
37 #define HARD_ENABLE_1MHZ_FFB 0
38 #define HARD_ENABLE_250KHz_FFB 1
39 #define HARD_ENABLE_AOS_AB 1
40 #define HARD_ENABLE_AOS_C 0
41 #define HARD_ENABLE_CTS_A 0
43 #define HARD_ENABLE_1MHZ_FFB 0
44 #define HARD_ENABLE_250KHz_FFB 0
45 #define HARD_ENABLE_AOS_AB 0
46 #define HARD_ENABLE_AOS_C 0
47 #define HARD_ENABLE_CTS_A 0
70 #define NOT_ENABLED_BIN 4
71 #define ZERO_TIME_BIN 8
72 #define LOCAL_BLANK_BIN 0x80
77 #define SPEC_CONFIG_MAGIC "SPECCONF"
78 #define SPEC_ATTEN_MAGIC "SPECATTEN"
79 #define SPEC_MUNCH_MAGIC "MUNCHMAGIC"
82 #define MAX_SPEC_PROCESS 25
86 #define OBS_MODE_ANY -1
88 #define OBS_MODE_IDLE 0
89 #define OBS_MODE_HOT 1
90 #define OBS_MODE_SKY 2
91 #define OBS_MODE_COLD 3
92 #define OBS_MODE_ZERO 4
93 #define OBS_MODE_SIG 5
94 #define OBS_MODE_REF 6
95 #define OBS_MODE_BSP 7
96 #define OBS_MODE_OTF 8
97 #define OBS_MODE_TPON 9
98 #define OBS_MODE_TPOFF 10
100 #define OBS_MODE_MAX 11
115 #define OBS_TPM_ON 11
116 #define OBS_TPM_OFF 12
118 #define OBS_PS_CAL 14
119 #define OBS_BS_CAL 15
120 #define OBS_BLANKING 16
121 #define OBS_SEQUENCE 17
122 #define OBS_FIVE_PT 18
123 #define OBS_CONT_MAP 19
124 #define OBS_FOCALIZE 20
125 #define OBS_NS_FOCALIZE 21
126 #define OBS_TP_TIP 22
127 #define OBS_SP_TIP 23
129 #define OBS_CALIBRATE 25
131 #define OBS_EW_FOCALIZE 27
157 #define OBS_COLDCAL 53
164 #define CAL_AVGAINS 1
179 #define SB_NONE 0 // (secondary freq. only) disabled
180 #define SB_LSB 1 // LSB
181 #define SB_USB 2 // USB
184 #define POL_HV 0 // Both - normal
185 #define POL_VH 1 // Both - swap for testing
186 #define POL_H 2 // H Pol only
187 #define POL_V 3 // V Pol only
189 #define IF_A 0 // IF channel wired to filterbank IF input A
190 #define IF_B 1 // IF channel wired to filterbank IF input B
191 #define IF_C 2 // IF channel wired to filterbank IF input C & AOS A & AOS C
192 #define IF_D 3 // IF channel wired to filterbank IF input D & AOS B & CTS
struct SPEC_DATA_SUB_SET sdss
#define MAX_AOS_B_CHANNELS
#define MAX_1MHZ_CHANNELS
struct SPEC_DATA_SUB_SET sdss
struct timespec start_time
struct timespec time_stamp
#define MAX_AOS_C_CHANNELS
struct timespec time_stamp
int offset_khz[MAX_PARTS]
struct timespec start_time
#define MAX_250KHZ_CHANNELS
#define MAX_AOS_A_CHANNELS
struct SPEC_CONFIG configs[MAX_BACKENDS]
int doppler_khz[MAX_PARTS]
struct SPEC_DATA_SUB_SET sdss