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

Go to the source code of this file.

Classes

struct  ALMA_BANDS
 

Macros

#define SMT_ELEVATION   (3.186)
 
#define KP_ELEVATION   (1.914)
 
#define D2R   (M_PI / 180.0)
 
#define MAX_ALMA_BANDS   (sizeof(alma_bands) / sizeof(struct ALMA_BANDS))
 
#define MAX_ATM_ELEMENTS   10000
 

Functions

int atm_atmosp_ (float *tamb, float *press, float *h0)
 
int atm_transm_ (float *mmwat, float *am, float *freqs, float *tems, float *tatms, float *tauo, float *tauwat, float *tautots, int *ier)
 
int loadAtmFromServer (char *which, double fmin, double fmax, double fstep, double pwv, double gtemp, double gpress, double altitude, double ymin)
 
float computeAtmophers (float elv)
 
int findMinMax (double *fmin, double *fmax)
 
int generateAtm (double fmin, double fmax, float mmwat, float tamb, float press, float elev)
 
int doATM ()
 

Variables

struct ALMA_BANDS alma_bands []
 
float xdata [MAX_ATM_ELEMENTS]
 
float ydata [MAX_ATM_ELEMENTS]
 
float tdata [MAX_ATM_ELEMENTS]
 
float odata [MAX_ATM_ELEMENTS]
 
float bdata [MAX_ATM_ELEMENTS]
 
int nAtm
 
double mmh2oAtm
 
double amAtm
 
double tambAtm
 
double pressAtm
 
double elevAtm
 
double fminAtm
 
double fmaxAtm
 
double fdeltaAtm
 
char siteAtm [256]
 

Macro Definition Documentation

#define D2R   (M_PI / 180.0)

Definition at line 63 of file atm.c.

#define KP_ELEVATION   (1.914)

Definition at line 61 of file atm.c.

#define MAX_ALMA_BANDS   (sizeof(alma_bands) / sizeof(struct ALMA_BANDS))

Definition at line 86 of file atm.c.

#define MAX_ATM_ELEMENTS   10000

Definition at line 88 of file atm.c.

#define SMT_ELEVATION   (3.186)

Definition at line 60 of file atm.c.

Function Documentation

int atm_atmosp_ ( float *  tamb,
float *  press,
float *  h0 
)
int atm_transm_ ( float *  mmwat,
float *  am,
float *  freqs,
float *  tems,
float *  tatms,
float *  tauo,
float *  tauwat,
float *  tautots,
int *  ier 
)
float computeAtmophers ( float  elv)

Definition at line 178 of file atm.c.

int doATM ( void  )

Definition at line 510 of file atm.c.

int findMinMax ( double *  fmin,
double *  fmax 
)

Definition at line 256 of file atm.c.

int generateAtm ( double  fmin,
double  fmax,
float  mmwat,
float  tamb,
float  press,
float  elev 
)

Definition at line 388 of file atm.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.

Variable Documentation

struct ALMA_BANDS alma_bands[]
Initial value:
= {
{ " Band-1", "light-coral", "behind", ALMA_BAND_1_LOWER, ALMA_BAND_1_UPPER },
{ " Band-2", "orange", "behind", ALMA_BAND_2_LOWER, ALMA_BAND_2_UPPER },
{ " Band-3", "yellow", "behind", ALMA_BAND_3_LOWER, ALMA_BAND_3_UPPER },
{ " Band-4", "light-green", "behind", ALMA_BAND_4_LOWER, ALMA_BAND_4_UPPER },
{ " Band-5", "light-blue", "behind", ALMA_BAND_5_LOWER, ALMA_BAND_5_UPPER },
{ " Band-6", "aquamarine", "behind", ALMA_BAND_6_LOWER, ALMA_BAND_6_UPPER },
{ " Band-7", "violet", "behind", ALMA_BAND_7_LOWER, ALMA_BAND_7_UPPER },
{ " Band-8", "light-cyan", "behind", ALMA_BAND_8_LOWER, ALMA_BAND_8_UPPER },
{ " Band-9", "light-magenta", "behind", ALMA_BAND_9_LOWER, ALMA_BAND_9_UPPER },
{ "Band-10", "coral", "behind", ALMA_BAND_10_LOWER, ALMA_BAND_10_UPPER }
}
#define ALMA_BAND_7_LOWER
Definition: alma.h:22
#define ALMA_BAND_6_LOWER
Definition: alma.h:19
#define ALMA_BAND_8_LOWER
Definition: alma.h:25
#define ALMA_BAND_10_UPPER
Definition: alma.h:32
#define ALMA_BAND_10_LOWER
Definition: alma.h:31
#define ALMA_BAND_8_UPPER
Definition: alma.h:26
#define ALMA_BAND_1_LOWER
Definition: alma.h:4
#define ALMA_BAND_1_UPPER
Definition: alma.h:5
#define ALMA_BAND_5_LOWER
Definition: alma.h:16
#define ALMA_BAND_6_UPPER
Definition: alma.h:20
#define ALMA_BAND_4_UPPER
Definition: alma.h:14
#define ALMA_BAND_4_LOWER
Definition: alma.h:13
#define ALMA_BAND_3_UPPER
Definition: alma.h:11
#define ALMA_BAND_2_UPPER
Definition: alma.h:8
#define ALMA_BAND_5_UPPER
Definition: alma.h:17
#define ALMA_BAND_2_LOWER
Definition: alma.h:7
#define ALMA_BAND_7_UPPER
Definition: alma.h:23
#define ALMA_BAND_9_LOWER
Definition: alma.h:28
#define ALMA_BAND_3_LOWER
Definition: alma.h:10
#define ALMA_BAND_9_UPPER
Definition: alma.h:29

Definition at line 73 of file atm.c.

double amAtm

Definition at line 97 of file atm.c.

float bdata[MAX_ATM_ELEMENTS]

Definition at line 94 of file atm.c.

double elevAtm

Definition at line 97 of file atm.c.

double fdeltaAtm

Definition at line 97 of file atm.c.

double fmaxAtm

Definition at line 97 of file atm.c.

double fminAtm

Definition at line 97 of file atm.c.

double mmh2oAtm

Definition at line 97 of file atm.c.

int nAtm

Definition at line 96 of file atm.c.

float odata[MAX_ATM_ELEMENTS]

Definition at line 93 of file atm.c.

double pressAtm

Definition at line 97 of file atm.c.

char siteAtm[256]

Definition at line 98 of file atm.c.

double tambAtm

Definition at line 97 of file atm.c.

float tdata[MAX_ATM_ELEMENTS]

Definition at line 92 of file atm.c.

float xdata[MAX_ATM_ELEMENTS]

Definition at line 90 of file atm.c.

float ydata[MAX_ATM_ELEMENTS]

Definition at line 91 of file atm.c.