Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
proto.h File Reference

Go to the source code of this file.

Functions

int alias_get_tok (char *edit)
 
int doAlias (void)
 
int doUnalias (void)
 
struct ALIAS * isAlias (char *buf)
 
int substituteAliases (char *buf)
 
int alma_get_tok (char *edit)
 
int almaSort (struct CALIBRATOR *p1, struct CALIBRATOR *p2)
 
int sortCalibrators (int field)
 
int angle_get_tok (char *edit)
 
double angleToDeg (char *inBuf)
 
int loadCalibrators (char *name)
 
int showCalibrator (struct CALIBRATOR *p, int first)
 
int plotAlmaCalibrator (void)
 
int createAlmaCat (int band)
 
int validateCalibrators (void)
 
int almaCalibrator (void)
 
int loadAtmFromServer (char *which, double fmin, double fmax, double fstep, double pwv, double gtemp, double gpress, double altitude, double ymin)
 
float computeAtmophers (double elv)
 
int findMinMax (double *fmin, double *fmax)
 
int generateAtm (double fmin, double fmax, double mmwat, double tamb, double press, double elev)
 
int doATM (void)
 
int addBadChan (int bad)
 
int removeBadChanFromArray (int bad)
 
int autoFind (int flag)
 
int setBadInterval (void)
 
int ignoreBadChan (void)
 
int tellBadChan (void)
 
int isBadChan (int bad)
 
int clearBadChan (void)
 
int readBadChanFile (void)
 
int badChanShow (void)
 
float findNextGoodChan (struct LP_IMAGE_INFO *image, int j)
 
float findPreGoodChan (struct LP_IMAGE_INFO *image, int j)
 
int line_removeBadChans (struct LP_IMAGE_INFO *image, int print)
 
int doSpike (void)
 
int correctBadChans (void)
 
int do_showBad (void)
 
int writeBadChans (void)
 
int zero_bl_averages (void)
 
int doBaseline (void)
 
int computeEachBaseLine (struct LP_IMAGE_INFO *image)
 
int computeBaseLine (struct LP_IMAGE_INFO *image)
 
int line_doBaseLine (struct LP_IMAGE_INFO *image)
 
int isInBaseLineRegion (int chan)
 
int tellBaselines (void)
 
int setNegBaselines (void)
 
int sortBaselines (void)
 
int findEmptyBaseline (void)
 
int addOneOrMoreSegment (void)
 
int removeOneSegment (void)
 
int setBaselines (void)
 
int baselinesDefined (struct LP_IMAGE_INFO *image)
 
int findLastGood (struct LP_IMAGE_INFO *image, int indx, int *lgn, float *lg)
 
int findNextGood (struct LP_IMAGE_INFO *image, int indx, int *ngn, float *ng)
 
int doBshape (void)
 
int do_contGraceFit (void)
 
int doGraceFit (void)
 
int doRmBase (void)
 
int doBmove (void)
 
int doBloop (void)
 
int doNBaseset (void)
 
int writeBaseLines (void)
 
int dcOffset (void)
 
int batch_get_tok (char *edit)
 
int doBatch (void)
 
int clearBatch (char *name)
 
int loadBatch (char *bname)
 
int execBatch (char *name)
 
int printBatch (char *name)
 
int isBatch (char *name)
 
int listBatch (void)
 
int findAmbiguousBatch (char *arg, char *buf)
 
struct BATCH_COMMAND * getFreeBatch (char *name)
 
int doEnd (void)
 
double parseBeamEff (char *buf)
 
int setBeamEff (void)
 
int setRejections (void)
 
int doAcceptEff (void)
 
struct tm * breakTime (double burnT)
 
int findBackend (double scan)
 
int beam_eff (int first)
 
double planck (double freq, double T_bright)
 
int processResults (int n, int indx, FILE *fp)
 
int writeResults (int indx[4])
 
int doBeamEff (void)
 
int deCommaBuf (char *buf)
 
int fillScans (int bscan, char *s, double f, char *buf)
 
int doBefd (void)
 
int doBoxcar (void)
 
void boxcar (float *input, float *output, int len, int order)
 
int doHanning (void)
 
int hanning (float *input, float *output, int n)
 
int doBspline (void)
 
int bspline_fit (struct LP_IMAGE_INFO *image)
 
int bspline_smooth (struct LP_IMAGE_INFO *image)
 
int chgres (float *told, int nchan, double oldres, double newres)
 
int readConfig (void)
 
int writeParams (FILE *fp)
 
int writeConfig (void)
 
int writeAllConfig (void)
 
int loadInitFile (void)
 
int accum_v1 (float *data, struct HEADER *h, int invert, struct ACCUM_RESULTS *ar)
 
int sendAccumResults (void)
 
int printBurnTime (void)
 
int accumSelected (void)
 
int do_objectNormalize (void)
 
int do_contNormalize (void)
 
int cont_determine_min_max (float *ydata, int dl, double scan)
 
int kp_bin_and_cal_data (float *ydata, int dl, int avg, float *data, struct HEADER *h)
 
int seq_bin_and_cal_data (float *ydata, int dl, int avg, float *data, struct HEADER *h, int phase)
 
int foc_bin_and_cal_data (float *ydata, int dl, int avg, float *data, struct HEADER *h, int phase)
 
int map_bin_and_cal_data (float *ydata, int dl, int avg, float *data, struct HEADER *h, int phase)
 
int smt_bin_and_cal_data (float *ydata, int dl, int avg, float *data, struct HEADER *h)
 
int clearFillContStruct (struct HEADER *h, int dlen, char *xl, char *yl)
 
int cont_show_phases (float *data, struct HEADER *h, int plot)
 
int sendCont (int mode)
 
int cont_display_sequence (struct LP_IMAGE_INFO *image, int plot)
 
double findDeltaX (struct HEADER *h)
 
int cont_display_mapscan (struct LP_IMAGE_INFO *image, int plot)
 
int processContinuum (struct HEADER *head, float *phases, float *data, int *dl, char *mode)
 
int cont_display_five (struct LP_IMAGE_INFO *image, int plot)
 
int cont_display_any_focus (struct LP_IMAGE_INFO *image, int plot, int type)
 
int zero_check (char *who, int dl, float *data)
 
int cont_save_data (float *data, struct HEADER *h)
 
int cont_display_data (float *data, struct HEADER *h)
 
int setAutoCal (void)
 
int turnOns (void)
 
int crissCross (void)
 
int convol_get_tok (char *edit)
 
double fwhm (double freq)
 
double findObj (char *name)
 
void convolve (const double Signal[], size_t SignalLen, const double Kernel[], size_t KernelLen, double Result[])
 
int goodSource (char *s)
 
int convol (char *source, int first, double freq, double *fw, double *source_size, double *beam_size)
 
int initDeConStruct (void)
 
int doDeConvol (void)
 
double interpl8 (double *xtab, double *ytab, int no, double x, int *next)
 
int dbase_get_tok (char *edit)
 
int printRow (char *buf)
 
int doDbase (void)
 
int doDemo (void)
 
int doDayMode (void)
 
int doNightMode (void)
 
int initGnuplotBackground (void)
 
int clearEnv (void)
 
int setDVars (void)
 
int mapGS2Env (void)
 
int setEnv (void)
 
int nameEnv (void)
 
int tellEnv (void)
 
int copyEnv (void)
 
int reportEnv (void)
 
int getEnvironment (void)
 
char * replace_str (char *str, char *orig, char *rep)
 
int substituteEnv (void)
 
int initOnlineEnv (void)
 
int saveEnv (void)
 
int restoreEnv (void)
 
int fetchNGSHelp (char *name, char *buf)
 
int printFBOffsets (void)
 
int autoLevel (void)
 
int autoMatch (int seg)
 
int doFBOffset (void)
 
int applyOffsets (struct LP_IMAGE_INFO *image)
 
int clearFBOffets (void)
 
int printFFBChan (int c, struct FFB_CHANNELS *p, int header)
 
int verifyFFBChans (void)
 
int ffb_load (void)
 
int printExtraChans (int chan, int first)
 
int doFFB (void)
 
int lp_fftcomp (void)
 
int findExactFFTFreq (double mx)
 
int lp_fftpick (void)
 
int lp_fftcut (void)
 
int lp_fft (void)
 
int sendFocus (void)
 
int focusSortEl (struct FOCUS_HISTORY_ELEM *p1, struct FOCUS_HISTORY_ELEM *p2)
 
int focusSortTemp (struct FOCUS_HISTORY_ELEM *p1, struct FOCUS_HISTORY_ELEM *p2)
 
int focusSortScan (struct FOCUS_HISTORY_ELEM *p1, struct FOCUS_HISTORY_ELEM *p2)
 
int dofocusSort (void)
 
int findLoadFocuses (void)
 
int doFocusGracefit (void)
 
int printFocusHeader (void)
 
int listLoadedFocuses (void)
 
int listFileFocuses (void)
 
int doFocusScaling (void)
 
int doFocus (void)
 
int executeFormula (void)
 
int clearFormula (void)
 
int defineFormula (void)
 
int readFormulas (void)
 
int writeFormulas (void)
 
int listFormulas (void)
 
int eraseFormulas (void)
 
int doFormula (void)
 
double getmjd (int yr, int mon, int day, int hr, int min)
 
void getephem_utc (TIME *tp)
 
int getephem (int first)
 
double getMoonAge (int yr, int mon, int day, int hr, int min)
 
int printGauss (struct LP_IMAGE_INFO *image)
 
int clearGauss (struct LP_IMAGE_INFO *image, int clear)
 
int copyGoodChars (char *out, char *in)
 
int findLineName (double f, double d, char *buf)
 
int gaussList (int header)
 
int gaussRecord (void)
 
int autoNGauss (int n)
 
int do_line_gauss (void)
 
int cont_gauss (double y1, double y2, double y3, double x1, double x2, double x3, float *a, float *b, float *c)
 
int doGauss (void)
 
int do_cont_gauss (float *d, struct HEADER *h)
 
int plotGauss (double *x, int len, double *a, struct HEADER *h, int mode)
 
double gaussian (const double a, const double b, const double c, const double t)
 
int func_f (const gsl_vector *x, void *params, gsl_vector *f)
 
int func_df (const gsl_vector *x, void *params, gsl_matrix *J)
 
int func_fvv (const gsl_vector *x, const gsl_vector *v, void *params, gsl_vector *fvv)
 
void callback (const size_t iter, void *params, const gsl_multifit_nlinear_workspace *w)
 
void solve_system (gsl_vector *x, gsl_multifit_nlinear_fdf *fdf, gsl_multifit_nlinear_parameters *params)
 
int gaussian_fit_gsl (double *xd, double *yd, const size_t n, double *aa)
 
void xfree (void *ptr)
 
void sort_xy (double *tmp1, double *tmp2, int up, int sorton, int stype)
 
void stasum (double *x, int n, double *xbar, double *sd)
 
double leasev (double *c, int degree, double x)
 
int fitcurve (double *x, double *y, int n, int ideg, double *coeff)
 
void runavg (double *x, double *y, double *ax, double *ay, int n, int ilen)
 
void runstddev (double *x, double *y, double *ax, double *ay, int n, int ilen)
 
void runmedian (double *x, double *y, double *ax, double *ay, int n, int ilen)
 
void runminmax (double *x, double *y, double *ax, double *ay, int n, int ilen, int type)
 
void filterser (int n, double *x, double *y, double *resx, double *resy, double *h, int len)
 
void linearconv (double *x, double *h, double *y, int n, int m)
 
int crosscorr (double *x, double *y, int n, int maxlag, double *xcov, double *xcor)
 
int linear_regression (int n, double *x, double *y, double *coeff)
 
void spline (int n, double *x, double *y, double *b, double *c, double *d)
 
void aspline (int n, double *x, double *y, double *b, double *c, double *d)
 
double seval (int n, double u, double *x, double *y, double *b, double *c, double *d)
 
int gf_includ (int np, int nrbar, double w, double *xrow, double y, double *d, double *rbar, double *thetab, double *sserr)
 
int gf_clear (int np, int nrbar, double *d, double *rbar, double *thetab, double *sserr)
 
int gf_regcf (int np, int nrbar, double *d, double *rbar, double *thetab, double *tol, double *beta, int nreq)
 
int gf_tolset (int np, int nrbar, double *d, double *rbar, double *tol)
 
int gf_sing (int np, int nrbar, double *d, double *rbar, double *thetab, double *sserr, double *tol, int *lindep)
 
int gf_ss (int np, double *d, double *thetab, double *sserr, double *rss)
 
int gf_cov (int np, int nrbar, double *d, double *rbar, int nreq, double *rinv, double *var, double *covmat, int dimcov, double *sterr)
 
void gf_inv (int np, int nrbar, double *rbar, int nreq, double *rinv)
 
int gf_pcorr (int np, int nrbar, double *d, double *rbar, double *thetab, double *sserr, int in, double *cormat, int dimc, double *ycorr)
 
void gf_cor (int np, double *d, double *rbar, double *thetab, double *sserr, double *work, double *cormat, double *ycorr)
 
int gf_vmove (int np, int nrbar, int *vorder, double *d, double *rbar, double *thetab, double *rss, int from, int to, double *tol)
 
int gf_reordr (int np, int nrbar, int *vorder, double *d, double *rbar, double *thetab, double *rss, double *tol, int *list, int n, int pos1)
 
int gf_hdiag (double *xrow, int np, int nrbar, double *d, double *rbar, double *tol, int nreq, double *hii)
 
void gf_pr_utdm_v (double *x, int N, int width, int precision)
 
double * gf_dvector (int l, int h)
 
int * gf_ivector (int l, int h)
 
double ** gf_dmatrix (int rl, int rh, int cl, int ch)
 
void gf_putdvec (const char *s, double *x, int l, int h)
 
int dofitcurve (int cnt, double *xd, double *yd, int nd, double *c)
 
struct HEADER * do_addHeader (int ver, double scan, struct HEADER *head)
 
struct HEADER * checkScanHeader (int v, double s)
 
struct HEADER * addScanHeader (int v, double s, struct HEADER *head)
 
int remScanHeaders (void)
 
int clearScreen (void)
 
int gotoxy (int x, int y)
 
int gridmap_goWriteCenterRow (double *xdata, double *ydata, double *aa1, double *aa2, int n, double scanno)
 
int gridmap_showMiddleRow (void)
 
int gridmap_write_datafile (void)
 
int gridmap_write_csvfile (void)
 
int gridMapStats (void)
 
int gridmap_writeDemFile (int off, int how)
 
int gridMapLimits (void)
 
int gridmap_fitGauss (void)
 
int gridmap_lsqfit (double x[], double y[], int bdata, int ndata, double sig[], int mwt, double *a, double *b, double *siga, double *sigb, double *chi2, double *q)
 
int gridmap_findMinMax (void)
 
int gridmap_removeBaselines (int nb)
 
int scanAlreadyLoaded (struct BEAM_MAP_ELEM *p, double scan)
 
int gmapFillOffsets (struct HEADER *h)
 
int gridmap_grid_data (float *data, struct HEADER *h)
 
double limitValue (double l, double v, double u)
 
int prepareMap (void)
 
int findMapColIndx (double x1, int y1)
 
int findMapRowIndx (int x1, double y1)
 
int gridMapSlice (void)
 
int gridMapPlot (void)
 
int doMapPlot (int how)
 
int mapGaussPlot (void)
 
int mapGaussFit (void)
 
int mapBaseline (void)
 
int gridMapGrid (void)
 
int gridMapGrab (void)
 
int mBaselines (void)
 
int setMapAngle (void)
 
int centerRow (void)
 
int centerAll (void)
 
int showMidRow (void)
 
int cont_removeBaselines (float *d, int len, double scan)
 
int getPlotWinId (int w)
 
int gmapRotate (void)
 
int gridMapDive (void)
 
int contMapFitGauss (void)
 
int removeContMapBaselines (int pf, int nb)
 
int doNutator (void)
 
int doGmapClear (void)
 
int doGmap (void)
 
struct HEAD_PARAMS * findHeaderVal (char *name)
 
int updateHeader (void)
 
int printClass (struct HEADER *h, int n)
 
int printHeader (int type)
 
int cont_header (struct HEADER *h)
 
int line_header (struct HEADER *h)
 
int showHeader (void)
 
int cleanSource (char *tbuf)
 
int printStatus (void)
 
int initLetterHelp (void)
 
int letterHelp (char *h)
 
int showPartHelp (char *help)
 
int showSpecHelp (char *buf)
 
int showAllHelp (int all)
 
int showKhelp (void)
 
int showHelp (void)
 
int addSupplemental (char *cmd, FILE *fp)
 
int makeHelp (void)
 
int printH_FlagHelp (char *cmd)
 
int showChanges (void)
 
int listHistory (void)
 
int rwHistory (int rw)
 
int dummie_main (int argc, char **argv)
 
int computeHistoRMS (struct HISTO_INFO *h)
 
int doHistogram (void)
 
int addIgnore (double scan)
 
int removeIgnore (double scan)
 
int ignoreScans (void)
 
int tellIgnored (void)
 
int isScanIgnored (double scan)
 
int clearIgnores (void)
 
int readIgnoreFile (void)
 
int reviewIgnored (void)
 
int _h0 (void)
 
int _h1 (void)
 
int _h2 (void)
 
int _h3 (void)
 
int _h4 (void)
 
int _h5 (void)
 
int _h6 (void)
 
int _h7 (void)
 
int _h8 (void)
 
int _h9 (void)
 
int setHeader (void)
 
struct LP_IMAGE_INFO * findImage (int i)
 
int parseHarg (char *arg)
 
int copyImage (void)
 
int _copyImage (struct LP_IMAGE_INFO *i1, struct LP_IMAGE_INFO *i2)
 
int printImageHeader (void)
 
int subtractImage (void)
 
int doImage (void)
 
int imageSummary (void)
 
int setImageTitle (void)
 
int hzero (struct LP_IMAGE_INFO *image)
 
int clearAllImages (void)
 
int hLoad (void)
 
int hSave (void)
 
int copyEnv2Image (struct LP_IMAGE_INFO *image)
 
int sendImageStruct (struct LP_IMAGE_INFO *image, int mode)
 
int zeroImage (void)
 
double yintpn (double a, double b, double c, double d, double y)
 
int interp (double *array, int nx, int ny, double *parray, int npx, int npy)
 
int xinterp (double *x1, int nx1, double *x2, int nx2)
 
void exit_proc (int arg1, void *arg2)
 
int clearInterrupt (void)
 
int isInterrupt (void)
 
void sig_handler (int sig)
 
int initSignals (void)
 
int runFile (void)
 
int doZenity (char *cmd, char *rst)
 
int incLevel (int l)
 
int decLevel (int l)
 
int readFile (void)
 
int checkLockFile (void)
 
int removeLockFile (void)
 
int watchFile (void)
 
int reloadFile (void)
 
int fileChanged (void)
 
int loadFile (void)
 
int setGFileName (void)
 
int setUFileName (void)
 
int setSFileName (void)
 
int setValidate (void)
 
int recallNSave (void)
 
int getNSave (void)
 
int p_getScan (void)
 
int getScan (int verbose)
 
int ggetScan (char *buf)
 
int doFver (void)
 
int doGver (void)
 
int gsetFile (void)
 
int getTerminalSize (int *cols, int *rows)
 
int showFiles (void)
 
int findSequences (void)
 
int findVersions (int which, char *seq)
 
int findVers (void)
 
int saveNSave (void)
 
int doSDD (void)
 
int doClass (void)
 
int doPDFL (void)
 
int listSaves (void)
 
int doUpdate (void)
 
char * lcalc (char *cmdbuf)
 
int computeRms (float *y, int n, float *rms)
 
int do_specCombClear (void)
 
int line_accum (struct LP_IMAGE_INFO *image)
 
int line_accumSelected (void)
 
int line_determine_min_max (struct LP_IMAGE_INFO *image)
 
int processSpectra (struct LP_IMAGE_INFO *image)
 
int line_display_spectra (struct LP_IMAGE_INFO *image, int plot)
 
int removeFittedData (struct LP_IMAGE_INFO *image)
 
int linePlot (struct LP_IMAGE_INFO *image)
 
int do_F_Command (void)
 
int do_S_Command (void)
 
int setHWDC (struct LP_IMAGE_INFO *image)
 
int printRMS (void)
 
int selfRej (void)
 
int clearRMS (void)
 
int line_showTable (void)
 
int line_MinMax (struct LP_IMAGE_INFO *image)
 
int doMeasure (void)
 
int cmdShowAverage (void)
 
int showAverage (char *buf)
 
int doPshow (void)
 
int removeBadChans (void)
 
int doQshow (void)
 
int do_psc (void)
 
int doBzero (void)
 
int doSpecInvert (void)
 
int doOSB (void)
 
int fillPattern (void)
 
int lineConvert2LogPlot (void)
 
int line_save_data (struct LP_IMAGE_INFO *h)
 
int deleteReport (void)
 
int writeReport (char *buf)
 
int printReport (void)
 
int isSpecFivePoint (struct HEADER *h)
 
int line_setScale (void)
 
int doZero (void)
 
int doTrec (void)
 
int doYFactor (void)
 
int doNsac (void)
 
int doDedit (void)
 
int setVerbose (void)
 
int validate (int which)
 
int replot (int how)
 
int doPaperSize (void)
 
int makeFileName (char *fname, int pid)
 
int suggestFileName (void)
 
int printPlot (void)
 
int xx (void)
 
int tellOndata (void)
 
int doSysCmd (void)
 
int quitProg (void)
 
int plotAccum (void)
 
int printScan (struct HEADER *p, int nsave)
 
int tellAll (void)
 
int tellAllSfocus (void)
 
int tellAllSpec5 (void)
 
int backendMatch (struct HEADER *h)
 
int listScans (void)
 
int usage (char *name)
 
int printTimeStamp (void)
 
int about (void)
 
int setPrompt (void)
 
int main (int argc, char *argv[])
 
int pruneFile (void)
 
int setSockets (void)
 
int parseMouseValues (double x1, double x2, double y1, double y2)
 
int getResponse (int which)
 
int sendCancel (void)
 
int doCCur (void)
 
int _doCCur (char *msg)
 
int doGetMapAngle (void)
 
int doFCur (void)
 
int _doFCur (char *msg)
 
int doVCur (void)
 
int _doVCur (char *msg)
 
int doTCur (void)
 
int _doTCur (char *msg)
 
int doPageCmd (void)
 
int doDumpScans (void)
 
int doDumpGains (void)
 
int doCheckFile (void)
 
int doCheckSdd (void)
 
int lp_fcmp (double first, double second, double delta)
 
int doAutoScale (void)
 
int setLogPlot (void)
 
int setLinPlot (void)
 
double restFreq (struct HEADER *h)
 
int refreshPlot (void)
 
int getPlotExtents (void)
 
int sendXgraphic (void)
 
int helperWait (void)
 
int helperBinaryWait (void)
 
int doSleep (void)
 
int doPause (void)
 
int showID (void)
 
int doAttach (void)
 
int doGReview (void)
 
int doPGUI (void)
 
int writeIRC_Record (void)
 
int recordTests (void)
 
int doSay (void)
 
int doSelPrint (void)
 
int doCodeView (void)
 
int doTCSH (void)
 
int doXwatch (void)
 
int doLogWatch (void)
 
int doDone (void)
 
int doStop (void)
 
int doVi (void)
 
int doMv (void)
 
int doCP (void)
 
int doCopyRaw (void)
 
int xdelay (int d)
 
int checkObjArray (void)
 
int initObjectsArray (void)
 
int listAllObjects (void)
 
int displayAllObservations (int xmode, int ymode, int lines)
 
int clearObsEntry (char *o)
 
int findObject (struct ACCUM_RESULTS_SEND *ars)
 
int findNextObs (struct ACCUM_RESULTS_SEND *ars, int nobj)
 
int saveObjectAccum (struct ACCUM_RESULTS_SEND *ars)
 
int saveLocalObjectAccum (struct ACCUM_RESULTS_SEND *ars)
 
int showObjectStatus (void)
 
int setExpected (void)
 
int objectDisplay (void)
 
int getLabelPos (char *msg)
 
int doObject (void)
 
int do_objectGraceFit (void)
 
int objectSort (struct MEASUREMENT *p1, struct MEASUREMENT *p2)
 
int do_objectSort (void)
 
int verifyParams (void)
 
int meetsCritiria (struct HEADER *p, int mask)
 
int checkMatch (void)
 
int setFeed (double want)
 
int showC1 (void)
 
int showC2 (void)
 
int showC3 (void)
 
int showC4 (void)
 
int showCb (void)
 
int showC12 (void)
 
int showC34 (void)
 
int showC13 (void)
 
int showC24 (void)
 
int showPhases (void)
 
int showData (void)
 
int saveData (void)
 
int changeRes (void)
 
int showTable (void)
 
int pReview (void)
 
int qReview (void)
 
int reviewStack (void)
 
int tellWeather (void)
 
int showScan (void)
 
int doCal (double d)
 
int doCal1 (void)
 
int doCal11 (void)
 
int doCal2 (void)
 
int doCal12 (void)
 
int doCal3 (void)
 
int doCal4 (void)
 
int doQuick (double d)
 
int doQuick1 (void)
 
int doQuick11 (void)
 
int doQuick2 (void)
 
int doQuick12 (void)
 
int doQuick3 (void)
 
int doQuick4 (void)
 
int to_dataserv (char *buf)
 
int doOTFHelp (void)
 
int configFromHeader (void)
 
int sendFilenames (void)
 
int sendBaselines (void)
 
int sendParams (void)
 
int otfInit (int init)
 
int otfParamList (void)
 
int otfLoad (int norepaint)
 
int otfMovie (int rec, int interp)
 
int otfChanMap (void)
 
int doOTF3Dcube (void)
 
int doOTF3Dplot (void)
 
int autoSetEBscan (void)
 
int reassembleArgs (char *buf)
 
int doOTFcmd (void)
 
int otfGrabSpectralSum (void)
 
int doOTFSlice (void)
 
int otfGrabSpectralPlot (void)
 
int setImage (int i)
 
int doOTFdisplay (void)
 
int doOTF (void)
 
int doOTFFix (void)
 
int doNyquist (void)
 
int optical_determine_min_max (float *ydata, int dl, double scan)
 
int optical_show_phases (float *data, struct HEADER *h, int plot)
 
int display_3d_optical (struct LP_IMAGE_INFO *image)
 
int cont_display_optical (struct LP_IMAGE_INFO *image, int plot)
 
int display_optical_table (float *data, struct HEADER *h)
 
int resetParams (void)
 
int setFreqRes (void)
 
int pickSourceFreq (void)
 
int setFreq (void)
 
int setDfreq (void)
 
int setTau0 (void)
 
int setPTime (void)
 
int setDate (void)
 
int setIFfeed (void)
 
int setScale (void)
 
int setBscan (void)
 
int setEscan (void)
 
int setSource (void)
 
int doBackEnd (void)
 
int doBkNameRes (void)
 
int setCalMode (void)
 
int setInvert (void)
 
int setSplit (void)
 
int showParams (void)
 
int params_writeParams (FILE *fp)
 
int setMode (void)
 
int my_add_history (char *buf)
 
int setDFormat (char *buf)
 
int getNumericFlag (void)
 
int getNset (void)
 
int findAnyVariable (char *name, struct QUERY_VAR *qv)
 
int initParseArgs (void)
 
int pushArgs (void)
 
int popArgs (void)
 
void subArgs (int wt, const char *fmt,...)
 
int compressReassembleTokens (void)
 
int reassembleCommand (char *buf)
 
int parseFlags (void)
 
int clearFlags (void)
 
struct PARSE_FLAGS * findFirstFlag (void)
 
int shiftFlags (void)
 
int isSet (int flag)
 
int isFirst (int flag)
 
int notSet (int flag)
 
int setFlag (int flag, int state)
 
int showLetHelp (void)
 
int listDynVars (void)
 
int findGSVar (char *name)
 
int initDvars (void)
 
int findVariable (char *var)
 
int clearVar (void)
 
int clearAllVar (void)
 
int makeDynVariable (char *var, int type)
 
int createInteger (void)
 
int createDouble (void)
 
int printVar (void)
 
int isSpecial (int cp)
 
int fixMathOperators (char *buf)
 
int expandCmd (char *src, char *dst)
 
int evaluateRightSide (int k, int n, char *buf)
 
int doLetCmd (char *buf)
 
int removeAllSpaces (char *in, char *out)
 
int doCalculation (char *buf)
 
int get_tok (char *edit)
 
int get_cmd_tok (char *edit)
 
int bang (char *buf)
 
int isCommand (char *buf)
 
int recordThisCommand (char *buf)
 
int printAmbiguousCommand (char *arg, struct COMMANDS *cmds)
 
int parseCmd (char *buf)
 
void process_line (char *line)
 
int ctrl_a_list (int arg1, int arg2)
 
int ctrl_b_list (int arg1, int arg2)
 
int ctrl_t_list (int arg1, int arg2)
 
int ctrl_l_list (int arg1, int arg2)
 
int ctrl_p_list (int arg1, int arg2)
 
int ctrl_e_list (int arg1, int arg2)
 
int showShortCuts (void)
 
int init_readline (void)
 
int setColor (int c)
 
int doColor (void)
 
int findInArgs (char *parg)
 
int recordCmds (void)
 
int showVariables (void)
 
char * FilterChars (char *String, char *Filter)
 
int get_sv_tok (char *edit)
 
int substituteVariables (char *inbuf, char *outbuf)
 
int doIf (void)
 
int doElse (void)
 
int doEndIf (void)
 
int doFor (void)
 
int doEndFor (void)
 
int doSexCmd (void)
 
int loadProto (void)
 
int findFunction (char *func, char *file)
 
int doXRange (void)
 
int doYRange (void)
 
int doZoom (void)
 
int setXRange (void)
 
int setYRange (void)
 
int showPeaks (void)
 
int showPeak (void)
 
int doCC (void)
 
int doCF (void)
 
int doCV (void)
 
int doFC (void)
 
int doFF (void)
 
int doFV (void)
 
int doVC (void)
 
int doVF (void)
 
int doVV (void)
 
int setPoints (void)
 
int setHisto (void)
 
int setLines (void)
 
int setLinePts (void)
 
int freeX (void)
 
int freeY (void)
 
int setGrid (void)
 
double mapFtoChan (double f)
 
double mapVtoChan (double v)
 
int doAccumArgs (void)
 
int parseLine (struct EPH_OBJECT *obj, char *name)
 
int eph_interp (struct NEW_EPHEM *ephem, struct EPH_OBJECT *p1, struct EPH_OBJECT *p2)
 
int parseNewEphem (struct NEW_EPHEM *ephem)
 
double rjot (double t, double f)
 
double tb_lin (double f, double f1, double tb1, double f2, double tb2)
 
int loadPlantFluxTables (struct EPH_TIME *t)
 
double tsrcInterp (struct TBRIGHT *tb, double f, int n)
 
int fluxTableOld (long t)
 
int computePlanetFlux (int planet, struct EPH_OBJECT *obj, struct EPH_TIME *t, struct EPH_STATE *s, int logit)
 
int getPlanet (void)
 
int dopFlux (int planet, int flag, double bfreq, double efreq)
 
int showPlanetFlux (void)
 
int isPlanetVar (char *name)
 
int isPlanet (char *name)
 
int lookUpPlanetVal (struct EPH_OBJECT *p, char *val, int print)
 
int printPlanetVar (char *name)
 
int findPlanetVal (char *name, double *dret)
 
int do_FreqSwitch (void)
 
int regionCmd (void)
 
int region_get_tok (char *edit)
 
int addRegionBox (int color, double ra, double dec, double rsize, double dsize, char *title)
 
int remRegions (void)
 
int listRegions (void)
 
int computeRegionExtents (void)
 
int do_listRegions (char *buf)
 
int do_remRegions (char *buf)
 
int do_loadRegion (char *buf)
 
int incrementRejFive (void)
 
int incrementRejNoint (void)
 
int incrementRejOffsets (void)
 
int incrementRejFreqres (void)
 
int incrementRejRa (void)
 
int incrementRejDec (void)
 
int incrementRejSb (void)
 
int incrementRejFreq (void)
 
int incrementRejVel (void)
 
int incrementRejMode (void)
 
int incrementRejIgnored (void)
 
int incrementRejSource (void)
 
int incrementRejScans (void)
 
int incrementRejDates (void)
 
int incrementRejBackend (void)
 
int incrementBogusData (void)
 
int incrementBogusTsys (void)
 
int incrementBogusTcal (void)
 
int resetRejections (void)
 
int setQRcolor (int n)
 
int printRejections (void)
 
int recordScanSum (int indx, struct SCAN_SUM *s)
 
int scansum (void)
 
int specFocusOne (int noint, int nfoc, int feed)
 
int doSfocus (void)
 
int shift (void)
 
int doShift (void)
 
int compAutoShift (void)
 
int listPointingResults (void)
 
int doSpecFive (void)
 
int findBand (double f)
 
int doSplat (void)
 
int molecule (void)
 
int sptip_bin_data (float *ydata, int dl, float *data, struct HEADER *h)
 
int sptip_display_sptip (float *tau0, float *siga, float *sigb, float *data, struct HEADER *h, int plot, int chan)
 
int cmd_doSpTip (void)
 
int doSpTip (void)
 
int showTips (void)
 
int useTau (void)
 
int cont_display_sptip (struct LP_IMAGE_INFO *image, int plot)
 
int sptip_lsqfit (float x[], float y[], int bdata, int edata, float sig[], int mwt, float *a, float *b, float *siga, float *sigb, float *chi2, float *q)
 
int sptip_min_max (float *ydata, int dl, double scan)
 
int doStack (void)
 
int stackFill (void)
 
int stackReset (void)
 
int stackList (void)
 
int stackEmpty (void)
 
int stackAdd (void)
 
int stackInc (void)
 
int mySort (struct CHANNELS *a, struct CHANNELS *b)
 
int prepareData (struct SCAN_INFO *p1, struct SCAN_INFO *p2)
 
int findMean (struct SCAN_INFO *p1, struct SCAN_INFO *p2, int pass)
 
int remove10X (struct SCAN_INFO *p1, struct SCAN_INFO *p2, int pass)
 
int correlateScans (void)
 
int sat_get_tok (char *edit)
 
int parseColor (void)
 
int sendSat (void)
 
int clearSAT (void)
 
int listSAT (void)
 
int doSAT (void)
 
int labelList (char *fname)
 
int getLabelSize (int s)
 
int deQuote (char *buf)
 
int doLabel (void)
 
int markerList (char *fname)
 
int doMarker (void)
 
int findHlineExtents (double *max, double *min)
 
int hlineList (char *fname)
 
int doHline (void)
 
int forkList (char *fname)
 
int autoCreateForks (void)
 
int doFork (void)
 
int doDateString (void)
 
int titleBlock (void)
 
int doGlabel (void)
 
int getMouseClick (char *buf, double *x, double *y)
 
int pstampList (char *fname)
 
int doPStamp (void)
 
int findNextLabel (void)
 
int doCursor (void)
 
int doSum (void)
 
int doImageDiff (void)
 
int doImageDiv (void)
 
int doHalves (void)
 
int surveyWrite (char *fname)
 
int doSurvey (void)
 
int tsysSort (struct TSYS_ELEM *p1, struct TSYS_ELEM *p2)
 
int doTsysSort (void)
 
int findIndex (double f, int first)
 
int tsys_get_tok (char *edit)
 
int doTsysGUI (struct TSYS_SEND *tsys)
 
int doTsysIngest (void)
 
int doTsys3D (void)
 
int doTsysPrepare (void)
 
int doTsysPlot (void)
 
int doTsysList (void)
 
int doTsys (void)
 
int computeXaxis (struct LP_IMAGE_INFO *image, int logit)
 
int makeXaxisArray (struct LP_IMAGE_INFO *image)
 
int findXaxisElement (struct LP_IMAGE_INFO *image, double x1, double x2, int *b, int *e)
 

Function Documentation

int _copyImage ( struct LP_IMAGE_INFO *  i1,
struct LP_IMAGE_INFO *  i2 
)

Definition at line 329 of file image.c.

int _doCCur ( char *  msg)

Tell the xgraphics program to send the next mouse click
(internal version)

Returns
0

Definition at line 2411 of file linuxpops.c.

int _doFCur ( char *  msg)

Tell the xgraphics program to send the next mouse click
(internal version)

Returns
0

Definition at line 2493 of file linuxpops.c.

int _doTCur ( char *  msg)

Tell the xgraphics program to send the next mouse click
(internal version)

Returns
0

Definition at line 2580 of file linuxpops.c.

int _doVCur ( char *  msg)

Tell the xgraphics program to send the next mouse click
(internal version)

Returns
0

Definition at line 2537 of file linuxpops.c.

int _h0 ( void  )

Definition at line 93 of file image.c.

int _h1 ( void  )

Definition at line 104 of file image.c.

int _h2 ( void  )

Definition at line 115 of file image.c.

int _h3 ( void  )

Definition at line 126 of file image.c.

int _h4 ( void  )

Definition at line 137 of file image.c.

int _h5 ( void  )

Definition at line 148 of file image.c.

int _h6 ( void  )

Definition at line 159 of file image.c.

int _h7 ( void  )

Definition at line 170 of file image.c.

int _h8 ( void  )

Definition at line 181 of file image.c.

int _h9 ( void  )

Definition at line 192 of file image.c.

int about ( )

Print the kernal version and version numbers

Returns
0

Definition at line 1510 of file linuxpops.c.

int accum_v1 ( float *  data,
struct HEADER *  h,
int  invert,
struct ACCUM_RESULTS *  ar 
)

Definition at line 94 of file cont.c.

int accumSelected ( void  )

Definition at line 611 of file cont.c.

int addBadChan ( int  bad)

OK, delema; The badchannel array consists of an array of ints. There are normally zero, but a bad channel number is indicated in the array by it's channel number.

How do you flag channel 0???

So, without a complete hack job, I decided that any element in the array with ZERO_CHANNEL (-1) in it indicated Chan 0.

OK, now it's a hack job;

New plan; set the array to -1 when there is nothing bad; That way 0 is a legit number.

Definition at line 81 of file badchan.c.

int addIgnore ( double  scan)

Definition at line 61 of file ignore.c.

int addOneOrMoreSegment ( void  )

Definition at line 683 of file baseline.c.

int addRegionBox ( int  color,
double  ra,
double  dec,
double  rsize,
double  dsize,
char *  title 
)

Definition at line 99 of file region.c.

struct HEADER* addScanHeader ( int  v,
double  s,
struct HEADER *  head 
)
int addSupplemental ( char *  cmd,
FILE *  fp 
)

Definition at line 341 of file help.c.

int alias_get_tok ( char *  edit)

split command up into tokens

Definition at line 68 of file alias.c.

int alma_get_tok ( char *  edit)

Definition at line 75 of file alma.c.

int almaCalibrator ( void  )

Definition at line 508 of file alma.c.

int almaSort ( struct CALIBRATOR *  p1,
struct CALIBRATOR *  p2 
)

Definition at line 94 of file alma.c.

int angle_get_tok ( char *  edit)

Definition at line 158 of file alma.c.

double angleToDeg ( char *  inBuf)

Definition at line 177 of file alma.c.

int applyOffsets ( struct LP_IMAGE_INFO *  image)

Definition at line 413 of file fboffset.c.

void aspline ( int  n,
double *  x,
double *  y,
double *  b,
double *  c,
double *  d 
)

Definition at line 754 of file grace_fit.c.

int autoCreateForks ( void  )

Definition at line 1421 of file strings_and_things.c.

int autoFind ( int  flag)

Definition at line 135 of file badchan.c.

int autoLevel ( void  )

Definition at line 82 of file fboffset.c.

int autoMatch ( int  seg)

Definition at line 146 of file fboffset.c.

int autoNGauss ( int  n)

Definition at line 319 of file gauss.c.

int autoSetEBscan ( void  )

Definition at line 701 of file otf.c.

int backendMatch ( struct HEADER *  h)

Check to see if passed header backend matches the criteria

Parameters
hstruct HEADER::
Returns
1 if it's a match
0 otherwise

Definition at line 1033 of file linuxpops.c.

int badChanShow ( void  )

Definition at line 467 of file badchan.c.

int bang ( char *  buf)

Definition at line 1943 of file parse.c.

int baselinesDefined ( struct LP_IMAGE_INFO *  image)

Definition at line 948 of file baseline.c.

int batch_get_tok ( char *  edit)

Definition at line 66 of file batch.c.

int beam_eff ( int  first)

Definition at line 292 of file beam.c.

void boxcar ( float *  input,
float *  output,
int  len,
int  order 
)

Definition at line 92 of file box.c.

struct tm* breakTime ( double  burnT)

Definition at line 246 of file beam.c.

int bspline_fit ( struct LP_IMAGE_INFO *  image)

Definition at line 92 of file bspline_fit.c.

int bspline_smooth ( struct LP_IMAGE_INFO *  image)

Definition at line 216 of file bspline_fit.c.

void callback ( const size_t  iter,
void *  params,
const gsl_multifit_nlinear_workspace *  w 
)

Definition at line 158 of file gaussian_fit.c.

int centerAll ( void  )

Definition at line 2523 of file gridmap.c.

int centerRow ( void  )

Definition at line 2485 of file gridmap.c.

int changeRes ( void  )

Definition at line 750 of file observe.c.

int checkLockFile ( void  )

Definition at line 287 of file io.c.

int checkMatch ( void  )

Definition at line 251 of file observe.c.

int checkObjArray ( void  )

Definition at line 82 of file object.c.

struct HEADER* checkScanHeader ( int  v,
double  s 
)
int chgres ( float *  told,
int  nchan,
double  oldres,
double  newres 
)
int cleanSource ( char *  tbuf)

Definition at line 711 of file header.c.

int clearAllImages ( void  )

Definition at line 629 of file image.c.

int clearAllVar ( void  )

Definition at line 1027 of file parse.c.

int clearBadChan ( )

Zero out the bad channel array

Definition at line 396 of file badchan.c.

int clearBatch ( char *  name)

Definition at line 155 of file batch.c.

int clearEnv ( void  )

Definition at line 159 of file env.c.

int clearFBOffets ( void  )

Definition at line 451 of file fboffset.c.

int clearFillContStruct ( struct HEADER *  h,
int  dlen,
char *  xl,
char *  yl 
)

Definition at line 1726 of file cont.c.

int clearFlags ( void  )

Definition at line 583 of file parse.c.

int clearFormula ( void  )

Definition at line 106 of file formula.c.

int clearGauss ( struct LP_IMAGE_INFO *  image,
int  clear 
)

Definition at line 145 of file gauss.c.

int clearIgnores ( void  )

Definition at line 198 of file ignore.c.

int clearInterrupt ( void  )

Definition at line 144 of file interrupt.c.

int clearObsEntry ( char *  o)

Definition at line 196 of file object.c.

int clearRMS ( void  )

Definition at line 986 of file line.c.

int clearSAT ( void  )

Definition at line 147 of file strings_and_things.c.

int clearScreen ( void  )

Definition at line 246 of file gridmap.c.

int clearVar ( void  )

Definition at line 1001 of file parse.c.

int cmd_doSpTip ( void  )

Definition at line 253 of file sptip.c.

int cmdShowAverage ( void  )

Definition at line 1104 of file line.c.

int compAutoShift ( void  )

Definition at line 168 of file shift.c.

int compressReassembleTokens ( void  )

Definition at line 461 of file parse.c.

float computeAtmophers ( double  elv)
int computeBaseLine ( struct LP_IMAGE_INFO *  image)

Fit a LSQ to the data using the defined baseline areas Compute a rms for those regions too

Definition at line 200 of file baseline.c.

int computeEachBaseLine ( struct LP_IMAGE_INFO *  image)

Definition at line 102 of file baseline.c.

int computeHistoRMS ( struct HISTO_INFO *  h)

Definition at line 103 of file histogram.c.

int computePlanetFlux ( int  planet,
struct EPH_OBJECT *  obj,
struct EPH_TIME *  t,
struct EPH_STATE *  s,
int  logit 
)

Definition at line 548 of file planets.c.

int computeRegionExtents ( void  )

Definition at line 238 of file region.c.

int computeRms ( float *  y,
int  n,
float *  rms 
)

Compute the rms of the data passed NOTE: This is not a full spectra, but a contructed array of data

Definition at line 82 of file line.c.

int computeXaxis ( struct LP_IMAGE_INFO *  image,
int  logit 
)

Definition at line 70 of file xaxis.c.

int configFromHeader ( void  )

Definition at line 139 of file otf.c.

int cont_determine_min_max ( float *  ydata,
int  dl,
double  scan 
)
int cont_display_any_focus ( struct LP_IMAGE_INFO *  image,
int  plot,
int  type 
)

Definition at line 2327 of file cont.c.

int cont_display_data ( float *  data,
struct HEADER *  h 
)

Definition at line 2599 of file cont.c.

int cont_display_five ( struct LP_IMAGE_INFO *  image,
int  plot 
)

Definition at line 2113 of file cont.c.

int cont_display_mapscan ( struct LP_IMAGE_INFO *  image,
int  plot 
)

Definition at line 1924 of file cont.c.

int cont_display_optical ( struct LP_IMAGE_INFO *  image,
int  plot 
)

Definition at line 286 of file optical.c.

int cont_display_sequence ( struct LP_IMAGE_INFO *  image,
int  plot 
)

Definition at line 1868 of file cont.c.

int cont_display_sptip ( struct LP_IMAGE_INFO *  image,
int  plot 
)

Definition at line 391 of file sptip.c.

int cont_gauss ( double  y1,
double  y2,
double  y3,
double  x1,
double  x2,
double  x3,
float *  a,
float *  b,
float *  c 
)
int cont_header ( struct HEADER *  h)

Definition at line 476 of file header.c.

int cont_removeBaselines ( float *  d,
int  len,
double  scan 
)

Definition at line 2710 of file gridmap.c.

int cont_save_data ( float *  data,
struct HEADER *  h 
)

Definition at line 2519 of file cont.c.

int cont_show_phases ( float *  data,
struct HEADER *  h,
int  plot 
)

Definition at line 1747 of file cont.c.

int contMapFitGauss ( void  )

Definition at line 3186 of file gridmap.c.

int convol ( char *  source,
int  first,
double  freq,
double *  fw,
double *  source_size,
double *  beam_size 
)

Definition at line 290 of file convol.c.

int convol_get_tok ( char *  edit)

Definition at line 106 of file convol.c.

void convolve ( const double  Signal[],
size_t  SignalLen,
const double  Kernel[],
size_t  KernelLen,
double  Result[] 
)

Definition at line 251 of file convol.c.

int copyEnv ( void  )

Definition at line 405 of file env.c.

int copyEnv2Image ( struct LP_IMAGE_INFO *  image)

Definition at line 784 of file image.c.

int copyGoodChars ( char *  out,
char *  in 
)

Definition at line 164 of file gauss.c.

int copyImage ( void  )

Definition at line 275 of file image.c.

int correctBadChans ( )

Routine to fix the bad channel array from using 0 = empty to -1 = empty element.

That change allows for channel 0 to be flagged.

Definition at line 688 of file badchan.c.

int correlateScans ( void  )

Definition at line 189 of file stats.c.

int createAlmaCat ( int  band)

Definition at line 417 of file alma.c.

int createDouble ( void  )

Definition at line 1101 of file parse.c.

int createInteger ( void  )

Definition at line 1086 of file parse.c.

int crissCross ( void  )

Definition at line 2781 of file cont.c.

int crosscorr ( double *  x,
double *  y,
int  n,
int  maxlag,
double *  xcov,
double *  xcor 
)

Definition at line 463 of file grace_fit.c.

int ctrl_a_list ( int  arg1,
int  arg2 
)

Definition at line 2528 of file parse.c.

int ctrl_b_list ( int  arg1,
int  arg2 
)

Definition at line 2545 of file parse.c.

int ctrl_e_list ( int  arg1,
int  arg2 
)

Definition at line 2608 of file parse.c.

int ctrl_l_list ( int  arg1,
int  arg2 
)

Definition at line 2577 of file parse.c.

int ctrl_p_list ( int  arg1,
int  arg2 
)

Definition at line 2593 of file parse.c.

int ctrl_t_list ( int  arg1,
int  arg2 
)

Definition at line 2562 of file parse.c.

int dbase_get_tok ( char *  edit)

Split results up into tokens

Definition at line 113 of file dbase.c.

int dcOffset ( void  )

Definition at line 1957 of file baseline.c.

int decLevel ( int  l)

Definition at line 134 of file io.c.

int deCommaBuf ( char *  buf)

Definition at line 62 of file befd.c.

int defineFormula ( void  )

Definition at line 133 of file formula.c.

int deleteReport ( void  )

Definition at line 2047 of file line.c.

int deQuote ( char *  buf)

Definition at line 323 of file strings_and_things.c.

int display_3d_optical ( struct LP_IMAGE_INFO *  image)

Definition at line 190 of file optical.c.

int display_optical_table ( float *  data,
struct HEADER *  h 
)

Definition at line 324 of file optical.c.

int displayAllObservations ( int  xmode,
int  ymode,
int  lines 
)

Definition at line 152 of file object.c.

struct HEADER* do_addHeader ( int  ver,
double  scan,
struct HEADER *  head 
)
int do_cont_gauss ( float *  d,
struct HEADER *  h 
)

Definition at line 879 of file gauss.c.

int do_contGraceFit ( void  )

Definition at line 1446 of file baseline.c.

int do_contNormalize ( void  )

Definition at line 1141 of file cont.c.

int do_F_Command ( void  )

Definition at line 835 of file line.c.

int do_FreqSwitch ( void  )

Definition at line 187 of file rap.c.

int do_line_gauss ( void  )

Definition at line 522 of file gauss.c.

int do_listRegions ( char *  buf)

Definition at line 299 of file region.c.

int do_loadRegion ( char *  buf)

Definition at line 354 of file region.c.

int do_objectGraceFit ( void  )

Definition at line 942 of file object.c.

int do_objectNormalize ( void  )

Definition at line 1069 of file cont.c.

int do_objectSort ( void  )

Definition at line 1126 of file object.c.

int do_psc ( void  )

Definition at line 1498 of file line.c.

int do_remRegions ( char *  buf)

Definition at line 309 of file region.c.

int do_S_Command ( void  )

Definition at line 856 of file line.c.

int do_showBad ( void  )

Definition at line 714 of file badchan.c.

int do_specCombClear ( void  )

Definition at line 194 of file line.c.

int doAcceptEff ( void  )

Definition at line 223 of file beam.c.

int doAccumArgs ( void  )

Definition at line 611 of file paxis.c.

int doAlias ( void  )

Definition at line 87 of file alias.c.

int doATM ( void  )

Definition at line 510 of file atm.c.

int doAttach ( void  )

Definition at line 3117 of file linuxpops.c.

int doAutoScale ( )

Frees both plotting axis

Returns
0

Definition at line 2788 of file linuxpops.c.

int doBackEnd ( void  )

Definition at line 490 of file params.c.

int doBaseline ( void  )

Definition at line 77 of file baseline.c.

int doBatch ( void  )

Definition at line 85 of file batch.c.

int doBeamEff ( void  )

Definition at line 619 of file beam.c.

int doBefd ( void  )

Definition at line 153 of file befd.c.

int doBkNameRes ( void  )

Definition at line 509 of file params.c.

int doBloop ( void  )

Definition at line 1853 of file baseline.c.

int doBmove ( void  )

Definition at line 1767 of file baseline.c.

int doBoxcar ( void  )

Definition at line 68 of file box.c.

int doBshape ( void  )

Definition at line 1023 of file baseline.c.

int doBspline ( void  )

Definition at line 71 of file bspline_fit.c.

int doBzero ( void  )

Definition at line 1734 of file line.c.

int doCal ( double  d)

Definition at line 1360 of file observe.c.

int doCal1 ( void  )

Definition at line 1433 of file observe.c.

int doCal11 ( void  )

Definition at line 1438 of file observe.c.

int doCal12 ( void  )

Definition at line 1448 of file observe.c.

int doCal2 ( void  )

Definition at line 1443 of file observe.c.

int doCal3 ( void  )

Definition at line 1453 of file observe.c.

int doCal4 ( void  )

Definition at line 1458 of file observe.c.

int doCalculation ( char *  buf)
Bug:
lcalc exits if there is a math error;
must set in place a math_err handler
Also, the command line args are not evaluated first.
lcalc doesn't know what to do with the command and exits.

Definition at line 1802 of file parse.c.

int doCC ( void  )

Definition at line 337 of file paxis.c.

int doCCur ( )

Command line version

Returns
0

Definition at line 2398 of file linuxpops.c.

int doCF ( void  )

Definition at line 348 of file paxis.c.

int doCheckFile ( )

Execute the external program 'checkfile'

Returns
0

Definition at line 2722 of file linuxpops.c.

int doCheckSdd ( )

Execute the external program 'check_sdd'

Returns
0

Definition at line 2750 of file linuxpops.c.

int doClass ( void  )

Definition at line 1202 of file io.c.

int doCodeView ( void  )

Definition at line 3332 of file linuxpops.c.

int doColor ( void  )

Definition at line 2672 of file parse.c.

int doCopyRaw ( void  )

Definition at line 3523 of file linuxpops.c.

int doCP ( void  )

Definition at line 3497 of file linuxpops.c.

int doCursor ( void  )

Definition at line 2535 of file strings_and_things.c.

int doCV ( void  )

Definition at line 359 of file paxis.c.

int doDateString ( void  )

Definition at line 1781 of file strings_and_things.c.

int doDayMode ( void  )

Definition at line 62 of file display.c.

int doDbase ( void  )

Definition at line 217 of file dbase.c.

int doDeConvol ( void  )

Definition at line 504 of file convol.c.

int doDedit ( void  )

Definition at line 2699 of file line.c.

int doDemo ( void  )

Definition at line 61 of file demo.c.

int doDone ( void  )

Definition at line 3430 of file linuxpops.c.

int doDumpGains ( )

Execute the external program 'dumpscans' on Gains file

Returns
0

Definition at line 2655 of file linuxpops.c.

int doDumpScans ( )

Execute the external program 'dumpscans' on data file

Returns
0

Definition at line 2628 of file linuxpops.c.

int doElse ( void  )

Definition at line 3033 of file parse.c.

int doEnd ( void  )

Definition at line 711 of file batch.c.

int doEndFor ( void  )

Definition at line 3092 of file parse.c.

int doEndIf ( void  )

Definition at line 3066 of file parse.c.

int doFBOffset ( void  )

Definition at line 248 of file fboffset.c.

int doFC ( void  )

Definition at line 370 of file paxis.c.

int doFCur ( )

Command line version

Returns
0

Definition at line 2480 of file linuxpops.c.

int doFF ( void  )

Definition at line 381 of file paxis.c.

int doFFB ( void  )

Definition at line 310 of file ffb.c.

int dofitcurve ( int  cnt,
double *  xd,
double *  yd,
int  nd,
double *  c 
)

Definition at line 976 of file grace_dofit.c.

int doFocus ( void  )

Definition at line 791 of file focus.c.

int doFocusGracefit ( void  )

Definition at line 432 of file focus.c.

int doFocusScaling ( void  )

Definition at line 707 of file focus.c.

int dofocusSort ( void  )

Definition at line 147 of file focus.c.

int doFor ( void  )

Definition at line 3084 of file parse.c.

int doFork ( void  )

Definition at line 1492 of file strings_and_things.c.

int doFormula ( void  )

Definition at line 310 of file formula.c.

int doFV ( void  )

Definition at line 392 of file paxis.c.

int doFver ( void  )

Definition at line 913 of file io.c.

int doGauss ( void  )

Definition at line 808 of file gauss.c.

int doGetMapAngle ( )

Tell the xgraphics program to send the map_angle

Returns
0

Not all versions of gnuplot have these variables Need to resolve how to tell this via gnuplot versions.

Definition at line 2448 of file linuxpops.c.

int doGlabel ( void  )

Definition at line 2068 of file strings_and_things.c.

int doGmap ( void  )

Definition at line 3530 of file gridmap.c.

int doGmapClear ( void  )

Definition at line 3491 of file gridmap.c.

int doGraceFit ( void  )

Definition at line 1641 of file baseline.c.

int doGReview ( void  )

Definition at line 3138 of file linuxpops.c.

int doGver ( void  )

Definition at line 953 of file io.c.

int doHalves ( void  )

Definition at line 405 of file sum.c.

int doHanning ( void  )

Definition at line 116 of file box.c.

int doHistogram ( void  )

1.5

1.5

Definition at line 145 of file histogram.c.

int doHline ( void  )

Definition at line 1181 of file strings_and_things.c.

int doIf ( void  )

Definition at line 2882 of file parse.c.

int doImage ( void  )

Definition at line 458 of file image.c.

int doImageDiff ( void  )

Definition at line 188 of file sum.c.

int doImageDiv ( void  )

Definition at line 293 of file sum.c.

int doLabel ( void  )

Definition at line 346 of file strings_and_things.c.

int doLetCmd ( char *  buf)
in the form:

let variable = expression
now can be called with just variable = expression
Bug:
Can not modify a header variable. If called with a header variable,
then system will create a dynamic variable with the same name.
Probably not what you want.
Need to change this behaviour

Definition at line 1600 of file parse.c.

int doLogWatch ( void  )

Definition at line 3405 of file linuxpops.c.

int doMapPlot ( int  how)
Todo:
Need to move gnuplot functions to xgraphic

Definition at line 2203 of file gridmap.c.

int doMarker ( void  )

Definition at line 783 of file strings_and_things.c.

int doMeasure ( void  )

Definition at line 1071 of file line.c.

int doMv ( void  )

Definition at line 3471 of file linuxpops.c.

int doNBaseset ( void  )

Definition at line 1879 of file baseline.c.

int doNightMode ( void  )

Definition at line 81 of file display.c.

int doNsac ( void  )

Definition at line 2483 of file line.c.

int doNutator ( void  )

Definition at line 3456 of file gridmap.c.

int doNyquist ( void  )

Definition at line 1516 of file otf.c.

int doObject ( void  )

Definition at line 833 of file object.c.

int doOSB ( void  )

Definition at line 1808 of file line.c.

int doOTF ( void  )

Definition at line 1238 of file otf.c.

int doOTF3Dcube ( void  )

Definition at line 633 of file otf.c.

int doOTF3Dplot ( void  )

Definition at line 664 of file otf.c.

int doOTFcmd ( void  )

Definition at line 761 of file otf.c.

int doOTFdisplay ( void  )

Definition at line 1073 of file otf.c.

int doOTFFix ( void  )

Definition at line 1494 of file otf.c.

int doOTFHelp ( void  )

Definition at line 127 of file otf.c.

int doOTFSlice ( void  )

Definition at line 855 of file otf.c.

int doPageCmd ( )

Tell the xgraphics program to clear the display

Returns
0

Definition at line 2611 of file linuxpops.c.

int doPaperSize ( void  )

Definition at line 218 of file linuxpops.c.

int doPause ( )

Pause the program until the user hits a key

Returns
key pressed

Definition at line 3093 of file linuxpops.c.

int doPDFL ( void  )

Definition at line 1264 of file io.c.

int dopFlux ( int  planet,
int  flag,
double  bfreq,
double  efreq 
)

Definition at line 1175 of file planets.c.

int doPGUI ( void  )

Definition at line 3148 of file linuxpops.c.

int doPshow ( void  )

Definition at line 1264 of file line.c.

int doPStamp ( void  )

Definition at line 2246 of file strings_and_things.c.

int doQshow ( )
Bug:
The xaxis is ignoring different resolutions

Definition at line 1396 of file line.c.

int doQuick ( double  d)

Definition at line 1465 of file observe.c.

int doQuick1 ( void  )

Definition at line 1506 of file observe.c.

int doQuick11 ( void  )

Definition at line 1511 of file observe.c.

int doQuick12 ( void  )

Definition at line 1521 of file observe.c.

int doQuick2 ( void  )

Definition at line 1516 of file observe.c.

int doQuick3 ( void  )

Definition at line 1526 of file observe.c.

int doQuick4 ( void  )

Definition at line 1531 of file observe.c.

int doRmBase ( void  )

Definition at line 1737 of file baseline.c.

int doSAT ( void  )

Definition at line 185 of file strings_and_things.c.

int doSay ( void  )

Definition at line 3250 of file linuxpops.c.

int doSDD ( void  )

Definition at line 1171 of file io.c.

int doSelPrint ( void  )

Definition at line 3283 of file linuxpops.c.

int doSexCmd ( void  )

Definition at line 3100 of file parse.c.

int doSfocus ( void  )

Definition at line 305 of file sfocus.c.

int doShift ( void  )

Definition at line 162 of file shift.c.

int doSleep ( )

Sleep for the designated number of seconds

Returns
0

Definition at line 3069 of file linuxpops.c.

int doSpecFive ( void  )

Definition at line 136 of file spec5.c.

int doSpecInvert ( void  )

Definition at line 1773 of file line.c.

int doSpike ( void  )

Definition at line 621 of file badchan.c.

int doSplat ( void  )

Definition at line 102 of file splat.c.

int doSpTip ( void  )

Definition at line 269 of file sptip.c.

int doStack ( void  )

Definition at line 64 of file stack.c.

int doStop ( void  )

Definition at line 3439 of file linuxpops.c.

int doSum ( void  )

Definition at line 61 of file sum.c.

int doSurvey ( void  )

Definition at line 143 of file survey.c.

int doSysCmd ( )

Perform an arbitrary system command

Returns
results from 'system' command

Definition at line 642 of file linuxpops.c.

int doTCSH ( void  )

Definition at line 3374 of file linuxpops.c.

int doTCur ( )

Command line version

Returns
0

Definition at line 2567 of file linuxpops.c.

int doTrec ( void  )

Definition at line 2276 of file line.c.

int doTsys ( void  )

Definition at line 490 of file tsys.c.

int doTsys3D ( void  )

Definition at line 309 of file tsys.c.

int doTsysGUI ( struct TSYS_SEND *  tsys)

Definition at line 169 of file tsys.c.

int doTsysIngest ( void  )

Definition at line 226 of file tsys.c.

int doTsysList ( void  )

Definition at line 461 of file tsys.c.

int doTsysPlot ( void  )

Definition at line 447 of file tsys.c.

int doTsysPrepare ( void  )

Definition at line 407 of file tsys.c.

int doTsysSort ( void  )

Definition at line 100 of file tsys.c.

int doUnalias ( void  )

Definition at line 170 of file alias.c.

int doUpdate ( void  )

Definition at line 1296 of file io.c.

int doVC ( void  )

Definition at line 403 of file paxis.c.

int doVCur ( )

Command line version

Returns
0

Definition at line 2524 of file linuxpops.c.

int doVF ( void  )

Definition at line 414 of file paxis.c.

int doVi ( void  )

Definition at line 3451 of file linuxpops.c.

int doVV ( void  )

Definition at line 425 of file paxis.c.

int doXRange ( void  )

Definition at line 65 of file paxis.c.

int doXwatch ( void  )

Definition at line 3382 of file linuxpops.c.

int doYFactor ( void  )

Definition at line 2402 of file line.c.

int doYRange ( void  )

Using mouse, set the y-axis range

Returns
0

Definition at line 103 of file paxis.c.

int doZenity ( char *  cmd,
char *  rst 
)

Definition at line 86 of file io.c.

int doZero ( void  )

Definition at line 2230 of file line.c.

int doZoom ( void  )

Definition at line 130 of file paxis.c.

int dummie_main ( int  argc,
char **  argv 
)

Definition at line 65 of file histogram.c.

int eph_interp ( struct NEW_EPHEM *  ephem,
struct EPH_OBJECT *  p1,
struct EPH_OBJECT *  p2 
)

Definition at line 175 of file planets.c.

int eraseFormulas ( void  )

Definition at line 299 of file formula.c.

int evaluateRightSide ( int  k,
int  n,
char *  buf 
)

Evaluate the right side of the equation by substituting know variables into string

Definition at line 1542 of file parse.c.

int execBatch ( char *  name)

Definition at line 315 of file batch.c.

int executeFormula ( void  )

Definition at line 63 of file formula.c.

void exit_proc ( int  arg1,
void *  arg2 
)

Exit func whether from user command or SIGNAL.
Tell 'xgraphic' and 'helper' tasks to exit.
reset terminal back to normal.

Returns
void

Definition at line 78 of file interrupt.c.

int expandCmd ( char *  src,
char *  dst 
)

Definition at line 1494 of file parse.c.

int fetchNGSHelp ( char *  name,
char *  buf 
)

Definition at line 264 of file env_help.c.

int ffb_load ( void  )

Definition at line 137 of file ffb.c.

int fileChanged ( void  )

Definition at line 402 of file io.c.

int fillPattern ( void  )

Definition at line 1882 of file line.c.

int fillScans ( int  bscan,
char *  s,
double  f,
char *  buf 
)

Definition at line 82 of file befd.c.

char* FilterChars ( char *  String,
char *  Filter 
)

Definition at line 2786 of file parse.c.

void filterser ( int  n,
double *  x,
double *  y,
double *  resx,
double *  resy,
double *  h,
int  len 
)

Definition at line 421 of file grace_fit.c.

int findAmbiguousBatch ( char *  arg,
char *  buf 
)

Definition at line 645 of file batch.c.

int findAnyVariable ( char *  name,
struct QUERY_VAR *  qv 
)

Definition at line 237 of file parse.c.

int findBackend ( double  scan)

Definition at line 259 of file beam.c.

int findBand ( double  f)

Definition at line 83 of file splat.c.

double findDeltaX ( struct HEADER *  h)

Definition at line 1901 of file cont.c.

int findEmptyBaseline ( void  )

Definition at line 667 of file baseline.c.

int findExactFFTFreq ( double  mx)

Definition at line 185 of file fft.c.

struct PARSE_FLAGS* findFirstFlag ( void  )

Definition at line 602 of file parse.c.

int findFunction ( char *  func,
char *  file 
)

Definition at line 153 of file parseProto.c.

int findGSVar ( char *  name)

Definition at line 948 of file parse.c.

struct HEAD_PARAMS* findHeaderVal ( char *  name)

Definition at line 239 of file header.c.

int findHlineExtents ( double *  max,
double *  min 
)

Definition at line 1112 of file strings_and_things.c.

struct LP_IMAGE_INFO* findImage ( int  i)

Definition at line 233 of file image.c.

int findInArgs ( char *  parg)

Definition at line 2704 of file parse.c.

int findIndex ( double  f,
int  first 
)

Definition at line 110 of file tsys.c.

int findLastGood ( struct LP_IMAGE_INFO *  image,
int  indx,
int *  lgn,
float *  lg 
)

Definition at line 970 of file baseline.c.

int findLineName ( double  f,
double  d,
char *  buf 
)

Definition at line 187 of file gauss.c.

int findLoadFocuses ( void  )

Definition at line 175 of file focus.c.

int findMapColIndx ( double  x1,
int  y1 
)

Definition at line 1820 of file gridmap.c.

int findMapRowIndx ( int  x1,
double  y1 
)

Definition at line 1859 of file gridmap.c.

int findMean ( struct SCAN_INFO *  p1,
struct SCAN_INFO *  p2,
int  pass 
)

Definition at line 119 of file stats.c.

int findMinMax ( double *  fmin,
double *  fmax 
)

Definition at line 256 of file atm.c.

int findNextGood ( struct LP_IMAGE_INFO *  image,
int  indx,
int *  ngn,
float *  ng 
)

Definition at line 996 of file baseline.c.

float findNextGoodChan ( struct LP_IMAGE_INFO *  image,
int  j 
)

Definition at line 480 of file badchan.c.

int findNextLabel ( void  )

Definition at line 2517 of file strings_and_things.c.

int findNextObs ( struct ACCUM_RESULTS_SEND *  ars,
int  nobj 
)

Definition at line 270 of file object.c.

double findObj ( char *  name)

Definition at line 165 of file convol.c.

int findObject ( struct ACCUM_RESULTS_SEND *  ars)

Definition at line 231 of file object.c.

int findPlanetVal ( char *  name,
double *  dret 
)

Definition at line 1686 of file planets.c.

float findPreGoodChan ( struct LP_IMAGE_INFO *  image,
int  j 
)

Definition at line 500 of file badchan.c.

int findSequences ( void  )

Definition at line 1046 of file io.c.

int findVariable ( char *  var)

Definition at line 984 of file parse.c.

int findVers ( void  )

Definition at line 1122 of file io.c.

int findVersions ( int  which,
char *  seq 
)

Definition at line 1054 of file io.c.

int findXaxisElement ( struct LP_IMAGE_INFO *  image,
double  x1,
double  x2,
int *  b,
int *  e 
)

Definition at line 262 of file xaxis.c.

int fitcurve ( double *  x,
double *  y,
int  n,
int  ideg,
double *  coeff 
)

Definition at line 239 of file grace_fit.c.

int fixMathOperators ( char *  buf)

Definition at line 1447 of file parse.c.

int fluxTableOld ( long  t)

Definition at line 536 of file planets.c.

int foc_bin_and_cal_data ( float *  ydata,
int  dl,
int  avg,
float *  data,
struct HEADER *  h,
int  phase 
)

Definition at line 1477 of file cont.c.

int focusSortEl ( struct FOCUS_HISTORY_ELEM *  p1,
struct FOCUS_HISTORY_ELEM *  p2 
)

Definition at line 90 of file focus.c.

int focusSortScan ( struct FOCUS_HISTORY_ELEM *  p1,
struct FOCUS_HISTORY_ELEM *  p2 
)

Definition at line 128 of file focus.c.

int focusSortTemp ( struct FOCUS_HISTORY_ELEM *  p1,
struct FOCUS_HISTORY_ELEM *  p2 
)

Definition at line 109 of file focus.c.

int forkList ( char *  fname)

Definition at line 1361 of file strings_and_things.c.

int freeX ( void  )

Definition at line 476 of file paxis.c.

int freeY ( void  )

Definition at line 488 of file paxis.c.

int func_df ( const gsl_vector *  x,
void *  params,
gsl_matrix *  J 
)

Definition at line 98 of file gaussian_fit.c.

int func_f ( const gsl_vector *  x,
void *  params,
gsl_vector *  f 
)

Definition at line 77 of file gaussian_fit.c.

int func_fvv ( const gsl_vector *  x,
const gsl_vector *  v,
void *  params,
gsl_vector *  fvv 
)

Definition at line 121 of file gaussian_fit.c.

double fwhm ( double  freq)

Definition at line 122 of file convol.c.

double gaussian ( const double  a,
const double  b,
const double  c,
const double  t 
)

Definition at line 70 of file gaussian_fit.c.

int gaussian_fit_gsl ( double *  xd,
double *  yd,
const size_t  n,
double *  aa 
)

Definition at line 239 of file gaussian_fit.c.

int gaussList ( int  header)

Definition at line 245 of file gauss.c.

int gaussRecord ( void  )

Definition at line 284 of file gauss.c.

int generateAtm ( double  fmin,
double  fmax,
double  mmwat,
double  tamb,
double  press,
double  elev 
)
int get_cmd_tok ( char *  edit)

Split multiple commands up in to seperate commands

Definition at line 1924 of file parse.c.

int get_sv_tok ( char *  edit)

Split single command up into tokens

Definition at line 2811 of file parse.c.

int get_tok ( char *  edit)

Split single command up into tokens

Definition at line 69 of file make_env.c.

int getEnvironment ( void  )

Definition at line 477 of file env.c.

int getephem ( int  first)

Definition at line 130 of file getephem.c.

void getephem_utc ( TIME *  tp)

Definition at line 115 of file getephem.c.

struct BATCH_COMMAND* getFreeBatch ( char *  name)

Definition at line 676 of file batch.c.

int getLabelPos ( char *  msg)

Definition at line 805 of file object.c.

int getLabelSize ( int  s)

Definition at line 269 of file strings_and_things.c.

double getmjd ( int  yr,
int  mon,
int  day,
int  hr,
int  min 
)

Definition at line 99 of file getephem.c.

double getMoonAge ( int  yr,
int  mon,
int  day,
int  hr,
int  min 
)

Definition at line 70 of file getMoonAge.c.

int getMouseClick ( char *  buf,
double *  x,
double *  y 
)

Definition at line 2169 of file strings_and_things.c.

int getNSave ( void  )

Definition at line 751 of file io.c.

int getNset ( void  )

Definition at line 214 of file parse.c.

int getNumericFlag ( void  )

Definition at line 196 of file parse.c.

int getPlanet ( void  )

Definition at line 850 of file planets.c.

int getPlotExtents ( void  )

Tell the xgraphics program to return plot extents of the display \returns 0

Definition at line 2896 of file linuxpops.c.

int getPlotWinId ( int  w)

Definition at line 2793 of file gridmap.c.

int getResponse ( int  which)

Get a response from XGRAPHIC
Will wait a bit on response from xgraphic

Returns
0 on success
1 on timeout

Definition at line 2287 of file linuxpops.c.

int getScan ( int  verbose)

Definition at line 812 of file io.c.

int getTerminalSize ( int *  cols,
int *  rows 
)

Definition at line 1015 of file io.c.

int gf_clear ( int  np,
int  nrbar,
double *  d,
double *  rbar,
double *  thetab,
double *  sserr 
)

Definition at line 184 of file grace_dofit.c.

void gf_cor ( int  np,
double *  d,
double *  rbar,
double *  thetab,
double *  sserr,
double *  work,
double *  cormat,
double *  ycorr 
)

Definition at line 457 of file grace_dofit.c.

int gf_cov ( int  np,
int  nrbar,
double *  d,
double *  rbar,
int  nreq,
double *  rinv,
double *  var,
double *  covmat,
int  dimcov,
double *  sterr 
)

Definition at line 361 of file grace_dofit.c.

double** gf_dmatrix ( int  rl,
int  rh,
int  cl,
int  ch 
)

Definition at line 917 of file grace_dofit.c.

double* gf_dvector ( int  l,
int  h 
)

Definition at line 878 of file grace_dofit.c.

int gf_hdiag ( double *  xrow,
int  np,
int  nrbar,
double *  d,
double *  rbar,
double *  tol,
int  nreq,
double *  hii 
)

Definition at line 780 of file grace_dofit.c.

int gf_includ ( int  np,
int  nrbar,
double  w,
double *  xrow,
double  y,
double *  d,
double *  rbar,
double *  thetab,
double *  sserr 
)

Definition at line 95 of file grace_dofit.c.

void gf_inv ( int  np,
int  nrbar,
double *  rbar,
int  nreq,
double *  rinv 
)

Definition at line 400 of file grace_dofit.c.

int* gf_ivector ( int  l,
int  h 
)

Definition at line 898 of file grace_dofit.c.

int gf_pcorr ( int  np,
int  nrbar,
double *  d,
double *  rbar,
double *  thetab,
double *  sserr,
int  in,
double *  cormat,
int  dimc,
double *  ycorr 
)

Definition at line 427 of file grace_dofit.c.

void gf_pr_utdm_v ( double *  x,
int  N,
int  width,
int  precision 
)

Definition at line 851 of file grace_dofit.c.

void gf_putdvec ( const char *  s,
double *  x,
int  l,
int  h 
)

Definition at line 960 of file grace_dofit.c.

int gf_regcf ( int  np,
int  nrbar,
double *  d,
double *  rbar,
double *  thetab,
double *  tol,
double *  beta,
int  nreq 
)

Definition at line 215 of file grace_dofit.c.

int gf_reordr ( int  np,
int  nrbar,
int *  vorder,
double *  d,
double *  rbar,
double *  thetab,
double *  rss,
double *  tol,
int *  list,
int  n,
int  pos1 
)

Definition at line 714 of file grace_dofit.c.

int gf_sing ( int  np,
int  nrbar,
double *  d,
double *  rbar,
double *  thetab,
double *  sserr,
double *  tol,
int *  lindep 
)

Definition at line 285 of file grace_dofit.c.

int gf_ss ( int  np,
double *  d,
double *  thetab,
double *  sserr,
double *  rss 
)

Definition at line 341 of file grace_dofit.c.

int gf_tolset ( int  np,
int  nrbar,
double *  d,
double *  rbar,
double *  tol 
)

Definition at line 247 of file grace_dofit.c.

int gf_vmove ( int  np,
int  nrbar,
int *  vorder,
double *  d,
double *  rbar,
double *  thetab,
double *  rss,
int  from,
int  to,
double *  tol 
)

Definition at line 536 of file grace_dofit.c.

int ggetScan ( char *  buf)

Definition at line 863 of file io.c.

int gmapFillOffsets ( struct HEADER *  h)

Definition at line 1561 of file gridmap.c.

int gmapRotate ( void  )

Definition at line 2824 of file gridmap.c.

int goodSource ( char *  s)

Definition at line 273 of file convol.c.

int gotoxy ( int  x,
int  y 
)

Definition at line 257 of file gridmap.c.

int gridmap_findMinMax ( void  )

Definition at line 1398 of file gridmap.c.

int gridmap_fitGauss ( void  )

Definition at line 1120 of file gridmap.c.

int gridmap_goWriteCenterRow ( double *  xdata,
double *  ydata,
double *  aa1,
double *  aa2,
int  n,
double  scanno 
)

Definition at line 267 of file gridmap.c.

int gridmap_grid_data ( float *  data,
struct HEADER *  h 
)

Definition at line 1583 of file gridmap.c.

int gridmap_lsqfit ( double  x[],
double  y[],
int  bdata,
int  ndata,
double  sig[],
int  mwt,
double *  a,
double *  b,
double *  siga,
double *  sigb,
double *  chi2,
double *  q 
)
int gridmap_removeBaselines ( int  nb)

Definition at line 1448 of file gridmap.c.

int gridmap_showMiddleRow ( void  )

Definition at line 304 of file gridmap.c.

int gridmap_write_csvfile ( void  )

Definition at line 368 of file gridmap.c.

int gridmap_write_datafile ( void  )

Definition at line 323 of file gridmap.c.

int gridmap_writeDemFile ( int  off,
int  how 
)

Definition at line 787 of file gridmap.c.

int gridMapDive ( void  )

Definition at line 2963 of file gridmap.c.

int gridMapGrab ( void  )

Definition at line 2418 of file gridmap.c.

int gridMapGrid ( void  )

Definition at line 2272 of file gridmap.c.

int gridMapLimits ( void  )

Definition at line 1025 of file gridmap.c.

int gridMapPlot ( void  )

Definition at line 2064 of file gridmap.c.

int gridMapSlice ( void  )

Definition at line 1898 of file gridmap.c.

int gridMapStats ( void  )

Definition at line 455 of file gridmap.c.

int gsetFile ( )

Set the Gains file to match the data filename

Definition at line 990 of file io.c.

int hanning ( float *  input,
float *  output,
int  n 
)

Definition at line 136 of file box.c.

int helperBinaryWait ( void  )

Definition at line 3020 of file linuxpops.c.

int helperWait ( void  )

Definition at line 2959 of file linuxpops.c.

int hlineList ( char *  fname)

Definition at line 1143 of file strings_and_things.c.

int hLoad ( void  )

Definition at line 658 of file image.c.

int hSave ( void  )

Definition at line 736 of file image.c.

int hzero ( struct LP_IMAGE_INFO *  image)

Definition at line 616 of file image.c.

int ignoreBadChan ( )

Set one or more bad channels by name or mouse

Definition at line 244 of file badchan.c.

int ignoreScans ( void  )

Definition at line 106 of file ignore.c.

int imageSummary ( void  )

Definition at line 538 of file image.c.

int incLevel ( int  l)

Definition at line 119 of file io.c.

int incrementBogusData ( void  )

Definition at line 209 of file reject.c.

int incrementBogusTcal ( void  )

Definition at line 225 of file reject.c.

int incrementBogusTsys ( void  )

Definition at line 217 of file reject.c.

int incrementRejBackend ( void  )

Definition at line 201 of file reject.c.

int incrementRejDates ( void  )

Definition at line 193 of file reject.c.

int incrementRejDec ( void  )

Definition at line 130 of file reject.c.

int incrementRejFive ( void  )

Definition at line 90 of file reject.c.

int incrementRejFreq ( void  )

Definition at line 146 of file reject.c.

int incrementRejFreqres ( void  )

Definition at line 114 of file reject.c.

int incrementRejIgnored ( void  )

Definition at line 169 of file reject.c.

int incrementRejMode ( void  )

Definition at line 162 of file reject.c.

int incrementRejNoint ( void  )

Definition at line 98 of file reject.c.

int incrementRejOffsets ( void  )

Definition at line 106 of file reject.c.

int incrementRejRa ( void  )

Definition at line 122 of file reject.c.

int incrementRejSb ( void  )

Definition at line 138 of file reject.c.

int incrementRejScans ( void  )

Definition at line 185 of file reject.c.

int incrementRejSource ( void  )

Definition at line 177 of file reject.c.

int incrementRejVel ( void  )

Definition at line 154 of file reject.c.

int init_readline ( void  )

Definition at line 2631 of file parse.c.

int initDeConStruct ( void  )

Definition at line 432 of file convol.c.

int initDvars ( void  )

Definition at line 967 of file parse.c.

int initGnuplotBackground ( void  )

Definition at line 100 of file display.c.

int initLetterHelp ( void  )

Definition at line 66 of file help.c.

int initObjectsArray ( void  )

Definition at line 93 of file object.c.

int initOnlineEnv ( void  )

Definition at line 621 of file env.c.

int initParseArgs ( void  )

Definition at line 352 of file parse.c.

int initSignals ( void  )

Definition at line 237 of file interrupt.c.

int interp ( double *  array,
int  nx,
int  ny,
double *  parray,
int  npx,
int  npy 
)

Definition at line 102 of file interp.c.

double interpl8 ( double *  xtab,
double *  ytab,
int  no,
double  x,
int *  next 
)

Definition at line 550 of file convol.c.

struct ALIAS* isAlias ( char *  buf)

Definition at line 196 of file alias.c.

int isBadChan ( int  bad)

Definition at line 377 of file badchan.c.

int isBatch ( char *  name)

Definition at line 604 of file batch.c.

int isCommand ( char *  buf)

determine of passed token is a previously defined command

Definition at line 1981 of file parse.c.

int isFirst ( int  flag)

Definition at line 662 of file parse.c.

int isInBaseLineRegion ( int  chan)

Does passed channel number fall within a defined baseline region

Definition at line 336 of file baseline.c.

int isInterrupt ( void  )

Definition at line 152 of file interrupt.c.

int isPlanet ( char *  name)

Definition at line 1527 of file planets.c.

int isPlanetVar ( char *  name)

Definition at line 1487 of file planets.c.

int isScanIgnored ( double  scan)

Definition at line 181 of file ignore.c.

int isSet ( int  flag)

Definition at line 646 of file parse.c.

int isSpecFivePoint ( struct HEADER *  h)

Definition at line 2186 of file line.c.

int isSpecial ( int  cp)
int kp_bin_and_cal_data ( float *  ydata,
int  dl,
int  avg,
float *  data,
struct HEADER *  h 
)

Definition at line 1252 of file cont.c.

int labelList ( char *  fname)

Definition at line 221 of file strings_and_things.c.

char* lcalc ( char *  cmdbuf)

Definition at line 266 of file lcalc.c.

double leasev ( double *  c,
int  degree,
double  x 
)

Definition at line 210 of file grace_fit.c.

int letterHelp ( char *  h)

Definition at line 108 of file help.c.

double limitValue ( double  l,
double  v,
double  u 
)

Definition at line 1705 of file gridmap.c.

int line_accum ( struct LP_IMAGE_INFO *  image)

Definition at line 212 of file line.c.

int line_accumSelected ( void  )

Definition at line 443 of file line.c.

int line_determine_min_max ( struct LP_IMAGE_INFO *  image)

... Given and array of floating point values; Determine the min and max values ... Be mindful of any [e|b]drop channels

Definition at line 694 of file line.c.

int line_display_spectra ( struct LP_IMAGE_INFO *  image,
int  plot 
)

Definition at line 743 of file line.c.

int line_doBaseLine ( struct LP_IMAGE_INFO *  image)

Definition at line 291 of file baseline.c.

int line_header ( struct HEADER *  h)

Definition at line 577 of file header.c.

int line_MinMax ( struct LP_IMAGE_INFO *  image)

Definition at line 1038 of file line.c.

int line_removeBadChans ( struct LP_IMAGE_INFO *  image,
int  print 
)

Definition at line 521 of file badchan.c.

int line_save_data ( struct LP_IMAGE_INFO *  h)

Definition at line 2003 of file line.c.

int line_setScale ( void  )

Definition at line 2198 of file line.c.

int line_showTable ( void  )

Definition at line 997 of file line.c.

int linear_regression ( int  n,
double *  x,
double *  y,
double *  coeff 
)

Definition at line 497 of file grace_fit.c.

void linearconv ( double *  x,
double *  h,
double *  y,
int  n,
int  m 
)

Definition at line 446 of file grace_fit.c.

int lineConvert2LogPlot ( void  )

Definition at line 1971 of file line.c.

int linePlot ( struct LP_IMAGE_INFO *  image)

Definition at line 799 of file line.c.

int listAllObjects ( void  )

Definition at line 118 of file object.c.

int listBatch ( void  )

Definition at line 624 of file batch.c.

int listDynVars ( void  )

Definition at line 728 of file parse.c.

int listFileFocuses ( void  )

Definition at line 654 of file focus.c.

int listFormulas ( void  )

Definition at line 261 of file formula.c.

int listHistory ( void  )

Definition at line 61 of file history.c.

int listLoadedFocuses ( void  )

Definition at line 609 of file focus.c.

int listPointingResults ( void  )

Definition at line 83 of file spec5.c.

int listRegions ( void  )

Definition at line 208 of file region.c.

int listSAT ( void  )

Definition at line 159 of file strings_and_things.c.

int listSaves ( void  )

Definition at line 1273 of file io.c.

int listScans ( )

List all scans that match the search criteria

Returns
0 if all OK
1 if there is a problem

Definition at line 1124 of file linuxpops.c.

int loadAtmFromServer ( char *  which,
double  fmin,
double  fmax,
double  fstep,
double  pwv,
double  gtemp,
double  gpress,
double  altitude,
double  ymin 
)

Definition at line 105 of file atm.c.

int loadBatch ( char *  bname)

Definition at line 180 of file batch.c.

int loadCalibrators ( char *  name)

Definition at line 218 of file alma.c.

int loadFile ( void  )

Definition at line 440 of file io.c.

int loadInitFile ( void  )

Definition at line 288 of file config.c.

int loadPlantFluxTables ( struct EPH_TIME *  t)

Definition at line 323 of file planets.c.

int loadProto ( void  )

Definition at line 73 of file parseProto.c.

int lookUpPlanetVal ( struct EPH_OBJECT *  p,
char *  val,
int  print 
)

Definition at line 1570 of file planets.c.

int lp_fcmp ( double  first,
double  second,
double  delta 
)

Compare two doubles

Returns
0 if < than delta
1 if > than delta

Definition at line 2768 of file linuxpops.c.

int lp_fft ( void  )

Definition at line 339 of file fft.c.

int lp_fftcomp ( void  )

Definition at line 82 of file fft.c.

int lp_fftcut ( void  )

Definition at line 285 of file fft.c.

int lp_fftpick ( void  )

Definition at line 210 of file fft.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 22 of file gpReadMouseTest.c.

int makeDynVariable ( char *  var,
int  type 
)

Definition at line 1049 of file parse.c.

int makeFileName ( char *  fname,
int  pid 
)

Definition at line 273 of file linuxpops.c.

int makeHelp ( void  )

Definition at line 373 of file help.c.

int makeXaxisArray ( struct LP_IMAGE_INFO *  image)

Definition at line 213 of file xaxis.c.

int map_bin_and_cal_data ( float *  ydata,
int  dl,
int  avg,
float *  data,
struct HEADER *  h,
int  phase 
)

Definition at line 1567 of file cont.c.

int mapBaseline ( void  )

Definition at line 2255 of file gridmap.c.

double mapFtoChan ( double  f)

Definition at line 528 of file paxis.c.

int mapGaussFit ( void  )

Definition at line 2240 of file gridmap.c.

int mapGaussPlot ( void  )

Definition at line 2232 of file gridmap.c.

int mapGS2Env ( void  )

Definition at line 210 of file env.c.

double mapVtoChan ( double  v)

Definition at line 568 of file paxis.c.

int markerList ( char *  fname)

Definition at line 736 of file strings_and_things.c.

int mBaselines ( void  )

Definition at line 2438 of file gridmap.c.

int meetsCritiria ( struct HEADER *  p,
int  mask 
)

Definition at line 90 of file observe.c.

int molecule ( void  )

Definition at line 177 of file splat.c.

int my_add_history ( char *  buf)

Definition at line 109 of file parse.c.

int mySort ( struct CHANNELS *  a,
struct CHANNELS *  b 
)

Definition at line 70 of file stats.c.

int nameEnv ( void  )

Definition at line 342 of file env.c.

int notSet ( int  flag)

Definition at line 669 of file parse.c.

int objectDisplay ( void  )

Definition at line 723 of file object.c.

int objectSort ( struct MEASUREMENT *  p1,
struct MEASUREMENT *  p2 
)

Definition at line 1109 of file object.c.

int optical_determine_min_max ( float *  ydata,
int  dl,
double  scan 
)
int optical_show_phases ( float *  data,
struct HEADER *  h,
int  plot 
)

Definition at line 110 of file optical.c.

int otfChanMap ( void  )

Definition at line 606 of file otf.c.

int otfGrabSpectralPlot ( void  )

Definition at line 966 of file otf.c.

int otfGrabSpectralSum ( void  )

Definition at line 773 of file otf.c.

int otfInit ( int  init)

Definition at line 423 of file otf.c.

int otfLoad ( int  norepaint)

Definition at line 523 of file otf.c.

int otfMovie ( int  rec,
int  interp 
)

Definition at line 543 of file otf.c.

int otfParamList ( void  )

Definition at line 511 of file otf.c.

int p_getScan ( void  )

Definition at line 796 of file io.c.

int params_writeParams ( FILE *  fp)

Definition at line 863 of file params.c.

double parseBeamEff ( char *  buf)

Definition at line 90 of file beam.c.

int parseCmd ( char *  buf)

Main parser

Definition at line 2090 of file parse.c.

int parseColor ( void  )

Definition at line 84 of file strings_and_things.c.

int parseFlags ( void  )

Definition at line 497 of file parse.c.

int parseHarg ( char *  arg)

Definition at line 256 of file image.c.

int parseLine ( struct EPH_OBJECT *  obj,
char *  name 
)

Definition at line 140 of file planets.c.

int parseMouseValues ( double  x1,
double  x2,
double  y1,
double  y2 
)

Take the 4 mouse positions and convert to Freq, Vel, Channel and Temp
Set the ENVIRONMENT:: variables tcur, vcur, fcur & ccur

Returns
0

Definition at line 2154 of file linuxpops.c.

int parseNewEphem ( struct NEW_EPHEM *  ephem)

Definition at line 205 of file planets.c.

int pickSourceFreq ( void  )

Definition at line 157 of file params.c.

double planck ( double  freq,
double  T_bright 
)

Definition at line 499 of file beam.c.

int plotAccum ( )

No longer used function

Returns
0

Definition at line 711 of file linuxpops.c.

int plotAlmaCalibrator ( void  )

Definition at line 334 of file alma.c.

int plotGauss ( double *  x,
int  len,
double *  a,
struct HEADER *  h,
int  mode 
)

Definition at line 962 of file gauss.c.

int popArgs ( void  )

Definition at line 405 of file parse.c.

int prepareData ( struct SCAN_INFO *  p1,
struct SCAN_INFO *  p2 
)

Definition at line 79 of file stats.c.

int prepareMap ( void  )

Definition at line 1732 of file gridmap.c.

int pReview ( void  )

Definition at line 851 of file observe.c.

int printAmbiguousCommand ( char *  arg,
struct COMMANDS *  cmds 
)

Definition at line 2032 of file parse.c.

int printBatch ( char *  name)

Definition at line 576 of file batch.c.

int printBurnTime ( void  )

Definition at line 475 of file cont.c.

int printClass ( struct HEADER *  h,
int  n 
)

Definition at line 271 of file header.c.

int printExtraChans ( int  chan,
int  first 
)

Definition at line 275 of file ffb.c.

int printFBOffsets ( void  )

Definition at line 64 of file fboffset.c.

int printFFBChan ( int  c,
struct FFB_CHANNELS *  p,
int  header 
)

Definition at line 89 of file ffb.c.

int printFocusHeader ( void  )

Definition at line 599 of file focus.c.

int printGauss ( struct LP_IMAGE_INFO *  image)

Definition at line 73 of file gauss.c.

int printH_FlagHelp ( char *  cmd)

Definition at line 430 of file help.c.

int printHeader ( int  type)

Definition at line 328 of file header.c.

int printImageHeader ( void  )

Definition at line 344 of file image.c.

int printPlanetVar ( char *  name)

Definition at line 1614 of file planets.c.

int printPlot ( )

Make a hardcopy of the current plot
possible params: 'capture' for a PDF file

Returns
0

Definition at line 385 of file linuxpops.c.

int printRejections ( void  )

Definition at line 257 of file reject.c.

int printReport ( void  )

Definition at line 2077 of file line.c.

int printRMS ( void  )

Definition at line 916 of file line.c.

int printRow ( char *  buf)

Definition at line 142 of file dbase.c.

int printScan ( struct HEADER *  p,
int  nsave 
)

Print a one line recap of the selected scan

Parameters
pstruct HEADER::
nsaveflag to use nsave vs scanno;
Returns
0

Definition at line 725 of file linuxpops.c.

int printStatus ( void  )

Definition at line 729 of file header.c.

int printTimeStamp ( )

Prints the current system time

Returns
0

Definition at line 1498 of file linuxpops.c.

int printVar ( void  )

Definition at line 1121 of file parse.c.

void process_line ( char *  line)

Definition at line 2452 of file parse.c.

int processContinuum ( struct HEADER *  head,
float *  phases,
float *  data,
int *  dl,
char *  mode 
)

Definition at line 2035 of file cont.c.

int processResults ( int  n,
int  indx,
FILE *  fp 
)

Definition at line 511 of file beam.c.

int processSpectra ( struct LP_IMAGE_INFO *  image)

Definition at line 735 of file line.c.

int pruneFile ( )

Make an artificial data file based on the search criteria

Returns
0 success
1 on missing filname of error

Definition at line 2045 of file linuxpops.c.

int pstampList ( char *  fname)

Definition at line 2201 of file strings_and_things.c.

int pushArgs ( void  )

Definition at line 383 of file parse.c.

int qReview ( void  )

Definition at line 899 of file observe.c.

int quitProg ( )

Exit the program under user control

Returns
0

Definition at line 668 of file linuxpops.c.

int readBadChanFile ( void  )

Definition at line 411 of file badchan.c.

int readConfig ( void  )

Definition at line 66 of file config.c.

int readFile ( void  )

Definition at line 149 of file io.c.

int readFormulas ( void  )

Definition at line 177 of file formula.c.

int readIgnoreFile ( void  )

Definition at line 208 of file ignore.c.

int reassembleArgs ( char *  buf)

Definition at line 739 of file otf.c.

int reassembleCommand ( char *  buf)

Definition at line 480 of file parse.c.

int recallNSave ( void  )

Definition at line 706 of file io.c.

int recordCmds ( void  )

Definition at line 2724 of file parse.c.

int recordScanSum ( int  indx,
struct SCAN_SUM *  s 
)

Definition at line 64 of file scansum.c.

int recordTests ( void  )

Definition at line 3212 of file linuxpops.c.

int recordThisCommand ( char *  buf)

Definition at line 2000 of file parse.c.

int refreshPlot ( )

Tell the xgraphics program to replot the display \returns 0

Definition at line 2882 of file linuxpops.c.

int region_get_tok ( char *  edit)

Definition at line 79 of file region.c.

int regionCmd ( void  )

Definition at line 64 of file region_cmd.c.

int reloadFile ( void  )

Definition at line 392 of file io.c.

int remove10X ( struct SCAN_INFO *  p1,
struct SCAN_INFO *  p2,
int  pass 
)

Definition at line 152 of file stats.c.

int removeAllSpaces ( char *  in,
char *  out 
)

Definition at line 1771 of file parse.c.

int removeBadChanFromArray ( int  bad)

Remove passed channel from array

Definition at line 113 of file badchan.c.

int removeBadChans ( void  )

Definition at line 1382 of file line.c.

int removeContMapBaselines ( int  pf,
int  nb 
)

Definition at line 3336 of file gridmap.c.

int removeFittedData ( struct LP_IMAGE_INFO *  image)

Definition at line 773 of file line.c.

int removeIgnore ( double  scan)

Definition at line 84 of file ignore.c.

int removeLockFile ( void  )

Definition at line 362 of file io.c.

int removeOneSegment ( void  )

Definition at line 748 of file baseline.c.

int remRegions ( void  )

Definition at line 180 of file region.c.

int remScanHeaders ( void  )

Definition at line 224 of file gridmap.c.

char* replace_str ( char *  str,
char *  orig,
char *  rep 
)

Definition at line 550 of file env.c.

int replot ( int  how)

replot the last plot

Parameters
howi.e gui or postscript
Returns
0

Definition at line 179 of file linuxpops.c.

int reportEnv ( void  )

Definition at line 458 of file env.c.

int resetParams ( void  )

Definition at line 61 of file params.c.

int resetRejections ( void  )

Definition at line 233 of file reject.c.

double restFreq ( struct HEADER *  h)

This function returns the proper freq based on date of recording;
Kitt Peak still has not been corrected Feb 11, 2016: twf:
I corrected the headers at the SMT to properly fill in the
rest and sky frequencies. Prior to that the rest freq was
located in the obsfreq slot for continuum.

Returns
restfreq

Definition at line 2837 of file linuxpops.c.

int restoreEnv ( )

Restore a previously saved env

Definition at line 722 of file env.c.

int reviewIgnored ( void  )

Definition at line 264 of file ignore.c.

int reviewStack ( void  )

Definition at line 947 of file observe.c.

double rjot ( double  t,
double  f 
)

Definition at line 290 of file planets.c.

void runavg ( double *  x,
double *  y,
double *  ax,
double *  ay,
int  n,
int  ilen 
)

Definition at line 290 of file grace_fit.c.

int runFile ( void  )

Definition at line 63 of file io.c.

void runmedian ( double *  x,
double *  y,
double *  ax,
double *  ay,
int  n,
int  ilen 
)

Definition at line 336 of file grace_fit.c.

void runminmax ( double *  x,
double *  y,
double *  ax,
double *  ay,
int  n,
int  ilen,
int  type 
)

Definition at line 374 of file grace_fit.c.

void runstddev ( double *  x,
double *  y,
double *  ax,
double *  ay,
int  n,
int  ilen 
)

Definition at line 313 of file grace_fit.c.

int rwHistory ( int  rw)

Definition at line 114 of file history.c.

int sat_get_tok ( char *  edit)

Definition at line 65 of file strings_and_things.c.

int saveData ( void  )

Definition at line 729 of file observe.c.

int saveEnv ( )

Save a copy of the env for later restoration

Definition at line 709 of file env.c.

int saveLocalObjectAccum ( struct ACCUM_RESULTS_SEND *  ars)

Definition at line 312 of file object.c.

int saveNSave ( void  )

Definition at line 1135 of file io.c.

int saveObjectAccum ( struct ACCUM_RESULTS_SEND *  ars)

Definition at line 301 of file object.c.

int scanAlreadyLoaded ( struct BEAM_MAP_ELEM *  p,
double  scan 
)

Definition at line 1540 of file gridmap.c.

int scansum ( void  )

Definition at line 128 of file scansum.c.

int selfRej ( void  )

Definition at line 966 of file line.c.

int sendAccumResults ( void  )

Definition at line 452 of file cont.c.

int sendBaselines ( void  )

Definition at line 276 of file otf.c.

int sendCancel ( void  )

Definition at line 2386 of file linuxpops.c.

int sendCont ( int  mode)

Definition at line 1827 of file cont.c.

int sendFilenames ( void  )

Definition at line 259 of file otf.c.

int sendFocus ( void  )

Definition at line 64 of file focus.c.

int sendImageStruct ( struct LP_IMAGE_INFO *  image,
int  mode 
)

Definition at line 820 of file image.c.

int sendParams ( void  )

Definition at line 306 of file otf.c.

int sendSat ( void  )

Definition at line 127 of file strings_and_things.c.

int sendXgraphic ( void  )

Definition at line 2917 of file linuxpops.c.

int seq_bin_and_cal_data ( float *  ydata,
int  dl,
int  avg,
float *  data,
struct HEADER *  h,
int  phase 
)

Definition at line 1378 of file cont.c.

int setAutoCal ( void  )

Definition at line 2727 of file cont.c.

int setBadInterval ( void  )

Definition at line 194 of file badchan.c.

int setBaselines ( void  )

Definition at line 783 of file baseline.c.

int setBeamEff ( void  )

Definition at line 117 of file beam.c.

int setBscan ( void  )

Definition at line 386 of file params.c.

int setCalMode ( void  )

Definition at line 549 of file params.c.

int setColor ( int  c)

Definition at line 2644 of file parse.c.

int setDate ( void  )

Definition at line 320 of file params.c.

int setDFormat ( char *  buf)

Definition at line 135 of file parse.c.

int setDfreq ( void  )

Definition at line 267 of file params.c.

int setDVars ( void  )

Definition at line 183 of file env.c.

int setEnv ( void  )

Definition at line 245 of file env.c.

int setEscan ( void  )

Definition at line 403 of file params.c.

int setExpected ( void  )

Definition at line 677 of file object.c.

int setFeed ( double  want)

Definition at line 264 of file observe.c.

int setFlag ( int  flag,
int  state 
)

Definition at line 685 of file parse.c.

int setFreq ( void  )

Definition at line 244 of file params.c.

int setFreqRes ( void  )

Definition at line 134 of file params.c.

int setGFileName ( void  )

Definition at line 488 of file io.c.

int setGrid ( void  )

Definition at line 502 of file paxis.c.

int setHeader ( void  )

Definition at line 203 of file image.c.

int setHisto ( void  )

Definition at line 446 of file paxis.c.

int setHWDC ( struct LP_IMAGE_INFO *  image)

Definition at line 884 of file line.c.

int setIFfeed ( void  )

Definition at line 354 of file params.c.

int setImage ( int  i)

Definition at line 1050 of file otf.c.

int setImageTitle ( void  )

Definition at line 586 of file image.c.

int setInvert ( void  )

Definition at line 592 of file params.c.

int setLinePts ( void  )

Definition at line 466 of file paxis.c.

int setLines ( void  )

Definition at line 456 of file paxis.c.

int setLinPlot ( )

Set Y-Axis to Linear Scale

Returns
0

Definition at line 2821 of file linuxpops.c.

int setLogPlot ( )

Set Y-Axis to 10 * log10(y/peak)

Returns
0

Definition at line 2802 of file linuxpops.c.

int setMapAngle ( void  )

Definition at line 2465 of file gridmap.c.

int setMode ( void  )

Definition at line 1042 of file params.c.

int setNegBaselines ( void  )

Definition at line 383 of file baseline.c.

int setPoints ( void  )

Definition at line 436 of file paxis.c.

int setPrompt ( )

Set the prompt to reflect if we are in line, condar or OTF.
If in line, also show the 'holder' number

Returns
0

Definition at line 1532 of file linuxpops.c.

int setPTime ( void  )

Definition at line 304 of file params.c.

int setQRcolor ( int  n)

Definition at line 241 of file reject.c.

int setRejections ( void  )

Definition at line 170 of file beam.c.

int setScale ( void  )

Definition at line 364 of file params.c.

int setSFileName ( void  )

Definition at line 570 of file io.c.

int setSockets ( )

Turn sockets on: default condition

Returns
0

Definition at line 2125 of file linuxpops.c.

int setSource ( void  )

Definition at line 420 of file params.c.

int setSplit ( void  )

Definition at line 631 of file params.c.

int setTau0 ( void  )

Definition at line 289 of file params.c.

int setUFileName ( void  )

Definition at line 518 of file io.c.

int setValidate ( void  )

Definition at line 644 of file io.c.

int setVerbose ( )

Set the Verbose level of an interactive session.

Possible levels:
Levels: 1 Verbose for Parsing Info
2 Verbose for Auto Tau Calculations
4 Verbose for Critiria Slection
8 Verbose for Xgraphic Activity
16 Verbose for FBOFFSET Routines
32 Verbose for BASELINE Routines
64 Verbose for STATS Routines
128 Verbose for RECURSIVE Info
256 Verbose for Batchfile Info
512 Verbose for Alias Info
1024 Verbose for FileOps Info
2048 Verbose for Grigmap Routines
4096 Verbose for Flag Checking
8192 Verbose for Atm Routines
Returns
0

Definition at line 117 of file linuxpops.c.

int setXRange ( void  )

Definition at line 179 of file paxis.c.

int setYRange ( void  )

Definition at line 218 of file paxis.c.

double seval ( int  n,
double  u,
double *  x,
double *  y,
double *  b,
double *  c,
double *  d 
)

Definition at line 847 of file grace_fit.c.

int shift ( void  )

Definition at line 65 of file shift.c.

int shiftFlags ( void  )

Definition at line 622 of file parse.c.

int showAllHelp ( int  all)

Definition at line 185 of file help.c.

int showAverage ( char *  buf)

Definition at line 1118 of file line.c.

int showC1 ( void  )

Definition at line 287 of file observe.c.

int showC12 ( void  )

Definition at line 508 of file observe.c.

int showC13 ( void  )

Definition at line 601 of file observe.c.

int showC2 ( void  )

Definition at line 327 of file observe.c.

int showC24 ( void  )

Definition at line 648 of file observe.c.

int showC3 ( void  )

Definition at line 368 of file observe.c.

int showC34 ( void  )

Definition at line 555 of file observe.c.

int showC4 ( void  )

Definition at line 408 of file observe.c.

int showCalibrator ( struct CALIBRATOR *  p,
int  first 
)

Definition at line 304 of file alma.c.

int showCb ( void  )

Definition at line 448 of file observe.c.

int showChanges ( void  )

Definition at line 475 of file help.c.

int showData ( void  )

Definition at line 709 of file observe.c.

int showFiles ( void  )

Definition at line 1029 of file io.c.

int showHeader ( void  )

Definition at line 692 of file header.c.

int showHelp ( void  )

Definition at line 309 of file help.c.

int showID ( )

Print out some internal configuration info

Returns
0

Definition at line 3107 of file linuxpops.c.

int showKhelp ( void  )

Definition at line 235 of file help.c.

int showLetHelp ( void  )

Definition at line 701 of file parse.c.

int showMidRow ( void  )

Definition at line 2693 of file gridmap.c.

int showObjectStatus ( void  )

Definition at line 416 of file object.c.

int showParams ( void  )

Definition at line 662 of file params.c.

int showPartHelp ( char *  help)

Definition at line 161 of file help.c.

int showPeak ( void  )

Definition at line 271 of file paxis.c.

int showPeaks ( void  )

Definition at line 237 of file paxis.c.

int showPhases ( void  )

Definition at line 695 of file observe.c.

int showPlanetFlux ( void  )

Definition at line 1358 of file planets.c.

int showScan ( void  )

Definition at line 1205 of file observe.c.

int showShortCuts ( void  )

Definition at line 2623 of file parse.c.

int showSpecHelp ( char *  buf)

Definition at line 171 of file help.c.

int showTable ( void  )

Definition at line 804 of file observe.c.

int showTips ( void  )

Definition at line 358 of file sptip.c.

int showVariables ( void  )

Definition at line 2777 of file parse.c.

void sig_handler ( int  sig)

Signal catcher for HUP, KILL, INIT & TERM

Returns
1

Definition at line 168 of file interrupt.c.

int smt_bin_and_cal_data ( float *  ydata,
int  dl,
int  avg,
float *  data,
struct HEADER *  h 
)

Definition at line 1630 of file cont.c.

void solve_system ( gsl_vector *  x,
gsl_multifit_nlinear_fdf *  fdf,
gsl_multifit_nlinear_parameters *  params 
)

Definition at line 185 of file gaussian_fit.c.

void sort_xy ( double *  tmp1,
double *  tmp2,
int  up,
int  sorton,
int  stype 
)

Definition at line 133 of file grace_fit.c.

int sortBaselines ( void  )

Definition at line 611 of file baseline.c.

int sortCalibrators ( int  field)

Definition at line 145 of file alma.c.

int specFocusOne ( int  noint,
int  nfoc,
int  feed 
)

Definition at line 64 of file sfocus.c.

void spline ( int  n,
double *  x,
double *  y,
double *  b,
double *  c,
double *  d 
)

Definition at line 615 of file grace_fit.c.

int sptip_bin_data ( float *  ydata,
int  dl,
float *  data,
struct HEADER *  h 
)

Definition at line 64 of file sptip.c.

int sptip_display_sptip ( float *  tau0,
float *  siga,
float *  sigb,
float *  data,
struct HEADER *  h,
int  plot,
int  chan 
)

Definition at line 104 of file sptip.c.

int sptip_lsqfit ( float  x[],
float  y[],
int  bdata,
int  edata,
float  sig[],
int  mwt,
float *  a,
float *  b,
float *  siga,
float *  sigb,
float *  chi2,
float *  q 
)
int sptip_min_max ( float *  ydata,
int  dl,
double  scan 
)
int stackAdd ( void  )

Definition at line 249 of file stack.c.

int stackEmpty ( void  )

Definition at line 232 of file stack.c.

int stackFill ( void  )

Definition at line 117 of file stack.c.

int stackInc ( void  )

Definition at line 257 of file stack.c.

int stackList ( void  )

Definition at line 204 of file stack.c.

int stackReset ( void  )

Definition at line 188 of file stack.c.

void stasum ( double *  x,
int  n,
double *  xbar,
double *  sd 
)

Definition at line 180 of file grace_fit.c.

void subArgs ( int  wt,
const char *  fmt,
  ... 
)

Definition at line 430 of file parse.c.

int substituteAliases ( char *  buf)

Here we: 1) strip a command into indiviual tokens; 2) substitute any aliases 3) recreate the new command 4) Stuff it back into the origirnal buffer

Definition at line 223 of file alias.c.

int substituteEnv ( void  )

Definition at line 569 of file env.c.

int substituteVariables ( char *  inbuf,
char *  outbuf 
)

Definition at line 2831 of file parse.c.

int subtractImage ( void  )

Definition at line 446 of file image.c.

int suggestFileName ( void  )

Definition at line 362 of file linuxpops.c.

int surveyWrite ( char *  fname)

Definition at line 62 of file survey.c.

double tb_lin ( double  f,
double  f1,
double  tb1,
double  f2,
double  tb2 
)

Definition at line 309 of file planets.c.

int tellAll ( )

Print listing of all scans in the datafile

Returns
0

Definition at line 907 of file linuxpops.c.

int tellAllSfocus ( void  )

Print listing of all Spec Focus scans in the datafile

Returns
0

Definition at line 960 of file linuxpops.c.

int tellAllSpec5 ( void  )

Print listing of all Spec Five scans in the datafile

Returns
0

Definition at line 995 of file linuxpops.c.

int tellBadChan ( )

Show the user which channels are flagged

Definition at line 351 of file badchan.c.

int tellBaselines ( void  )

Definition at line 358 of file baseline.c.

int tellEnv ( void  )

Definition at line 360 of file env.c.

int tellIgnored ( void  )

Definition at line 156 of file ignore.c.

int tellOndata ( )

Display all the scans in the data file

Returns

Definition at line 617 of file linuxpops.c.

int tellWeather ( void  )

Definition at line 1142 of file observe.c.

int titleBlock ( void  )

Definition at line 1884 of file strings_and_things.c.

int to_dataserv ( char *  buf)

Definition at line 82 of file otf.c.

double tsrcInterp ( struct TBRIGHT *  tb,
double  f,
int  n 
)

Definition at line 456 of file planets.c.

int tsys_get_tok ( char *  edit)

Split single command up into tokens

Definition at line 150 of file tsys.c.

int tsysSort ( struct TSYS_ELEM *  p1,
struct TSYS_ELEM *  p2 
)

Definition at line 80 of file tsys.c.

int turnOns ( void  )

Definition at line 2743 of file cont.c.

int updateHeader ( void  )

Definition at line 263 of file header.c.

int usage ( char *  name)

Print usages and exit();

Returns
1

Definition at line 1473 of file linuxpops.c.

int useTau ( void  )

Definition at line 365 of file sptip.c.

int validate ( int  which)

Need to make this better

Parameters
whichlast plotting mode
Returns
0

Definition at line 164 of file linuxpops.c.

int validateCalibrators ( void  )

Definition at line 470 of file alma.c.

int verifyFFBChans ( void  )

Definition at line 117 of file ffb.c.

int verifyParams ( void  )

Definition at line 63 of file observe.c.

int watchFile ( void  )

Definition at line 384 of file io.c.

int writeAllConfig ( void  )

Definition at line 246 of file config.c.

int writeBadChans ( void  )

Definition at line 750 of file badchan.c.

int writeBaseLines ( void  )

Definition at line 1919 of file baseline.c.

int writeConfig ( void  )

Definition at line 195 of file config.c.

int writeFormulas ( void  )

Definition at line 220 of file formula.c.

int writeIRC_Record ( void  )

Definition at line 3158 of file linuxpops.c.

int writeParams ( FILE *  fp)

Definition at line 106 of file config.c.

int writeReport ( char *  buf)

Definition at line 2055 of file line.c.

int writeResults ( int  indx[4])
int xdelay ( int  d)

Definition at line 3559 of file linuxpops.c.

void xfree ( void *  ptr)

Definition at line 122 of file grace_fit.c.

int xinterp ( double *  x1,
int  nx1,
double *  x2,
int  nx2 
)

Definition at line 206 of file interp.c.

int xx ( )

Shortcut to replot

Returns
0

Definition at line 605 of file linuxpops.c.

double yintpn ( double  a,
double  b,
double  c,
double  d,
double  y 
)

Definition at line 79 of file interp.c.

int zero_bl_averages ( void  )

Definition at line 67 of file baseline.c.

int zero_check ( char *  who,
int  dl,
float *  data 
)

Definition at line 2498 of file cont.c.

int zeroImage ( void  )

Definition at line 880 of file image.c.