64 char execbuf[1024], tbuf[256], fbuf[256], gbuf[256];
81 sprintf(execbuf,
"title %s", tbuf);
87 sprintf(execbuf,
"file %s", fbuf);
93 sprintf(execbuf,
"gfile %s", gbuf);
160 char rst[256], src[256], *cp;
161 static char cmd[8*4096], tbuf[4*4096];
164 st_report(
"Starting Interactive Source/Freq Selection");
172 sprintf(cmd,
"--list --height=400 --width=400 --column='Source' --column='Freq' --column='Qty' --multiple --print-column='ALL' --text='Select a Source and Freq' %s", tbuf);
176 st_print(
"pickSourceFreq(): %s\n", cmd);
190 st_print(
"pickSourceFreq(): Got %s back from doZenity()\n", rst);
205 st_print(
"pickSourceFreq(): Results is now: %s\n", rst);
208 n = sscanf(rst,
"%s %lf %d", src, &f, &nscans);
212 st_print(
"pickSourceFreq(): Parsed %d tokens\n", n);
219 st_print(
"pickSourceFreq(): Good Parse\n");
232 st_print(
"pickSourceFreq(): Bad Parse\n");
238 st_fail(
"pickSourceFreq(): No Source/Freq's in file");
466 strncpy(source, p->
object, 16);
773 st_report(
"Backend Matching: Resolution");
797 st_report(
"Invert the Phases: Inverted");
806 st_report(
"Auto Application of SPTIP's: True");
810 st_report(
"Auto Application of SPTIP's: False");
877 fprintf(fp,
"name %s\n",
env->
title);
887 fprintf(fp,
"bscan %8.2f\n",
env->
bscan);
888 fprintf(fp,
"escan %8.2f\n",
env->
escan);
892 fprintf(fp,
"freq %10.6f\n",
env->
freq);
896 fprintf(fp,
"freq -\n");
899 fprintf(fp,
"delfreq %10.6f\n",
env->
dfreq);
907 fprintf(fp,
"source -\n");
916 fprintf(fp,
"date %.4f\n",
env->
date);
920 fprintf(fp,
"date -\n");
927 fprintf(fp,
"ptime %.2f\n",
env->
ptime);
933 fprintf(fp,
"rejection %.3f %.3f %.3f %.3f\n",
943 fprintf(fp,
"feed %d\n", (
int)(
env->
if_feed * 100.0));
947 fprintf(fp,
"bkres %f\n",
env->
bkres);
960 fprintf(fp,
"ignore ");
1002 fprintf(fp,
"vc\n");
1007 fprintf(fp,
"vv\n");
1012 fprintf(fp,
"vf\n");
1017 fprintf(fp,
"histo\n");
1022 fprintf(fp,
"lines\n");
1027 fprintf(fp,
"points\n");
1032 fprintf(fp,
"linepts\n");
struct LP_IMAGE_INFO * h0
#define BKMATCH_RESOLUTION
char * strcmprs(char *str)
int params_writeParams(FILE *fp)
int doSummaryOfFreqs2Buf()
struct PARSE_STACK * args
double rejections[MAX_BEAMS]
int lp_fcmp(double first, double second, double delta)
int printH_FlagHelp(char *cmd)
#define PLOT_STYLE_POINTS
double ignoredscans[MAX_IGNORED]
int doZenity(char *cmd, char *rst)
#define PLOT_STYLE_LINEPTS
void subArgs(int wt, const char *fmt,...)