Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
tmp_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 ignoreBadChan (void)
 
int tellBadChan (void)
 
int isBadChan (int bad)
 
int clearBadChan (void)
 
int readBadChanFile (void)
 
int badChanShow (void)
 
float findNextGoodChan (struct IMAGE_INFO *image, int j)
 
float findPreGoodChan (struct IMAGE_INFO *image, int j)
 
int line_removeBadChans (struct IMAGE_INFO *image, int print)
 
int doSpike (void)
 
int correctBadChans (void)
 
int do_showBad (void)
 
int writeBadChans (void)
 
int doBaseline (void)
 
int computeBaseLine (struct IMAGE_INFO *image)
 
int line_doBaseLine (struct 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 IMAGE_INFO *image)
 
int findLastGood (struct IMAGE_INFO *image, int indx, int *lgn, float *lg)
 
int findNextGood (struct IMAGE_INFO *image, int indx, int *ngn, float *ng)
 
int doBshape (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 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 IMAGE_INFO *image)
 
int bspline_smooth (struct 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 accumSelected (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 IMAGE_INFO *image, int plot)
 
double findDeltaX (struct HEADER *h)
 
int cont_display_mapscan (struct IMAGE_INFO *image, int plot)
 
int processContinuum (struct HEADER *head, float *phases, float *data, int *dl, char *mode)
 
int cont_display_five (struct IMAGE_INFO *image, int plot)
 
int cont_display_any_focus (struct 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 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 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)
 
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 IMAGE_INFO *image)
 
int clearGauss (struct IMAGE_INFO *image, int clear)
 
int gaussList (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)
 
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, int scan)
 
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)
 
struct HEAD_PARAMS * findHeaderVal (char *name)
 
int updateHeader (void)
 
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 (void)
 
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 _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 IMAGE_INFO * findImage (int i)
 
int parseHarg (char *arg)
 
int copyImage (void)
 
int _copyImage (struct IMAGE_INFO *i1, struct IMAGE_INFO *i2)
 
int printImageHeader (void)
 
int subtractImage (void)
 
int doImage (void)
 
int imageSummary (void)
 
int setImageTitle (void)
 
int hzero (struct IMAGE_INFO *image)
 
int clearAllImages (void)
 
int hLoad (void)
 
int hSave (void)
 
int copyEnv2Image (struct IMAGE_INFO *image)
 
int sendImageStruct (struct 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)
 
int runFile (void)
 
int doZenity (char *cmd, char *rst)
 
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 p_getScan (void)
 
int getScan (int verbose)
 
int ggetScan (void)
 
int doFver (void)
 
int doGver (void)
 
int gsetFile (void)
 
int getTerminalSize (int *cols, int *rows)
 
int showFiles (void)
 
int findVersions (int which)
 
int saveNSave (void)
 
int doSDD (void)
 
int doClass (void)
 
int doPDFL (void)
 
int listSaves (void)
 
char * lcalc (char *cmdbuf)
 
int computeRms (float *y, int n, float *rms)
 
int do_specCombClear (void)
 
int line_accum (struct IMAGE_INFO *image)
 
int line_accumSelected (void)
 
int line_determine_min_max (struct IMAGE_INFO *image)
 
int processSpectra (struct IMAGE_INFO *image)
 
int line_display_spectra (struct IMAGE_INFO *image, int plot)
 
int removeFittedData (struct IMAGE_INFO *image)
 
int linePlot (struct IMAGE_INFO *image)
 
int do_F_Command (void)
 
int do_S_Command (void)
 
int setHWDC (struct IMAGE_INFO *image)
 
int printRMS (void)
 
int selfRej (void)
 
int clearRMS (void)
 
int line_showTable (void)
 
int line_MinMax (struct IMAGE_INFO *image)
 
int doMeasure (void)
 
int showAverage (void)
 
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 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 specFocusOne (int noint, int nfoc, int feed)
 
int doSfocus (void)
 
int doNsac (void)
 
int setVerbose (void)
 
int validate (int which)
 
int replot (int how)
 
int doPaperSize (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 backendMatch (struct HEADER *h)
 
int listScans (void)
 
int usage (char *name)
 
int printTimeStamp (void)
 
void exit_proc (int arg1, void *arg2)
 
void sig_handler (int sig)
 
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 sendXgraphic (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 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 object (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 configFromHeader (void)
 
int otfInit (void)
 
int otfParamList (void)
 
int otfManualConfig (void)
 
int otfLoad (void)
 
int otfMovie (void)
 
int otf3D (void)
 
int otfPlot (void)
 
int doOTF (void)
 
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 setDFormat (char *buf)
 
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)
 
int isSet (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 doCalculation (char *buf)
 
int deNewLineIt (char *tbuf)
 
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 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)
 

Function Documentation

int _copyImage ( struct IMAGE_INFO *  i1,
struct IMAGE_INFO *  i2 
)
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 ( void  )

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 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 IMAGE_INFO *  image)
void aspline ( int  n,
double *  x,
double *  y,
double *  b,
double *  c,
double *  d 
)

Definition at line 754 of file grace_fit.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 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 IMAGE_INFO *  image)
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 IMAGE_INFO *  image)
int bspline_smooth ( struct IMAGE_INFO *  image)
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.

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 ( void  )

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 clearGauss ( struct IMAGE_INFO *  image,
int  clear 
)
int clearIgnores ( void  )

Definition at line 198 of file ignore.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 clearScreen ( void  )

Definition at line 246 of file gridmap.c.

int clearVar ( void  )

Definition at line 1001 of file parse.c.

int compressReassembleTokens ( void  )

Definition at line 461 of file parse.c.

float computeAtmophers ( double  elv)
int computeBaseLine ( struct IMAGE_INFO *  image)
int computeHistoRMS ( struct HISTO_INFO *  h)

Definition at line 103 of file histogram.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 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 IMAGE_INFO *  image,
int  plot,
int  type 
)
int cont_display_data ( float *  data,
struct HEADER *  h 
)

Definition at line 2599 of file cont.c.

int cont_display_five ( struct IMAGE_INFO *  image,
int  plot 
)
int cont_display_mapscan ( struct IMAGE_INFO *  image,
int  plot 
)
int cont_display_sequence ( struct IMAGE_INFO *  image,
int  plot 
)
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 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 IMAGE_INFO *  image)
int copyImage ( void  )

Definition at line 275 of file image.c.

int correctBadChans ( void  )

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 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 deleteReport ( void  )

Definition at line 2047 of file line.c.

int deNewLineIt ( char *  tbuf)
int displayAllObservations ( int  xmode,
int  ymode,
int  lines 
)

Definition at line 152 of file object.c.

int do_cont_gauss ( float *  d,
struct HEADER *  h 
)

Definition at line 879 of file gauss.c.

int do_F_Command ( void  )

Definition at line 835 of file line.c.

int do_line_gauss ( void  )

Definition at line 522 of file gauss.c.

int do_psc ( void  )

Definition at line 1498 of file line.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 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 ( void  )

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 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 doCCur ( void  )

Command line version

Returns
0

Definition at line 2398 of file linuxpops.c.

int doCheckFile ( void  )

Execute the external program 'checkfile'

Returns
0

Definition at line 2722 of file linuxpops.c.

int doCheckSdd ( void  )

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 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 doDemo ( void  )

Definition at line 61 of file demo.c.

int doDumpGains ( void  )

Execute the external program 'dumpscans' on Gains file

Returns
0

Definition at line 2655 of file linuxpops.c.

int doDumpScans ( void  )

Execute the external program 'dumpscans' on data file

Returns
0

Definition at line 2628 of file linuxpops.c.

int doEnd ( void  )

Definition at line 711 of file batch.c.

int doFBOffset ( void  )

Definition at line 248 of file fboffset.c.

int doFCur ( void  )

Command line version

Returns
0

Definition at line 2480 of file linuxpops.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 doFver ( void  )

Definition at line 913 of file io.c.

int doGauss ( void  )

Definition at line 808 of file gauss.c.

int doGetMapAngle ( void  )

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 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 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 doIf ( void  )

Definition at line 2882 of file parse.c.

int doImage ( void  )

Definition at line 458 of file image.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 doMapPlot ( int  how)
Todo:
Need to move gnuplot functions to xgraphic

Definition at line 2203 of file gridmap.c.

int doMeasure ( void  )

Definition at line 1071 of file line.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 doOSB ( void  )

Definition at line 1808 of file line.c.

int doOTF ( void  )

Definition at line 1238 of file otf.c.

int doPageCmd ( void  )

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 ( void  )

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 doPGUI ( void  )

Definition at line 3148 of file linuxpops.c.

int doPshow ( void  )

Definition at line 1264 of file line.c.

int doQshow ( void  )
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 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 doSfocus ( void  )

Definition at line 305 of file sfocus.c.

int doSleep ( void  )

Sleep for the designated number of seconds

Returns
0

Definition at line 3069 of file linuxpops.c.

int doSpecInvert ( void  )

Definition at line 1773 of file line.c.

int doSpike ( void  )

Definition at line 621 of file badchan.c.

int doSysCmd ( void  )

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 ( void  )

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 doUnalias ( void  )

Definition at line 170 of file alias.c.

int doVCur ( void  )

Command line version

Returns
0

Definition at line 2524 of file linuxpops.c.

int doYFactor ( void  )

Definition at line 2402 of file line.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 dummie_main ( int  argc,
char **  argv 
)

Definition at line 65 of file histogram.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.

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.

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.

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.

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.

struct 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 findLastGood ( struct IMAGE_INFO *  image,
int  indx,
int *  lgn,
float *  lg 
)
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 findMinMax ( double *  fmin,
double *  fmax 
)

Definition at line 256 of file atm.c.

int findNextGood ( struct IMAGE_INFO *  image,
int  indx,
int *  ngn,
float *  ng 
)
float findNextGoodChan ( struct IMAGE_INFO *  image,
int  j 
)
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.

float findPreGoodChan ( struct IMAGE_INFO *  image,
int  j 
)
int findVariable ( char *  var)

Definition at line 984 of file parse.c.

int findVersions ( int  which)
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 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 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 ( void  )
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.

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 getNset ( void  )

Definition at line 214 of file parse.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 ( void  )
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 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 ( void  )

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 hLoad ( void  )

Definition at line 658 of file image.c.

int hSave ( void  )

Definition at line 736 of file image.c.

int hzero ( struct IMAGE_INFO *  image)
int ignoreBadChan ( void  )

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 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 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 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 isInBaseLineRegion ( int  chan)

Does passed channel number fall within a defined baseline region

Definition at line 336 of file baseline.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.

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 IMAGE_INFO *  image)
int line_accumSelected ( void  )

Definition at line 443 of file line.c.

int line_determine_min_max ( struct IMAGE_INFO *  image)
int line_display_spectra ( struct IMAGE_INFO *  image,
int  plot 
)
int line_doBaseLine ( struct IMAGE_INFO *  image)
int line_header ( struct HEADER *  h)

Definition at line 577 of file header.c.

int line_MinMax ( struct IMAGE_INFO *  image)
int line_removeBadChans ( struct IMAGE_INFO *  image,
int  print 
)
int line_save_data ( struct IMAGE_INFO *  h)
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 IMAGE_INFO *  image)
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 listHistory ( void  )

Definition at line 61 of file history.c.

int listSaves ( void  )

Definition at line 1273 of file io.c.

int listScans ( void  )

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 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 makeHelp ( void  )

Definition at line 373 of file help.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.

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.

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 nameEnv ( void  )

Definition at line 342 of file env.c.

int object ( void  )
int otf3D ( void  )
int otfInit ( void  )

Definition at line 47 of file otf.c.

int otfLoad ( void  )
int otfManualConfig ( void  )
int otfMovie ( void  )
int otfParamList ( void  )

Definition at line 511 of file otf.c.

int otfPlot ( void  )
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 parseFlags ( void  )

Definition at line 497 of file parse.c.

int parseHarg ( char *  arg)

Definition at line 256 of file image.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 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 ( void  )

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 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 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 printGauss ( struct IMAGE_INFO *  image)
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 printPlot ( void  )

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 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 ( void  )

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 IMAGE_INFO *  image)
int pruneFile ( void  )

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 pushArgs ( void  )

Definition at line 383 of file parse.c.

int qReview ( void  )

Definition at line 899 of file observe.c.

int quitProg ( void  )

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 readIgnoreFile ( void  )

Definition at line 208 of file ignore.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 recordTests ( void  )

Definition at line 3212 of file linuxpops.c.

int recordThisCommand ( char *  buf)

Definition at line 2000 of file parse.c.

int refreshPlot ( void  )

Tell the xgraphics program to replot the display \returns 0

Definition at line 2882 of file linuxpops.c.

int reloadFile ( void  )

Definition at line 392 of file io.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 removeFittedData ( struct IMAGE_INFO *  image)
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.

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.

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 ( void  )

Restore a previously saved env

Definition at line 722 of file env.c.

int reviewStack ( void  )

Definition at line 947 of file observe.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 saveData ( void  )

Definition at line 729 of file observe.c.

int saveEnv ( void  )

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,
int  scan 
)
int selfRej ( void  )

Definition at line 966 of file line.c.

int sendAccumResults ( void  )

Definition at line 452 of file cont.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 sendImageStruct ( struct IMAGE_INFO *  image,
int  mode 
)
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 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 setHeader ( void  )

Definition at line 203 of file image.c.

int setHWDC ( struct IMAGE_INFO *  image)
int setIFfeed ( void  )

Definition at line 354 of file params.c.

int setImageTitle ( void  )

Definition at line 586 of file image.c.

int setInvert ( void  )

Definition at line 592 of file params.c.

int setLinPlot ( void  )

Set Y-Axis to Linear Scale

Returns
0

Definition at line 2821 of file linuxpops.c.

int setLogPlot ( void  )

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 setPrompt ( void  )

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 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 ( void  )

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 ( void  )

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.

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 showAllHelp ( void  )
int showAverage ( void  )
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 ( void  )

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 showPhases ( void  )

Definition at line 695 of file observe.c.

int showScan ( void  )

Definition at line 1205 of file observe.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 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.

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 tellAll ( void  )

Print listing of all scans in the datafile

Returns
0

Definition at line 907 of file linuxpops.c.

int tellBadChan ( void  )

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 ( void  )

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 turnOns ( void  )

Definition at line 2743 of file cont.c.

int updateHeader ( void  )

Definition at line 263 of file header.c.

int usage ( char *  progname)

Print usages and exit();

Returns
1

Definition at line 1473 of file linuxpops.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 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])
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 ( void  )

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_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.