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

Go to the source code of this file.

Functions

int to_helper (char *buf)
 
int to_xgraphic (char *buf)
 
int getNProcs (void)
 
int main (int argc, char *argv[])
 
int myIOErrorHandler (Display *display, XErrorEvent *myerr)
 
int myErrorHandler (Display *display, XErrorEvent *myerr)
 
void signalHandler (void)
 
int exitProc (int status)
 
int dummieEventProc (XEvent *event)
 
struct WINDOW * createWindow (struct XGR_ *s, char *title, int cw, int ch, int xpos, int ypos, int bg, int usPixmap, int which)
 
int createWindows (struct XGR_ *s, char *title, int cw, int ch, int xpos, int ypos, int bg, int usPixmap)
 
int argmatch (char *s1, char *s2, int atleast)
 
int usage (char *progname)
 
int mainFrameRepaint (void)
 
int verifyScanDone (int scn)
 
int insertScan (int scn)
 
int to_monitor (char *buf)
 
int to_rambo (char *buf)
 
int to_exec (char *buf)
 
int do_toggleFixData (char *buf)
 
int show_display (void)
 
int showDisplay (void)
 
int main_loop (void)
 
int processEvent (struct XGR_ *s)
 
int set_sock_callback (int(*call)(void))
 
int synchronize (int v)
 
int do_printData (char *buf)
 
int determine_min_max (float *ydata, int dl, double scan)
 
int do_filename (char *buf)
 
int do_gfilename (char *buf)
 
int ds_delay (double dc)
 
int checkBoot (struct BOOTSTRAP *b, char *fn)
 
int fixVel (struct HEADER *head)
 
int read_scan (double scan, char *filename, float **data, struct HEADER *head)
 
int modefield (int id, char *field)
 
int peekScan (double scan, char *filename, int *be, int *modeid, struct HEADER *head)
 
int do_tiltmeter (char *buf)
 
int do_load (char *buf)
 
int readMail (char *buf, int len)
 
int parseMail (char *buf)
 
int do_scanDone (char *buf)
 
int do_calDone (void)
 
int do_status (void)
 
int do_badChan (char *buf)
 
int do_quit (void)
 
int do_stop (void)
 
int do_xsync (char *buf)
 
int do_help (char *buf)
 
int do_setClip (char *buf)
 
int do_ignoreGains (char *buf)
 
int do_ignoreRepaints (char *buf)
 
int do_hardCopy (char *buf)
 
int do_diagHarCopyServ (void)
 
int do_diagHarCopyGrid (void)
 
int do_makeGif (char *buf)
 
char * vxstrtok (char *string, char *last_token, char *delim)
 
int do_mallocmap (void)
 
int do_fixedzero (char *buf)
 
int do_markers (char *buf)
 
int do_debug (char *buf)
 
int do_otfLockScale (char *buf)
 
int do_ephemObj (char *buf)
 
int do_otfGridChanCompress (char *buf)
 
int do_otfGridCellSizeRa (char *buf)
 
int do_otfGridCellSizeDec (char *buf)
 
int do_otfGridSizeRa (char *buf)
 
int do_otfGridSizeDec (char *buf)
 
int do_otfGridRestfreq (char *buf)
 
int do_otfGridFreqres (char *buf)
 
int do_otfGridCols (char *buf)
 
int do_otfGridRows (char *buf)
 
int do_otfGridNoint (char *buf)
 
int do_otfGridAllowVelShift (char *buf)
 
int do_otfGridRa (char *buf)
 
int do_otfGridDec (char *buf)
 
int do_otfGridVelocity (char *buf)
 
int do_otfCutOff (char *buf)
 
int do_otfBadChan (char *buf)
 
int do_otfSpectraDebug (char *buf)
 
int do_otfLoadChoice (char *buf)
 
int do_otfIFchoice (char *buf)
 
int do_otfNumColors (char *buf)
 
int do_otfInterp (void)
 
int do_otfColorChoice (char *buf)
 
int do_otfGamma (char *buf)
 
int do_otfGridScale (char *buf)
 
int do_otfSingleChan (char *buf)
 
int do_otfSingleBin (char *buf)
 
int do_otfDisplayArray (char *buf)
 
int do_otfTsys (char *buf)
 
int do_otfRms (char *buf)
 
int do_otfTime (char *buf)
 
int do_otfChans (char *buf)
 
int do_otfBeamSize (char *buf)
 
int do_otfBeamArm (char *buf)
 
int do_otfBaseLine (char *buf)
 
int do_baseLines (char *buf)
 
int display_spectra (double xb, double xe, double yb, double ye, float *data, struct HEADER *head, int procSpec)
 
int do_spectraCombine (char *buf)
 
int do_sendSpecComb (void)
 
int do_specCombClear (void)
 
int combineData (float *xdata, float *yd, struct HEADER *head)
 
int remSpecScans (void)
 
int addSpecScans (double s)
 
int checkSpecScans (double s)
 
int do_ignorePos (char *buf)
 
int putHeader (struct DS_IMAGE_INFO *image)
 
int display_image (double xb, double xe, double yb, double ye, struct DS_IMAGE_INFO *im)
 
int doSpecPlot (struct DS_IMAGE_INFO *im)
 
int doSpecWinRepaint (void)
 
int doSpecWinReSize (void)
 
int putChanTemp (int c, double t)
 
int doSpecPlotWinEvent (XEvent *event, unsigned int mask)
 
int nrerror (char *error_text)
 
float * vector (int nl, int nh)
 
int * ivector (int nl, int nh)
 
float ** matrix (int nrl, int nrh, int ncl, int nch)
 
int free_vector (float *v, int nl)
 
int free_ivector (int *v, int nl)
 
int free_matrix (float **m, int nrl, int nrh, int ncl)
 
int gaussj (float a[100+1][100+1], int n, float **b, int m)
 
int mrqmin (float x[], float y[], float sig[], int ndata, float a[], int ma, int lista[], int mfit, float covar[100+1][100+1], float alpha[100+1][100+1], float *chisq, void(*funcs)(void), float *alamda)
 
int mrqcof (float x[], float y[], float sig[], int ndata, float a[], int ma, int lista[], int mfit, float alpha[100+1][100+1], float beta[], float *chisq, void(*funcs)(void))
 
int covsrt (float covar[100+1][100+1], int ma, int lista[], int mfit)
 
float gammq (double a, double x)
 
int gser (float *gamser, double a, double x, float *gln)
 
int gcf (float *gammcf, double a, double x, float *gln)
 
float gammln (double xx)
 
void fgauss (double x, float *a, float *y, float *dyda)
 
int gauss_fit (float *x, float *y, float *sig, int npts, float *a)
 
int otfInit (void)
 
int freeOtfMemory (void)
 
int otfGridInit (int cols, int rows, int noint)
 
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 do_ignoreScan (char *buf)
 
int checkIgnoreScans (int v, double s)
 
int addIgnoreScans (int v, double s)
 
int remIgnoreScans (void)
 
int do_saveIgnoreScans (FILE *fp)
 
int do_printIgnoreScans (void)
 
int do_clearIgnore (void)
 
int checkMapScans (int v, double s)
 
int addMapScans (int v, double s)
 
int remMapScans (void)
 
int do_printMapScans (void)
 
int getNumSpectra (double datalen, double noint)
 
int resendSpecData (struct SPECDATA *sd)
 
int do_otf (float *data, struct HEADER *head, float *offdata, float *gainsdata)
 
int do_otfRegular (void)
 
int doOtfGridRePaint (void)
 
int doOtfGridReSize (void)
 
int do_otfRmBadChan (void)
 
int spikeCheck (char *buf)
 
int computeInten (int bc, int ec)
 
int computeMinMax (void)
 
int computeShade (void)
 
int scaleData (float *data)
 
int subtractPredictedRA (float *data)
 
int placeBeamSize (void)
 
int initGrid (void)
 
int paintOtfGrid (void)
 
int putOtfGrid (void)
 
int drawColorBar (void)
 
int fillOtfGrid (void)
 
int accumDataIntoWork (void)
 
int zeroWorkArray (void)
 
int normalizeAndCal (void)
 
int insertVersion (struct OTF_GRID *g, int ver)
 
int shiftOtfChans (double *in, int n, int shift)
 
int accumWorkIntoGrid (void)
 
int markDataDirty (void)
 
int markBaseDirty (void)
 
int recomputeBaseLines (void)
 
int computeBaseLine (struct OTF_GRID *g, float *data, float *a, float *b, float *Rms, int noint, int mode)
 
int computeRms (float *y, int n, float *rms)
 
int printKeySymHelp (void)
 
int dispatchOtfGridEvents (XEvent *e)
 
int checkKeyPress (XEvent *event)
 
int do_otfSendPlot (char *buf)
 
int getRequestedCell (int row, int col)
 
int otfGridDisplaySpec (XEvent *event, unsigned int mask)
 
int displayRequestedOtf (void)
 
int displayOtfGridSpectra (struct OTF_GRID *s)
 
int getBaselines (int *b)
 
int do_otfVelRun (char *buf)
 
int do_otfGridDump (void)
 
int do_otfGridLoad (char *buf)
 
int do_otfGridInit (void)
 
int otfInterp (void)
 
int interpAndPlot (struct XGR_ *s)
 
int do_otfChannelMap (char *buf)
 
int getChanOTF (void)
 
int createInterpTable (int max)
 
double findInterp (double v1, double v2, int indx, int max)
 
int do_otfSpectralSum (char *buf)
 
int do_otf3dcube (char *buf)
 
int do_otf3dplot (char *buf)
 
int do_otfRmRMS (char *buf)
 
int do_zapCell (char *buf)
 
struct OTF_GRID * fetchMapCell (int row, int col)
 
int setMapCell (int row, int col, struct OTF_GRID *f)
 
int findNextCell (int row, int col, struct OTF_GRID **p2)
 
int do_fullInterpFill (char *buf)
 
int weightedAvergeCells (struct OTF_GRID *f, struct OTF_GRID *p1, double p1_avg, struct OTF_GRID *p2, double p2_avg, int try, int row, int col, int *count)
 
int do_otfFixBadCells (char *buf)
 
int do_otfListCells (char *buf)
 
int forceDrawGrid (void)
 
int do_otfSlice (char *buf)
 
int do_otfStatus (void)
 
int interpAndWrite (struct XGR_ *s)
 
int lsqfit (float x[], float y[], int bdata, int ndata, float sig[], int mwt, float *a, float *b, float *siga, float *sigb, float *chi2, float *q)
 
int xgr_graphInit (struct XGR_ *s)
 
int xgr_setNumColors (int n)
 
int xgr_setColorChoice (int c)
 
int loadGrayScale (struct XGR_ *s)
 
int flame (double a, double b, double x)
 
int loadFlameScale (struct XGR_ *s, int cindx)
 
int loadPseudoScale (struct XGR_ *s)
 
int xgr_freeWindows (struct XGR_ *s)
 
int xgr_setWindowSize (char *name, double x, double y)
 
int xgr_setCurWindow (int win, int which)
 
int xgr_pixmapToWindow (char *name)
 
int xgr_mapUnmapWindow (char *name, int map)
 
int xgr_findWindow (Display *dpy, Window win, struct WINDOW **w)
 
int xgr_putXimage (char *win_name, double fx, double fy, int w, int h, unsigned char *data)
 
int xgr_reSizeProc (Window window, int width, int height)
 
int xgr_eventProc (XEvent *event, Window window, unsigned int mask)
 
int xgr_rePaintProc (Window window)
 
struct WINDOW * xgr_getWin (Window win)
 
int xgr_hardCopy (char *win, int land, int rev, char *file)
 
int xgr_makeGif (char *win, char *file)
 
int xgr_clearScreen (void)
 
int xgr_clearArea (double x, double y, double dx, double dy)
 
int find_close_color (Display *dpy, Colormap cmap, XColor *exact_color, char *color)
 
int xgr_drawLine (float *xdata, float *ydata, int n, int color)
 
int xgr_drawLineDirect (double xmin, double xmax, double ymin, double ymax, float *xdata, float *ydata, int n, int color)
 
int xgr_drawPoints (double xmin, double xmax, double ymin, double ymax, float *xdata, float *ydata, int n, int color)
 
int xgr_drawBin (float *xdata, float *ydata, int n, int color)
 
int xgr_drawGrid (double f1b, double f1e, double f2b, double f2e, int n1, int n2, int dx, int dy, int tick, int label, int clr1, int clr2, int format)
 
int xgr_drawBox (double x, double y, double x2, double y2, int color)
 
int xgr_setBox (double x, double y, double dx, double dy)
 
int xgr_drawFillBox (double xmin, double xmax, double ymin, double ymax, double xl, double yt, double xr, double yb, int color)
 
int xgr_drawRectangle (double xmin, double xmax, double ymin, double ymax, double xl, double yt, double xr, double yb, int color, int bold)
 
int xgr_drawTextInGrid (double xmin, double xmax, double ymin, double ymax, double x, double y, char *msg, int color, int f)
 
int xgr_drawCircle (double xmin, double xmax, double ymin, double ymax, double x, double y, double w, double h, int color, int size)
 
int xgr_drawPosText (double x, double y, char *msg, int clr, int f)
 
int xgr_drawText (double x, double y, char *msg, int clr, int f)
 
int xgr_drawTextClear (double x, double y, char *msg, int clr, int f)
 
int xgr_drawPoint (float *xdata, float *ydata, int n, double xmin, double xmax, char *msg, int color, int f)
 
int xgr_drawOn (double x, double y, int n, double xmin, double xmax, char *msg, int color, int f)
 
int xgr_drawLabel (char *b1, char *b2, char *b3, int color)
 
int xgr_setFont (struct XGR_ *s, int f)
 
int setInValid (int w)
 
char ** findFixedFonts (Display *dpy, int *num)
 
int charcompare (char **s1, char **s2)
 
int setFrameFooter (char *msg, int lr)
 
int xgr_checkForEvents (void)
 
int interp (float *array, int nx, int ny, float *parray, int npx, int npy)
 
int loadFile (double ifNum)
 
int do_linetotalmapoff (void)
 
int do_lineotf (void)
 
int setSourceName (struct HEADER *head)
 
int clipDataProc (float *data, struct HEADER *head, int nchan, int cd)
 
int do_linedefault (void)
 
int freeDataPointers (void)
 
int printData (float *f)
 
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 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 do_showRegion (char *buf)
 
int do_toggleRegion (void)
 
int do_toggleRegionLabels (void)
 
int do_toggleRegionBold (int dir)
 
int drawRegions (void)
 
double getElapseTime (void)
 
int do_etimeInit (void)
 
int do_etimeClear (void)
 
int do_etimeDump (void)
 
int do_etimeShow (void)
 
int do_etime (int func, int action)
 

Function Documentation

int accumDataIntoWork ( void  )

Definition at line 2218 of file otf.c.

int accumWorkIntoGrid ( void  )

Definition at line 2497 of file otf.c.

int addIgnoreScans ( int  v,
double  s 
)
int addMapScans ( int  v,
double  s 
)
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 addSpecScans ( double  s)
int argmatch ( char *  s1,
char *  s2,
int  atleast 
)

Definition at line 559 of file dataserv.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 charcompare ( char **  s1,
char **  s2 
)

Definition at line 2458 of file xgr.c.

int checkBoot ( struct BOOTSTRAP *  b,
char *  fn 
)

Definition at line 15 of file read_scan.c.

int checkIgnoreScans ( int  v,
double  s 
)
int checkKeyPress ( XEvent *  event)

Definition at line 3293 of file otf.c.

int checkMapScans ( int  v,
double  s 
)
struct HEADER* checkScanHeader ( int  v,
double  s 
)
int checkSpecScans ( double  s)
int clipDataProc ( float *  data,
struct HEADER *  head,
int  nchan,
int  cd 
)

Definition at line 251 of file obsmodes.c.

int combineData ( float *  xdata,
float *  yd,
struct HEADER *  head 
)

Definition at line 309 of file spectra.c.

int computeBaseLine ( struct OTF_GRID *  g,
float *  data,
float *  a,
float *  b,
float *  Rms,
int  noint,
int  mode 
)

Definition at line 2690 of file otf.c.

int computeInten ( int  bc,
int  ec 
)

Definition at line 1377 of file otf.c.

int computeMinMax ( void  )

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

Definition at line 1602 of file otf.c.

int covsrt ( float  covar[100+1][100+1],
int  ma,
int  lista[],
int  mfit 
)
int createInterpTable ( int  max)

Definition at line 4738 of file otf.c.

struct WINDOW* createWindow ( struct XGR_ *  s,
char *  title,
int  cw,
int  ch,
int  xpos,
int  ypos,
int  bg,
int  usPixmap,
int  which 
)

Definition at line 415 of file dataserv.c.

int createWindows ( struct XGR_ *  s,
char *  title,
int  cw,
int  ch,
int  xpos,
int  ypos,
int  bg,
int  usPixmap 
)

Definition at line 512 of file dataserv.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 determine_min_max ( float *  ydata,
int  dl,
double  scan 
)
int dispatchOtfGridEvents ( XEvent *  e)

Definition at line 2953 of file otf.c.

int display_image ( double  xb,
double  xe,
double  yb,
double  ye,
struct DS_IMAGE_INFO *  im 
)
int display_spectra ( double  xb,
double  xe,
double  yb,
double  ye,
float *  data,
struct HEADER *  head,
int  procSpec 
)
int displayOtfGridSpectra ( struct OTF_GRID *  s)

Definition at line 3766 of file otf.c.

int displayRequestedOtf ( void  )

Definition at line 3737 of file otf.c.

struct HEADER* do_addHeader ( int  ver,
double  scan,
struct HEADER *  head 
)
int do_badChan ( char *  buf)

Definition at line 363 of file mailparse.c.

int do_baseLines ( char *  buf)

Definition at line 1733 of file mailparse.c.

int do_calDone ( void  )

Definition at line 345 of file mailparse.c.

int do_clearIgnore ( void  )

Definition at line 741 of file otf.c.

int do_debug ( char *  buf)

Definition at line 765 of file mailparse.c.

int do_diagHarCopyGrid ( void  )

Definition at line 614 of file mailparse.c.

int do_diagHarCopyServ ( void  )

Definition at line 604 of file mailparse.c.

int do_ephemObj ( char *  buf)

Definition at line 796 of file mailparse.c.

int do_etime ( int  func,
int  action 
)

Definition at line 268 of file etime.c.

int do_etimeClear ( void  )

Definition at line 170 of file etime.c.

int do_etimeDump ( void  )

Definition at line 194 of file etime.c.

int do_etimeInit ( void  )

Definition at line 149 of file etime.c.

int do_etimeShow ( void  )

Definition at line 230 of file etime.c.

int do_filename ( char *  buf)

Definition at line 1100 of file dataserv.c.

int do_fixedzero ( char *  buf)

Definition at line 722 of file mailparse.c.

int do_fullInterpFill ( char *  buf)

Definition at line 5640 of file otf.c.

int do_gfilename ( char *  buf)

Definition at line 1138 of file dataserv.c.

int do_hardCopy ( char *  buf)

Definition at line 555 of file mailparse.c.

int do_help ( char *  buf)

Definition at line 419 of file mailparse.c.

int do_ignoreGains ( char *  buf)

Definition at line 521 of file mailparse.c.

int do_ignorePos ( char *  buf)

Definition at line 515 of file spectra.c.

int do_ignoreRepaints ( char *  buf)

Definition at line 542 of file mailparse.c.

int do_ignoreScan ( char *  buf)

Definition at line 448 of file otf.c.

int do_linedefault ( void  )

Definition at line 275 of file obsmodes.c.

int do_lineotf ( void  )

Definition at line 163 of file obsmodes.c.

int do_linetotalmapoff ( void  )

Definition at line 154 of file obsmodes.c.

int do_listRegions ( char *  buf)

Definition at line 299 of file region.c.

int do_load ( char *  buf)

Definition at line 178 of file mailparse.c.

int do_loadRegion ( char *  buf)

Definition at line 354 of file region.c.

int do_makeGif ( char *  buf)

Definition at line 623 of file mailparse.c.

int do_mallocmap ( void  )

Definition at line 711 of file mailparse.c.

int do_markers ( char *  buf)

Definition at line 743 of file mailparse.c.

int do_otf ( float *  data,
struct HEADER *  head,
float *  offdata,
float *  gainsdata 
)

Definition at line 1006 of file otf.c.

int do_otf3dcube ( char *  buf)

Definition at line 4931 of file otf.c.

int do_otf3dplot ( char *  buf)

Definition at line 5220 of file otf.c.

int do_otfBadChan ( char *  buf)

Definition at line 1081 of file mailparse.c.

int do_otfBaseLine ( char *  buf)

Definition at line 1697 of file mailparse.c.

int do_otfBeamArm ( char *  buf)

Definition at line 1673 of file mailparse.c.

int do_otfBeamSize ( char *  buf)

Definition at line 1627 of file mailparse.c.

int do_otfChannelMap ( char *  buf)

Definition at line 4558 of file otf.c.

int do_otfChans ( char *  buf)

Definition at line 1579 of file mailparse.c.

int do_otfColorChoice ( char *  buf)

Definition at line 1249 of file mailparse.c.

int do_otfCutOff ( char *  buf)

Definition at line 1060 of file mailparse.c.

int do_otfDisplayArray ( char *  buf)

Definition at line 1479 of file mailparse.c.

int do_otfFixBadCells ( char *  buf)

Definition at line 5836 of file otf.c.

int do_otfGamma ( char *  buf)

Definition at line 1356 of file mailparse.c.

int do_otfGridAllowVelShift ( char *  buf)

Definition at line 989 of file mailparse.c.

int do_otfGridCellSizeDec ( char *  buf)

Definition at line 851 of file mailparse.c.

int do_otfGridCellSizeRa ( char *  buf)

Definition at line 831 of file mailparse.c.

int do_otfGridChanCompress ( char *  buf)

Definition at line 812 of file mailparse.c.

int do_otfGridCols ( char *  buf)

Definition at line 941 of file mailparse.c.

int do_otfGridDec ( char *  buf)

Definition at line 1025 of file mailparse.c.

int do_otfGridDump ( void  )

Definition at line 4059 of file otf.c.

int do_otfGridFreqres ( char *  buf)

Definition at line 925 of file mailparse.c.

int do_otfGridInit ( void  )

Definition at line 4257 of file otf.c.

int do_otfGridLoad ( char *  buf)

Definition at line 4100 of file otf.c.

int do_otfGridNoint ( char *  buf)

Definition at line 973 of file mailparse.c.

int do_otfGridRa ( char *  buf)

Definition at line 1005 of file mailparse.c.

int do_otfGridRestfreq ( char *  buf)

Definition at line 909 of file mailparse.c.

int do_otfGridRows ( char *  buf)

Definition at line 957 of file mailparse.c.

int do_otfGridScale ( char *  buf)

Definition at line 1384 of file mailparse.c.

int do_otfGridSizeDec ( char *  buf)

Definition at line 890 of file mailparse.c.

int do_otfGridSizeRa ( char *  buf)

Definition at line 870 of file mailparse.c.

int do_otfGridVelocity ( char *  buf)

Definition at line 1044 of file mailparse.c.

int do_otfIFchoice ( char *  buf)

Definition at line 1172 of file mailparse.c.

int do_otfInterp ( void  )

Definition at line 1234 of file mailparse.c.

int do_otfListCells ( char *  buf)

Definition at line 5904 of file otf.c.

int do_otfLoadChoice ( char *  buf)

Definition at line 1146 of file mailparse.c.

int do_otfLockScale ( char *  buf)

Definition at line 780 of file mailparse.c.

int do_otfNumColors ( char *  buf)

Definition at line 1190 of file mailparse.c.

int do_otfRegular ( void  )

Definition at line 1073 of file otf.c.

int do_otfRmBadChan ( void  )

Definition at line 1208 of file otf.c.

int do_otfRmRMS ( char *  buf)

Definition at line 5394 of file otf.c.

int do_otfRms ( char *  buf)

Definition at line 1538 of file mailparse.c.

int do_otfSendPlot ( char *  buf)

Definition at line 3453 of file otf.c.

int do_otfSingleBin ( char *  buf)

Definition at line 1441 of file mailparse.c.

int do_otfSingleChan ( char *  buf)

Definition at line 1412 of file mailparse.c.

int do_otfSlice ( char *  buf)

Definition at line 5964 of file otf.c.

int do_otfSpectraDebug ( char *  buf)

Definition at line 1116 of file mailparse.c.

int do_otfSpectralSum ( char *  buf)

Definition at line 4791 of file otf.c.

int do_otfStatus ( void  )

Definition at line 6152 of file otf.c.

int do_otfTime ( char *  buf)

Definition at line 1559 of file mailparse.c.

int do_otfTsys ( char *  buf)

Definition at line 1516 of file mailparse.c.

int do_otfVelRun ( char *  buf)

Definition at line 3904 of file otf.c.

int do_printData ( char *  buf)

Definition at line 1053 of file dataserv.c.

int do_printIgnoreScans ( void  )

Definition at line 699 of file otf.c.

int do_printMapScans ( void  )

Definition at line 900 of file otf.c.

int do_quit ( void  )

Definition at line 384 of file mailparse.c.

int do_remRegions ( char *  buf)

Definition at line 309 of file region.c.

int do_saveIgnoreScans ( FILE *  fp)

Definition at line 659 of file otf.c.

int do_scanDone ( char *  buf)

Definition at line 306 of file mailparse.c.

int do_sendSpecComb ( void  )

Definition at line 235 of file spectra.c.

int do_setClip ( char *  buf)

Definition at line 473 of file mailparse.c.

int do_showRegion ( char *  buf)
int do_specCombClear ( void  )

Definition at line 194 of file line.c.

int do_spectraCombine ( char *  buf)

Definition at line 170 of file spectra.c.

int do_status ( void  )

Definition at line 354 of file mailparse.c.

int do_stop ( void  )

Definition at line 393 of file mailparse.c.

int do_tiltmeter ( char *  buf)

Definition at line 171 of file mailparse.c.

int do_toggleFixData ( char *  buf)

Definition at line 666 of file dataserv.c.

int do_toggleRegion ( void  )
int do_toggleRegionBold ( int  dir)
int do_toggleRegionLabels ( void  )
int do_xsync ( char *  buf)

Definition at line 401 of file mailparse.c.

int do_zapCell ( char *  buf)

Definition at line 5497 of file otf.c.

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

Definition at line 976 of file grace_dofit.c.

int doOtfGridRePaint ( void  )

Definition at line 1104 of file otf.c.

int doOtfGridReSize ( void  )

Definition at line 1186 of file otf.c.

int doSpecPlot ( struct DS_IMAGE_INFO *  im)

Definition at line 964 of file specplot.c.

int doSpecPlotWinEvent ( XEvent *  event,
unsigned int  mask 
)

Definition at line 404 of file specplot.c.

int doSpecWinRepaint ( void  )

Definition at line 211 of file specplot.c.

int doSpecWinReSize ( void  )

Definition at line 227 of file specplot.c.

int drawColorBar ( void  )

Definition at line 2108 of file otf.c.

int drawRegions ( void  )
int ds_delay ( double  dc)

Definition at line 1167 of file dataserv.c.

int dummieEventProc ( XEvent *  event)

Definition at line 388 of file dataserv.c.

int exitProc ( int  status)

Definition at line 371 of file dataserv.c.

struct OTF_GRID* fetchMapCell ( int  row,
int  col 
)

Definition at line 5584 of file otf.c.

void fgauss ( double  x,
float *  a,
float *  y,
float *  dyda 
)
int fillOtfGrid ( void  )

Definition at line 2149 of file otf.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 find_close_color ( Display *  dpy,
Colormap  cmap,
XColor *  exact_color,
char *  color 
)

Definition at line 981 of file xgr.c.

char** findFixedFonts ( Display *  dpy,
int *  num 
)

Definition at line 2351 of file xgr.c.

double findInterp ( double  v1,
double  v2,
int  indx,
int  max 
)

Definition at line 4771 of file otf.c.

int findNextCell ( int  row,
int  col,
struct OTF_GRID **  p2 
)

Definition at line 5614 of file otf.c.

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

Definition at line 239 of file grace_fit.c.

int fixVel ( struct HEADER *  head)

Definition at line 56 of file read_scan.c.

int flame ( double  a,
double  b,
double  x 
)

Definition at line 195 of file xgr.c.

int forceDrawGrid ( void  )

Definition at line 5935 of file otf.c.

int free_ivector ( int *  v,
int  nl 
)

Definition at line 90 of file gaussfit.c.

int free_matrix ( float **  m,
int  nrl,
int  nrh,
int  ncl 
)

Definition at line 100 of file gaussfit.c.

int free_vector ( float *  v,
int  nl 
)

Definition at line 80 of file gaussfit.c.

int freeDataPointers ( void  )

Definition at line 330 of file obsmodes.c.

int freeOtfMemory ( void  )

Definition at line 126 of file otf.c.

float gammln ( double  xx)

Definition at line 608 of file gaussfit.c.

float gammq ( double  a,
double  x 
)

Definition at line 488 of file gaussfit.c.

int gauss_fit ( float *  x,
float *  y,
float *  sig,
int  npts,
float *  a 
)

Definition at line 647 of file gaussfit.c.

int gaussj ( float  a[100+1][100+1],
int  n,
float **  b,
int  m 
)
int gcf ( float *  gammcf,
double  a,
double  x,
float *  gln 
)
int getBaselines ( int *  b)

Definition at line 3891 of file otf.c.

int getChanOTF ( void  )

Definition at line 4729 of file otf.c.

double getElapseTime ( void  )

Definition at line 134 of file etime.c.

int getNProcs ( void  )

Definition at line 153 of file dataserv.c.

int getNumSpectra ( double  datalen,
double  noint 
)
int getRequestedCell ( int  row,
int  col 
)

Definition at line 3482 of file otf.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 gser ( float *  gamser,
double  a,
double  x,
float *  gln 
)
int initGrid ( void  )

Definition at line 1812 of file otf.c.

int insertScan ( int  scn)

Definition at line 627 of file dataserv.c.

int insertVersion ( struct OTF_GRID *  g,
int  ver 
)

Definition at line 2387 of file otf.c.

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

Definition at line 46 of file interp.c.

int interpAndPlot ( struct XGR_ *  s)

Definition at line 4345 of file otf.c.

int interpAndWrite ( struct XGR_ *  s)

Definition at line 6299 of file otf.c.

int* ivector ( int  nl,
int  nh 
)

Definition at line 39 of file gaussfit.c.

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

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

Definition at line 208 of file region.c.

int loadFile ( double  ifNum)
int loadFlameScale ( struct XGR_ *  s,
int  cindx 
)

Definition at line 215 of file xgr.c.

int loadGrayScale ( struct XGR_ *  s)

Definition at line 168 of file xgr.c.

int loadPseudoScale ( struct XGR_ *  s)

Definition at line 279 of file xgr.c.

int lsqfit ( float  x[],
float  y[],
int  bdata,
int  ndata,
float  sig[],
int  mwt,
float *  a,
float *  b,
float *  siga,
float *  sigb,
float *  chi2,
float *  q 
)
int main ( int  argc,
char *  argv[] 
)

Definition at line 22 of file gpReadMouseTest.c.

int main_loop ( void  )

Definition at line 847 of file dataserv.c.

int mainFrameRepaint ( void  )

Definition at line 594 of file dataserv.c.

int markBaseDirty ( void  )

Definition at line 2641 of file otf.c.

int markDataDirty ( void  )

Definition at line 2621 of file otf.c.

float** matrix ( int  nrl,
int  nrh,
int  ncl,
int  nch 
)

Definition at line 57 of file gaussfit.c.

int modefield ( int  id,
char *  field 
)
int mrqcof ( float  x[],
float  y[],
float  sig[],
int  ndata,
float  a[],
int  ma,
int  lista[],
int  mfit,
float  alpha[100+1][100+1],
float  beta[],
float *  chisq,
void(*)(void)  funcs 
)
int mrqmin ( float  x[],
float  y[],
float  sig[],
int  ndata,
float  a[],
int  ma,
int  lista[],
int  mfit,
float  covar[100+1][100+1],
float  alpha[100+1][100+1],
float *  chisq,
void(*)(void)  funcs,
float *  alamda 
)
int myErrorHandler ( Display *  display,
XErrorEvent *  myerr 
)

Definition at line 333 of file dataserv.c.

int myIOErrorHandler ( Display *  display,
XErrorEvent *  myerr 
)

Definition at line 314 of file dataserv.c.

int normalizeAndCal ( void  )

Definition at line 2352 of file otf.c.

int nrerror ( char *  error_text)

Definition at line 9 of file gaussfit.c.

int otfGridDisplaySpec ( XEvent *  event,
unsigned int  mask 
)

Definition at line 3553 of file otf.c.

int otfGridInit ( int  cols,
int  rows,
int  noint 
)

Definition at line 167 of file otf.c.

int otfInit ( void  )

Definition at line 47 of file otf.c.

int otfInterp ( void  )

Definition at line 4282 of file otf.c.

int paintOtfGrid ( void  )

Definition at line 1844 of file otf.c.

int parseMail ( char *  buf)

Definition at line 245 of file mailparse.c.

int peekScan ( double  scan,
char *  filename,
int *  be,
int *  modeid,
struct HEADER *  head 
)
int placeBeamSize ( void  )

Definition at line 1755 of file otf.c.

int printData ( float *  f)

Definition at line 461 of file obsmodes.c.

int printKeySymHelp ( void  )

Definition at line 2891 of file otf.c.

int processEvent ( struct XGR_ *  s)

Definition at line 908 of file dataserv.c.

int putChanTemp ( int  c,
double  t 
)
int putHeader ( struct DS_IMAGE_INFO *  image)

Definition at line 819 of file specplot.c.

int putOtfGrid ( void  )

Definition at line 2095 of file otf.c.

int read_scan ( double  scan,
char *  filename,
float **  data,
struct HEADER *  head 
)
int readMail ( char *  buf,
int  len 
)

Definition at line 223 of file mailparse.c.

int recomputeBaseLines ( void  )

Definition at line 2662 of file otf.c.

int region_get_tok ( char *  edit)

Definition at line 79 of file region.c.

int remIgnoreScans ( void  )

Definition at line 630 of file otf.c.

int remMapScans ( void  )

Definition at line 871 of file otf.c.

int remRegions ( void  )

Definition at line 180 of file region.c.

int remScanHeaders ( void  )

Definition at line 224 of file gridmap.c.

int remSpecScans ( void  )

Definition at line 439 of file spectra.c.

int resendSpecData ( struct SPECDATA *  sd)

Definition at line 962 of file otf.c.

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

Definition at line 290 of file grace_fit.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 scaleData ( float *  data)

Definition at line 1691 of file otf.c.

int set_sock_callback ( int(*)(void)  call)
int setFrameFooter ( char *  msg,
int  lr 
)

Definition at line 2514 of file xgr.c.

int setInValid ( int  w)

Definition at line 2333 of file xgr.c.

int setMapCell ( int  row,
int  col,
struct OTF_GRID *  f 
)

Definition at line 5597 of file otf.c.

int setSourceName ( struct HEADER *  head)

Definition at line 234 of file obsmodes.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 shiftOtfChans ( double *  in,
int  n,
int  shift 
)

Definition at line 2416 of file otf.c.

int show_display ( void  )

Definition at line 680 of file dataserv.c.

int showDisplay ( void  )

Definition at line 690 of file dataserv.c.

void signalHandler ( void  )

Definition at line 351 of file dataserv.c.

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

Definition at line 133 of file grace_fit.c.

int spikeCheck ( char *  buf)

Definition at line 1291 of file otf.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.

int subtractPredictedRA ( float *  data)

Definition at line 1715 of file otf.c.

int synchronize ( int  v)

Definition at line 1036 of file dataserv.c.

int to_exec ( char *  buf)

Definition at line 658 of file dataserv.c.

int to_helper ( char *  buf)

Definition at line 125 of file dataserv.c.

int to_monitor ( char *  buf)

Definition at line 641 of file dataserv.c.

int to_rambo ( char *  buf)

Definition at line 650 of file dataserv.c.

int to_xgraphic ( char *  buf)

Definition at line 139 of file dataserv.c.

int usage ( char *  progname)

Print usages and exit();

Returns
1

Definition at line 1473 of file linuxpops.c.

float* vector ( int  nl,
int  nh 
)

Definition at line 21 of file gaussfit.c.

int verifyScanDone ( int  scn)

Definition at line 606 of file dataserv.c.

char* vxstrtok ( char *  string,
char *  last_token,
char *  delim 
)

Definition at line 655 of file mailparse.c.

int weightedAvergeCells ( struct OTF_GRID *  f,
struct OTF_GRID *  p1,
double  p1_avg,
struct OTF_GRID *  p2,
double  p2_avg,
int  try,
int  row,
int  col,
int *  count 
)

Definition at line 5732 of file otf.c.

void xfree ( void *  ptr)

Definition at line 122 of file grace_fit.c.

int xgr_checkForEvents ( void  )

Definition at line 2547 of file xgr.c.

int xgr_clearArea ( double  x,
double  y,
double  dx,
double  dy 
)
int xgr_clearScreen ( void  )

Definition at line 921 of file xgr.c.

int xgr_drawBin ( float *  xdata,
float *  ydata,
int  n,
int  color 
)

Definition at line 1455 of file xgr.c.

int xgr_drawBox ( double  x,
double  y,
double  x2,
double  y2,
int  color 
)
int xgr_drawCircle ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  x,
double  y,
double  w,
double  h,
int  color,
int  size 
)
int xgr_drawFillBox ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  xl,
double  yt,
double  xr,
double  yb,
int  color 
)
int xgr_drawGrid ( double  f1b,
double  f1e,
double  f2b,
double  f2e,
int  n1,
int  n2,
int  dx,
int  dy,
int  tick,
int  label,
int  clr1,
int  clr2,
int  format 
)
int xgr_drawLabel ( char *  b1,
char *  b2,
char *  b3,
int  color 
)

Definition at line 2164 of file xgr.c.

int xgr_drawLine ( float *  xdata,
float *  ydata,
int  n,
int  color 
)

Definition at line 1124 of file xgr.c.

int xgr_drawLineDirect ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
float *  xdata,
float *  ydata,
int  n,
int  color 
)
int xgr_drawOn ( double  x,
double  y,
int  n,
double  xmin,
double  xmax,
char *  msg,
int  color,
int  f 
)
int xgr_drawPoint ( float *  xdata,
float *  ydata,
int  n,
double  xmin,
double  xmax,
char *  msg,
int  color,
int  f 
)
int xgr_drawPoints ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
float *  xdata,
float *  ydata,
int  n,
int  color 
)
int xgr_drawPosText ( double  x,
double  y,
char *  msg,
int  clr,
int  f 
)
int xgr_drawRectangle ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  xl,
double  yt,
double  xr,
double  yb,
int  color,
int  bold 
)
int xgr_drawText ( double  x,
double  y,
char *  msg,
int  clr,
int  f 
)
int xgr_drawTextClear ( double  x,
double  y,
char *  msg,
int  clr,
int  f 
)
int xgr_drawTextInGrid ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  x,
double  y,
char *  msg,
int  color,
int  f 
)
int xgr_eventProc ( XEvent *  event,
Window  window,
unsigned int  mask 
)

Definition at line 762 of file xgr.c.

int xgr_findWindow ( Display *  dpy,
Window  win,
struct WINDOW **  w 
)

Definition at line 602 of file xgr.c.

int xgr_freeWindows ( struct XGR_ *  s)

Definition at line 348 of file xgr.c.

struct WINDOW* xgr_getWin ( Window  win)

Definition at line 826 of file xgr.c.

int xgr_graphInit ( struct XGR_ *  s)

Definition at line 71 of file xgr.c.

int xgr_hardCopy ( char *  win,
int  land,
int  rev,
char *  file 
)

Definition at line 851 of file xgr.c.

int xgr_makeGif ( char *  win,
char *  file 
)

Definition at line 887 of file xgr.c.

int xgr_mapUnmapWindow ( char *  name,
int  map 
)

Definition at line 568 of file xgr.c.

int xgr_pixmapToWindow ( char *  name)

Definition at line 530 of file xgr.c.

int xgr_putXimage ( char *  win_name,
double  fx,
double  fy,
int  w,
int  h,
unsigned char *  data 
)
int xgr_rePaintProc ( Window  window)

Definition at line 794 of file xgr.c.

int xgr_reSizeProc ( Window  window,
int  width,
int  height 
)

Definition at line 698 of file xgr.c.

int xgr_setBox ( double  x,
double  y,
double  dx,
double  dy 
)
int xgr_setColorChoice ( int  c)

Definition at line 106 of file xgr.c.

int xgr_setCurWindow ( int  win,
int  which 
)

Definition at line 483 of file xgr.c.

int xgr_setFont ( struct XGR_ *  s,
int  f 
)

Definition at line 2294 of file xgr.c.

int xgr_setNumColors ( int  n)

Definition at line 93 of file xgr.c.

int xgr_setWindowSize ( char *  name,
double  x,
double  y 
)
int zeroWorkArray ( void  )

Definition at line 2328 of file otf.c.