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

Go to the source code of this file.

Classes

struct  SPEC_SCANS
 

Macros

#define TRUE   1
 
#define FALSE   0
 
#define N_INTEG_CHANS   10
 
#define ROW0   0.96
 
#define ROW1   0.92
 
#define ROW2   0.88
 
#define ROW3   0.84
 

Functions

int display_spectra (float xb, float xe, float yb, float ye, float *data, struct HEADER *head, int procSpec)
 
int do_spectraCombine (char *buf)
 
int do_sendSpecComb ()
 
int do_specCombClear ()
 
int combineData (float *xdata, float *yd, struct HEADER *head)
 
int remSpecScans ()
 
int addSpecScans (float s)
 
int checkSpecScans (float s)
 
int do_ignorePos (char *buf)
 
int putHeader (struct DS_IMAGE_INFO *image)
 
int display_image (float xb, float xe, float yb, float ye, struct DS_IMAGE_INFO *im)
 
int doSpecPlot (struct DS_IMAGE_INFO *im)
 
int doSpecWinRepaint ()
 
int doSpecWinReSize ()
 
int putChanTemp (int c, float t)
 
int doSpecPlotWinEvent (XEvent *event, unsigned int mask)
 

Variables

float startRes
 
float scanNum
 
float datamax
 
float datamin
 
float globalStart
 
float globalStop
 
float gainsScanNum
 
float * offdata01
 
float * gainsdata01
 
int datalen
 
int scan
 
int parallel
 
int lockScale
 
int fbScanDone
 
int aosScanDone
 
int thisIsaRefresh
 
char filenames [16][256]
 
char * filename_ctssource []
 
struct SPECTRA_DISPLAY_PARAMS sdp []
 
char * months []
 
int doTPprocess = 0
 
int doFsProcess = 0
 
int ignorePos = 0
 
int wasOn = 0
 
int spcIF = 0
 
int domarker = 0
 
int fitChan [2] = { 1, 2 }
 
double workingTsys = 0.0
 
float workingX [32768]
 
float workingY [32768]
 
struct DS_IMAGE_INFO sc_image * last_image =NULL
 
int zerodata = 0
 
struct SPEC_SCANS * spec_scans_head = 0
 

Macro Definition Documentation

#define FALSE   0

Definition at line 5 of file spectra.c.

#define N_INTEG_CHANS   10

Definition at line 7 of file spectra.c.

#define ROW0   0.96

Definition at line 9 of file spectra.c.

#define ROW1   0.92

Definition at line 10 of file spectra.c.

#define ROW2   0.88

Definition at line 11 of file spectra.c.

#define ROW3   0.84

Definition at line 12 of file spectra.c.

#define TRUE   1

Definition at line 4 of file spectra.c.

Function Documentation

int addSpecScans ( float  s)

Definition at line 457 of file spectra.c.

int checkSpecScans ( float  s)

Definition at line 494 of file spectra.c.

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

Definition at line 309 of file spectra.c.

int display_image ( float  xb,
float  xe,
float  yb,
float  ye,
struct DS_IMAGE_INFO *  im 
)

Definition at line 589 of file spectra.c.

int display_spectra ( float  xb,
float  xe,
float  yb,
float  ye,
float *  data,
struct HEADER *  head,
int  procSpec 
)

Definition at line 95 of file spectra.c.

int do_ignorePos ( char *  buf)

Definition at line 515 of file spectra.c.

int do_sendSpecComb ( void  )

Definition at line 235 of file spectra.c.

int do_specCombClear ( void  )

Definition at line 297 of file spectra.c.

int do_spectraCombine ( char *  buf)

Definition at line 170 of file spectra.c.

int doSpecPlot ( struct DS_IMAGE_INFO *  im)

Definition at line 670 of file spectra.c.

int doSpecPlotWinEvent ( XEvent *  event,
unsigned int  mask 
)

Definition at line 716 of file spectra.c.

int doSpecWinRepaint ( void  )

Definition at line 679 of file spectra.c.

int doSpecWinReSize ( void  )

Definition at line 695 of file spectra.c.

int putChanTemp ( int  c,
float  t 
)

Definition at line 706 of file spectra.c.

int putHeader ( struct DS_IMAGE_INFO *  image)

Definition at line 525 of file spectra.c.

int remSpecScans ( void  )

Definition at line 439 of file spectra.c.

Variable Documentation

int aosScanDone

Definition at line 33 of file mailparse.c.

int datalen

Definition at line 33 of file dataserv.c.

float datamax

Definition at line 44 of file dataserv.c.

float datamin

Definition at line 44 of file dataserv.c.

int doFsProcess = 0

Definition at line 33 of file spectra.c.

int domarker = 0

Definition at line 37 of file spectra.c.

int doTPprocess = 0

Definition at line 32 of file spectra.c.

int fbScanDone

Definition at line 32 of file mailparse.c.

char * filename_ctssource[]
char filenames[16][256]
int fitChan[2] = { 1, 2 }

Definition at line 38 of file spectra.c.

float * gainsdata01

Definition at line 95 of file dataserv.c.

float gainsScanNum
float globalStart

Definition at line 37 of file specdata.c.

float globalStop

Definition at line 22 of file specplot.c.

int ignorePos = 0

Definition at line 34 of file spectra.c.

struct DS_IMAGE_INFO sc_image* last_image =NULL

Definition at line 44 of file spectra.c.

int lockScale

Definition at line 31 of file xgr.c.

char* months[]
Initial value:
= { "Jan","Feb","Mar","Apr","May","Jun",
"Jul","Aug","Sep","Oct","Nov","Dec" }

Definition at line 28 of file spectra.c.

float * offdata01

Definition at line 86 of file dataserv.c.

int parallel
int scan
float scanNum

Definition at line 46 of file dataserv.c.

struct SPECTRA_DISPLAY_PARAMS sdp[]

Definition at line 84 of file obsmodes.c.

int spcIF = 0

Definition at line 36 of file spectra.c.

struct SPEC_SCANS* spec_scans_head = 0

Definition at line 92 of file spectra.c.

float startRes

Definition at line 18 of file spectra.c.

int thisIsaRefresh

Definition at line 36 of file dataserv.c.

int wasOn = 0

Definition at line 35 of file spectra.c.

double workingTsys = 0.0

Definition at line 40 of file spectra.c.

float workingX[32768]

Definition at line 41 of file spectra.c.

float workingY[32768]

Definition at line 42 of file spectra.c.

int zerodata = 0

Definition at line 86 of file spectra.c.