ocssw  1.0
/disk01/web/ocssw/build/src/auto_qc/l1stat_chk/l1stat_proto.h (r8102/r2592)
Go to the documentation of this file.
00001 #ifndef STATPROTO_H
00002 #define STATPROTO_H
00003 
00004 extern int32 read_cntldata
00005     PROTO((char *control_file, char *fsttim, cntl1_str *gn1, 
00006                 cntl1_str *gn2, cntl1_str *zero, cntl2_str *l1hicnt, 
00007                 cntl2_str *l1locnt, float32 *nav_thresh1, 
00008                 float32 *nav_thresh2, float32 *l1tilt_thresh, 
00009                 float32 *pct_noise_thresh, float32 *pct_encrypt_thresh, 
00010                 thr_ctl_def *thr_ctl, int16 *rpt_negtim));
00011 
00012 extern int32 l1file
00013     PROTO((int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum));
00014 
00015 extern int32 chk_gn
00016     PROTO((int32 sdfid, cntl1_str *gn1, cntl1_str *gn2, int16 dtynum,
00017         int32 nsamps, int32 nscans));
00018 
00019 extern int32 chk_zero
00020     PROTO((int32 sdfid, cntl1_str *zero_str, int32 nscans, int32 nsamp));
00021 
00022 extern void stat_exit
00023     PROTO(( int status ));
00024 
00025 extern int32 rdattr
00026     PROTO((int32 sdfid, char *attr_name, void *buf));
00027 
00028 extern int32 rdslice
00029     PROTO((int32 sdfid, char *name, int32 *start, int32 *edge, void *buf));
00030 
00031 extern int32 chk_count
00032     PROTO((int32 sdfid, int32 nscans, int32 nsamp, int16 dtynum, 
00033           cntl2_str *l1hicnt, cntl2_str *l1locnt, int *spike_cnt, 
00034           float *line_sd ));
00035 
00036 extern void get_hicnt
00037     PROTO((int32 nrec, int32 nsamp, int32 nbands, int16 *databuf,
00038                 cntl2_str *l1hicnt, int32 *hicnt));
00039 
00040 extern void get_lowcnt
00041     PROTO((int32 nrec, int32 nsamp, int32 nbands, int16 *databuf,
00042                 cntl2_str *l1hicnt, int32 *lowcnt));
00043 
00044 extern int32 chk_nav
00045     PROTO((int32 sdfid, int32 nscans, float32 nav_thresh1, 
00046         float32 nav_thresh2, int32 ntilts, int16 tilt_ranges[20][2],
00047         int16 tilt_flags[20], int16 dtynum, int16 rpt_negtim ));
00048 
00049 extern int32 chk_tilt
00050     PROTO((int32 sdfid, int16 dtynum, float32 l1tilt_thresh,
00051         int32 *ntilts, int16 tilt_ranges[20][2], int16 tilt_flags[20]));
00052 
00053 extern int geovex_(float32 *orb_vec, float32 *sen_mat, float32 *scan_ell,
00054         float32 *sun_ref, float32 *v0);
00055 
00056 extern void ck_trng( char * );
00057 
00058 extern void anal_noise( int32, int32, int32, int32, int32, int16 *, int *, 
00059                   float *, int32_t *, int32_t * );
00060 
00061 extern void rpt_noise( int32, int16, int32, int32,int *, float *, 
00062      float, float );
00063 
00064 extern void chk_inst_ana( int32, int32, thr_ctl_def );
00065 
00066 extern void chk_gainv( int32, int16, int32, thr_ctl_def );
00067 
00068 extern void chk_tdiv( int32, int16, int32, thr_ctl_def );
00069 #endif /* STATPROTO_H */