2012-05-22 13:09:48 -04:00
|
|
|
#ifndef COMMONS_H
|
|
|
|
#define COMMONS_H
|
|
|
|
|
2013-05-20 10:09:02 -04:00
|
|
|
#define NSMAX 1365
|
|
|
|
#define NTMAX 120
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
2012-09-25 12:04:38 -04:00
|
|
|
extern struct {
|
2012-10-16 19:32:15 -04:00
|
|
|
float ss[184*NSMAX]; //This is "common/jt9com/..." in fortran
|
2012-09-28 19:59:50 -04:00
|
|
|
float savg[NSMAX];
|
2013-05-20 10:09:02 -04:00
|
|
|
float c0[2*NTMAX*1500];
|
|
|
|
short int d2[NTMAX*12000];
|
2012-09-25 12:04:38 -04:00
|
|
|
int nutc; //UTC as integer, HHMM
|
2012-10-16 19:32:15 -04:00
|
|
|
int ndiskdat; //1 ==> data read from *.wav file
|
2012-09-25 16:26:12 -04:00
|
|
|
int ntrperiod; //TR period (seconds)
|
2012-10-19 15:26:07 -04:00
|
|
|
int nfqso; //User-selected QSO freq (kHz)
|
2012-09-25 12:04:38 -04:00
|
|
|
int newdat; //1 ==> new data, must do long FFT
|
2012-10-19 15:26:07 -04:00
|
|
|
int npts8; //npts for c0() array
|
2012-11-21 12:42:53 -05:00
|
|
|
int nfa; //Low decode limit (Hz)
|
|
|
|
int nfb; //High decode limit (Hz)
|
2012-09-25 12:04:38 -04:00
|
|
|
int ntol; //+/- decoding range around fQSO (Hz)
|
2012-07-04 12:27:57 -04:00
|
|
|
int kin;
|
2012-11-19 13:23:39 -05:00
|
|
|
int nzhsym;
|
2012-11-21 12:42:53 -05:00
|
|
|
int nsave;
|
|
|
|
int nagain;
|
|
|
|
int ndepth;
|
|
|
|
int nrxlog;
|
|
|
|
int nfsample;
|
|
|
|
char datetime[20];
|
2012-10-03 11:42:13 -04:00
|
|
|
} jt9com_;
|
2012-09-25 12:04:38 -04:00
|
|
|
|
2012-05-22 13:09:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // COMMONS_H
|