|
Linuxpops
3.01.04
Spectral Anaysis Package for Single Dish Data
|
Go to the source code of this file.
Macros | |
| #define | MAX_DATA_CHANNELS 8192 |
Functions | |
| int | setVerbose () |
| int | validate (int which) |
| int | replot (int how) |
| int | doPaperSize () |
| int | makeFileName (char *fname, int pid) |
| int | suggestFileName () |
| int | printPlot () |
| int | xx () |
| int | tellOndata () |
| int | doSysCmd () |
| int | quitProg () |
| int | plotAccum () |
| int | printScan (struct HEADER *p, int nsave) |
| int | tellAll () |
| int | tellAllSfocus () |
| int | tellAllSpec5 () |
| int | backendMatch (struct HEADER *h) |
| int | listScans () |
| int | usage (char *name) |
| int | printTimeStamp () |
| int | about () |
| int | setPrompt () |
| int | main (int argc, argv) |
| int | pruneFile () |
| int | setSockets () |
| int | parseMouseValues (double x1, double x2, double y1, double y2) |
| int | getResponse (int which) |
| int | sendCancel () |
| int | doCCur () |
| int | _doCCur (char *msg) |
| int | doGetMapAngle () |
| int | doFCur () |
| int | _doFCur (char *msg) |
| int | doVCur () |
| int | _doVCur (char *msg) |
| int | doTCur () |
| int | _doTCur (char *msg) |
| int | doPageCmd () |
| int | doDumpScans () |
| int | doDumpGains () |
| int | doCheckFile () |
| int | doCheckSdd () |
| int | lp_fcmp (double first, double second, double delta) |
| int | doAutoScale () |
| int | setLogPlot () |
| int | setLinPlot () |
| double | restFreq (struct HEADER *h) |
| int | refreshPlot () |
| int | getPlotExtents () |
| int | sendXgraphic () |
| int | helperWait () |
| int | helperBinaryWait () |
| int | doSleep () |
| int | doPause () |
| int | showID () |
| int | doAttach () |
| int | doGReview () |
| int | doPGUI () |
| int | writeIRC_Record () |
| int | recordTests () |
| int | doSay () |
| int | doSelPrint () |
| int | doCodeView () |
| int | doTCSH () |
| int | doXwatch () |
| int | doLogWatch () |
| int | doDone () |
| int | doStop () |
| int | doVi () |
| int | doMv () |
| int | doCP () |
| int | doCopyRaw () |
| int | xdelay (int d) |
Variables | |
| struct DS_IMAGE_INFO | ds_image_info |
| tcflag_t | old_lflag |
| cc_t | old_vtime |
| struct termios | term |
| FILE * | fp |
| FILE * | errPrint_fp = NULL |
| struct ENVIRONMENT * | env |
| struct HEADER * | sa = NULL |
| struct XGRAPHIC_SEND | xsend |
| struct SOCK * | helper |
| struct SOCK * | monitorSock |
| struct SOCK * | xgraphic |
| struct SOCK * | dataserv |
| int | logging = 0 |
| int | last_valid = 0 |
| int | onlineversion = 0 |
| int | verboseLevel = 0 |
| int | doNotRemoveLockFile = 0 |
| int | max_calibrators = 0 |
| int | xfd = 0 |
| int | hfd = 0 |
| int | dfd = 0 |
| int | printNsave = 0 |
| int | site = 0 |
| int | lp_logging = 0 |
| int | lp_ppid = 0 |
| int | history_already_written = 0 |
| int | no_terminal = 0 |
| char | savedCaptureName [256] |
| #define MAX_DATA_CHANNELS 8192 |
Definition at line 61 of file linuxpops.c.
| int _doCCur | ( | char * | msg | ) |
Tell the xgraphics program to send the next mouse click
(internal version)
Definition at line 2411 of file linuxpops.c.
| int _doFCur | ( | char * | msg | ) |
Tell the xgraphics program to send the next mouse click
(internal version)
Definition at line 2493 of file linuxpops.c.
| int _doTCur | ( | char * | msg | ) |
Tell the xgraphics program to send the next mouse click
(internal version)
Definition at line 2580 of file linuxpops.c.
| int _doVCur | ( | char * | msg | ) |
Tell the xgraphics program to send the next mouse click
(internal version)
Definition at line 2537 of file linuxpops.c.
| int about | ( | void | ) |
| int backendMatch | ( | struct HEADER * | h | ) |
Check to see if passed header backend matches the criteria
| h | struct HEADER:: |
Definition at line 1033 of file linuxpops.c.
| int doAttach | ( | void | ) |
Definition at line 3117 of file linuxpops.c.
| int doAutoScale | ( | void | ) |
| int doCCur | ( | void | ) |
| int doCheckFile | ( | void | ) |
| int doCheckSdd | ( | void | ) |
| int doCodeView | ( | void | ) |
Definition at line 3332 of file linuxpops.c.
| int doCopyRaw | ( | void | ) |
Definition at line 3523 of file linuxpops.c.
| int doCP | ( | void | ) |
Definition at line 3497 of file linuxpops.c.
| int doDone | ( | void | ) |
Definition at line 3430 of file linuxpops.c.
| int doDumpGains | ( | void | ) |
Execute the external program 'dumpscans' on Gains file
Definition at line 2655 of file linuxpops.c.
| int doDumpScans | ( | void | ) |
Execute the external program 'dumpscans' on data file
Definition at line 2628 of file linuxpops.c.
| int doFCur | ( | void | ) |
| int doGetMapAngle | ( | void | ) |
Tell the xgraphics program to send the map_angle
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 doGReview | ( | void | ) |
Definition at line 3138 of file linuxpops.c.
| int doLogWatch | ( | void | ) |
Definition at line 3405 of file linuxpops.c.
| int doMv | ( | void | ) |
Definition at line 3471 of file linuxpops.c.
| int doPageCmd | ( | void | ) |
Tell the xgraphics program to clear the display
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
Definition at line 3093 of file linuxpops.c.
| int doPGUI | ( | void | ) |
Definition at line 3148 of file linuxpops.c.
| int doSay | ( | void | ) |
Definition at line 3250 of file linuxpops.c.
| int doSelPrint | ( | void | ) |
Definition at line 3283 of file linuxpops.c.
| int doSleep | ( | void | ) |
| int doStop | ( | void | ) |
Definition at line 3439 of file linuxpops.c.
| int doSysCmd | ( | void | ) |
Perform an arbitrary system command
Definition at line 642 of file linuxpops.c.
| int doTCSH | ( | void | ) |
Definition at line 3374 of file linuxpops.c.
| int doTCur | ( | void | ) |
| int doVCur | ( | void | ) |
| int doVi | ( | void | ) |
Definition at line 3451 of file linuxpops.c.
| int doXwatch | ( | void | ) |
Definition at line 3382 of file linuxpops.c.
| int getPlotExtents | ( | void | ) |
Tell the xgraphics program to return plot extents of the display \returns 0
Definition at line 2896 of file linuxpops.c.
| int getResponse | ( | int | which | ) |
Get a response from XGRAPHIC
Will wait a bit on response from xgraphic
Definition at line 2287 of file linuxpops.c.
| int helperBinaryWait | ( | void | ) |
Definition at line 3020 of file linuxpops.c.
| int helperWait | ( | void | ) |
Definition at line 2959 of file linuxpops.c.
| int listScans | ( | void | ) |
List all scans that match the search criteria
Definition at line 1124 of file linuxpops.c.
| int lp_fcmp | ( | double | first, |
| double | second, | ||
| double | delta | ||
| ) |
Compare two doubles
Definition at line 2768 of file linuxpops.c.
| int main | ( | int | argc, |
| argv | |||
| ) |
Main function
Definition at line 1565 of file linuxpops.c.
| int makeFileName | ( | char * | fname, |
| int | pid | ||
| ) |
Definition at line 273 of file linuxpops.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
Definition at line 2154 of file linuxpops.c.
| int plotAccum | ( | void | ) |
| int printPlot | ( | void | ) |
Make a hardcopy of the current plot
possible params: 'capture' for a PDF file
Definition at line 385 of file linuxpops.c.
| int printScan | ( | struct HEADER * | p, |
| int | nsave | ||
| ) |
Print a one line recap of the selected scan
| p | struct HEADER:: |
| nsave | flag to use nsave vs scanno; |
Definition at line 725 of file linuxpops.c.
| int printTimeStamp | ( | void | ) |
| int pruneFile | ( | void | ) |
Make an artificial data file based on the search criteria
Definition at line 2045 of file linuxpops.c.
| int quitProg | ( | void | ) |
| int recordTests | ( | void | ) |
Definition at line 3212 of file linuxpops.c.
| int refreshPlot | ( | void | ) |
Tell the xgraphics program to replot the display \returns 0
Definition at line 2882 of file linuxpops.c.
| int replot | ( | int | how | ) |
replot the last plot
| how | i.e gui or postscript |
Definition at line 179 of file linuxpops.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.
Definition at line 2837 of file linuxpops.c.
| int sendCancel | ( | void | ) |
Definition at line 2386 of file linuxpops.c.
| int sendXgraphic | ( | void | ) |
Definition at line 2917 of file linuxpops.c.
| int setLinPlot | ( | void | ) |
| int setLogPlot | ( | void | ) |
| int setPrompt | ( | void | ) |
Set the prompt to reflect if we are in line, condar or OTF.
If in line, also show the 'holder' number
Definition at line 1532 of file linuxpops.c.
| int setSockets | ( | void | ) |
| int setVerbose | ( | void | ) |
Set the Verbose level of an interactive session.
Definition at line 117 of file linuxpops.c.
| int showID | ( | void | ) |
| int suggestFileName | ( | void | ) |
Definition at line 362 of file linuxpops.c.
| int tellAll | ( | void | ) |
| int tellAllSfocus | ( | void | ) |
Print listing of all Spec Focus scans in the datafile
Definition at line 960 of file linuxpops.c.
| int tellAllSpec5 | ( | void | ) |
Print listing of all Spec Five scans in the datafile
Definition at line 995 of file linuxpops.c.
| int tellOndata | ( | void | ) |
| int usage | ( | char * | name | ) |
| int validate | ( | int | which | ) |
Need to make this better
| which | last plotting mode |
Definition at line 164 of file linuxpops.c.
| int writeIRC_Record | ( | void | ) |
Definition at line 3158 of file linuxpops.c.
| int xdelay | ( | int | d | ) |
Definition at line 3559 of file linuxpops.c.
| int xx | ( | void | ) |
| struct SOCK * dataserv |
Definition at line 75 of file linuxpops.c.
| int dfd = 0 |
Definition at line 85 of file linuxpops.c.
| int doNotRemoveLockFile = 0 |
Definition at line 81 of file linuxpops.c.
| struct DS_IMAGE_INFO ds_image_info |
Definition at line 64 of file linuxpops.c.
| struct ENVIRONMENT* env |
Definition at line 71 of file linuxpops.c.
| FILE * errPrint_fp = NULL |
Definition at line 70 of file linuxpops.c.
| FILE* fp |
Definition at line 70 of file linuxpops.c.
| struct SOCK* helper |
Definition at line 75 of file linuxpops.c.
| int hfd = 0 |
Definition at line 84 of file linuxpops.c.
| int history_already_written = 0 |
Definition at line 90 of file linuxpops.c.
| int last_valid = 0 |
Definition at line 78 of file linuxpops.c.
| int logging = 0 |
Definition at line 77 of file linuxpops.c.
| int lp_logging = 0 |
Definition at line 88 of file linuxpops.c.
| int lp_ppid = 0 |
Definition at line 89 of file linuxpops.c.
| int max_calibrators = 0 |
Definition at line 82 of file linuxpops.c.
| struct SOCK * monitorSock |
Definition at line 75 of file linuxpops.c.
| int no_terminal = 0 |
Definition at line 91 of file linuxpops.c.
| tcflag_t old_lflag |
Definition at line 66 of file linuxpops.c.
| cc_t old_vtime |
Definition at line 67 of file linuxpops.c.
| int onlineversion = 0 |
Definition at line 79 of file linuxpops.c.
| int printNsave = 0 |
Definition at line 86 of file linuxpops.c.
| struct HEADER* sa = NULL |
Definition at line 72 of file linuxpops.c.
| char savedCaptureName[256] |
Definition at line 93 of file linuxpops.c.
| int site = 0 |
Definition at line 87 of file linuxpops.c.
| struct termios term |
Definition at line 68 of file linuxpops.c.
| int verboseLevel = 0 |
Definition at line 80 of file linuxpops.c.
| int xfd = 0 |
Definition at line 83 of file linuxpops.c.
| struct SOCK * xgraphic |
Definition at line 75 of file linuxpops.c.
| struct XGRAPHIC_SEND xsend |
Definition at line 73 of file linuxpops.c.