SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
mag_fft.h
Go to the documentation of this file.
1 /* $Id: mag_fft.h,v 1.7 1997/05/07 18:44:38 jeff Exp $ */
2 
3 #include "hdfi.h"
4 
5 #define FFTBIN 32 /* 32 FFT frequency bins */
6 #define MJ_FFT_CYC 5 /* Major frames per FFT cycle */
7 
8 struct MagFFTSet /* setkey=fG */
9 {
10  uint32 sctime_readout; /* 32 bit spacecraft readout time */
11  uint32 sctime_collection; /* 32 bit spacecraft collection time */
12 
13  uint32 QAC; /* number of missing frames in this cycle */
14 
15  uint16 fft_statbits[MJ_FFT_CYC]; /* bits 15-9 - unused (=0) */
16  /* bit 8 = Rg (ST5 bit 2) */
17  /* lsByte = ST6 */
18 
19  uint8 fft_val[10][FFTBIN];
20  /* first index = 0 -> X-axis FFT transform real output */
21  /* first index = 1 -> Y-axis FFT transform real output */
22  /* first index = 2 -> Z-axis FFT transform real output */
23  /* first index = 3 -> X-Y cross-spectra real output */
24  /* first index = 4 -> X-Y cross-spectra imaginary output */
25  /* first index = 5 -> X-Z cross-spectra real output */
26  /* first index = 6 -> X-Z cross-spectra imaginary output */
27  /* first index = 7 -> Y-Z cross-spectra real output */
28  /* first index = 8 -> Y-Z cross-spectra imaginary output */
29  /* first index = 9 -> magnitude FFT transform real output */
30 };
uint16 fft_statbits[MJ_FFT_CYC]
Definition: mag_fft.h:15
uint32 QAC
Definition: mag_fft.h:13
uint32 sctime_collection
Definition: mag_fft.h:11
#define FFTBIN
Definition: mag_fft.h:5
uint32 sctime_readout
Definition: mag_fft.h:10
uint8 fft_val[10][FFTBIN]
Definition: mag_fft.h:19
#define MJ_FFT_CYC
Definition: mag_fft.h:6
Definition: mag_fft.h:8