Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
line.c File Reference
#include "extern.h"
#include <gsl/gsl_statistics_double.h>

Go to the source code of this file.

Macros

#define USE_GSL   1
 
#define SIN_PAT   1
 
#define COS_PAT   2
 
#define TAN_PAT   3
 
#define SQR_PAT   4
 

Functions

int computeRms (float *y, int n, float *rms)
 
int do_specCombClear ()
 
int line_accum (struct LP_IMAGE_INFO *image)
 
int line_accumSelected ()
 
int line_determine_min_max (struct LP_IMAGE_INFO *image)
 
int processSpectra (struct LP_IMAGE_INFO *image)
 
int line_display_spectra (struct LP_IMAGE_INFO *image, int plot)
 
int removeFittedData (struct LP_IMAGE_INFO *image)
 
int linePlot (struct LP_IMAGE_INFO *image)
 
int do_F_Command ()
 
int do_S_Command ()
 
int setHWDC (struct LP_IMAGE_INFO *image)
 
int printRMS ()
 
int selfRej ()
 
int clearRMS ()
 
int line_showTable ()
 
int line_MinMax (struct LP_IMAGE_INFO *image)
 
int doMeasure ()
 
int cmdShowAverage ()
 
int showAverage (char *buf)
 
int doPshow ()
 
int removeBadChans ()
 
int doQshow ()
 
int do_psc ()
 
int doBzero ()
 
int doSpecInvert ()
 
int doOSB ()
 
int fillPattern ()
 
int lineConvert2LogPlot ()
 
int line_save_data (struct LP_IMAGE_INFO *h)
 
int deleteReport ()
 
int writeReport (char *buf)
 
int printReport ()
 
int isSpecFivePoint (struct HEADER *h)
 
int line_setScale ()
 
int doZero ()
 
int doTrec ()
 
int doYFactor ()
 
int doNsac ()
 
int doDedit ()
 

Variables

double workingTsys = 0.0
 
double workingTcal = 0.0
 
double workingTime = 0.0
 
float workingX [MAX_CHANS]
 
float workingY [MAX_CHANS]
 
char rmsResultsStr [256]
 

Macro Definition Documentation

#define COS_PAT   2

Definition at line 1878 of file line.c.

#define SIN_PAT   1

Definition at line 1877 of file line.c.

#define SQR_PAT   4

Definition at line 1880 of file line.c.

#define TAN_PAT   3

Definition at line 1879 of file line.c.

#define USE_GSL   1

Definition at line 77 of file line.c.

Function Documentation

int clearRMS ( void  )

Definition at line 986 of file line.c.

int cmdShowAverage ( void  )

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

Definition at line 2047 of file line.c.

int do_F_Command ( void  )

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

Definition at line 194 of file line.c.

int doBzero ( void  )

Definition at line 1734 of file line.c.

int doDedit ( void  )

Definition at line 2699 of file line.c.

int doMeasure ( void  )

Definition at line 1071 of file line.c.

int doNsac ( void  )

Definition at line 2483 of file line.c.

int doOSB ( void  )

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

Definition at line 1773 of file line.c.

int doTrec ( void  )

Definition at line 2276 of file line.c.

int doYFactor ( void  )

Definition at line 2402 of file line.c.

int doZero ( void  )

Definition at line 2230 of file line.c.

int fillPattern ( void  )

Definition at line 1882 of file line.c.

int isSpecFivePoint ( struct HEADER *  h)

Definition at line 2186 of file line.c.

int line_accum ( struct LP_IMAGE_INFO *  image)

Definition at line 212 of file line.c.

int line_accumSelected ( void  )

Definition at line 443 of file line.c.

int line_determine_min_max ( struct LP_IMAGE_INFO *  image)

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

Definition at line 694 of file line.c.

int line_display_spectra ( struct LP_IMAGE_INFO *  image,
int  plot 
)

Definition at line 743 of file line.c.

int line_MinMax ( struct LP_IMAGE_INFO *  image)

Definition at line 1038 of file line.c.

int line_save_data ( struct LP_IMAGE_INFO *  h)

Definition at line 2003 of file line.c.

int line_setScale ( void  )

Definition at line 2198 of file line.c.

int line_showTable ( void  )

Definition at line 997 of file line.c.

int lineConvert2LogPlot ( void  )

Definition at line 1971 of file line.c.

int linePlot ( struct LP_IMAGE_INFO *  image)

Definition at line 799 of file line.c.

int printReport ( void  )

Definition at line 2077 of file line.c.

int printRMS ( void  )

Definition at line 916 of file line.c.

int processSpectra ( struct LP_IMAGE_INFO *  image)

Definition at line 735 of file line.c.

int removeBadChans ( void  )

Definition at line 1382 of file line.c.

int removeFittedData ( struct LP_IMAGE_INFO *  image)

Definition at line 773 of file line.c.

int selfRej ( void  )

Definition at line 966 of file line.c.

int setHWDC ( struct LP_IMAGE_INFO *  image)

Definition at line 884 of file line.c.

int showAverage ( char *  buf)

Definition at line 1118 of file line.c.

int writeReport ( char *  buf)

Definition at line 2055 of file line.c.

Variable Documentation

char rmsResultsStr[256]

Definition at line 75 of file line.c.

double workingTcal = 0.0

Definition at line 70 of file line.c.

double workingTime = 0.0

Definition at line 71 of file line.c.

double workingTsys = 0.0

Definition at line 69 of file line.c.

float workingX[MAX_CHANS]

Definition at line 72 of file line.c.

float workingY[MAX_CHANS]

Definition at line 73 of file line.c.