87 { 1, 0.01, 0.66, 1.0, &
ondata01, &
onhead01, 0, &
mhz_4if_mode,
BACKEND_FFB,
"F1M-1"},
88 { 1, 0.02, 0.66, 1.0, &
ondata01, &
onhead01, 0, &
mhz_4if_mode,
BACKEND_FFB,
"F1M-2"},
89 { 1, 0.03, 0.66, 1.0, &
ondata01, &
onhead01, 0, &
mhz_4if_mode,
BACKEND_FFB,
"F1M-3"},
90 { 1, 0.04, 0.66, 1.0, &
ondata01, &
onhead01, 0, &
mhz_4if_mode,
BACKEND_FFB,
"F1M-4"},
93 { 1, 0.05, 0.33, 0.66, &
ondata01, &
onhead01, 0, &
khz_4if_mode,
BACKEND_FFB,
"FQM-1"},
94 { 1, 0.06, 0.33, 0.66, &
ondata01, &
onhead01, 0, &
khz_4if_mode,
BACKEND_FFB,
"FQM-2"},
95 { 1, 0.07, 0.33, 0.66, &
ondata01, &
onhead01, 0, &
khz_4if_mode,
BACKEND_FFB,
"FQM-3"},
96 { 1, 0.08, 0.33, 0.66, &
ondata01, &
onhead01, 0, &
khz_4if_mode,
BACKEND_FFB,
"FQM-4"},
99 { 1, 0.01, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"A1M-1"},
100 { 1, 0.02, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"A1M-2"},
101 { 0, 0.02, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"A1M-3"},
102 { 0, 0.02, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"A1M-4"},
105 { 1, 0.05, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"AQM-1"},
106 { 0, 0.05, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"AQM-2"},
107 { 0, 0.05, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"AQM-3"},
108 { 0, 0.05, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_AOS,
"AQM-4"},
111 { 1, 0.01, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_CTS,
"C50-1"},
112 { 0, 0.01, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_CTS,
"C50-2"},
113 { 0, 0.01, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_CTS,
"C50-3"},
114 { 0, 0.01, 0.009, 0.33, &
ondata01, &
onhead01, 0, &
aos_4if_mode,
BACKEND_CTS,
"C50-4"},
124 float ifnums[] = { 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08};
166 float requestOff, requestGains;
170 log_msg(
"Entering do_lineotf");
177 log_msg(
"Using %s for OTF", sdp[k].name);
200 log_msg(
"Off scan #%.2f, NOT found in %s", requestOff, cp);
210 log_msg(
"Gain scan #%.2f, NOT found in %s", requestGains, cp);
243 sprintf(temp,
"Source: %s",
source);
262 for(j=0, i=cd;i<(n+cd);i++)
465 char tb[20], outBuf[256];
472 sprintf(tb,
"%.4f ", f[j]);
struct SPECTRA_DISPLAY_PARAMS sdp[MAX_IF_NUMS]
int clipDataProc(float *data, struct HEADER *head, int nchan, int cd)
int xgr_drawText(double x, double y, char *msg, int clr, int f)
int freeDataPointers(void)
int log_msg(const char *fmt,...)
int found_scans[MAX_BACKENDS *MAX_PARTS]
int do_linetotalmapoff(void)
int setSourceName(struct HEADER *head)
struct HEADER gainshead01
int do_otf(float *data, struct HEADER *head, float *offdata, float *gainsdata)
int display_spectra(double xb, double xe, double yb, double ye, float *data, struct HEADER *head, int procSpec)
int xgr_checkForEvents(void)
int xgr_clearScreen(void)