| 1 | /* Simulation de donnees mission, Eric Aubourg & Jacques Delabrouille, mai 1999 */ | 
|---|
| 2 |  | 
|---|
| 3 | /* Etat interne du simulateur */ | 
|---|
| 4 |  | 
|---|
| 5 |  | 
|---|
| 6 |  | 
|---|
| 7 | extern param_bolo      simParam; | 
|---|
| 8 | extern reglage_bolo        simReglage; | 
|---|
| 9 | extern double          overSpeed; | 
|---|
| 10 | //extern int             compressBlks; | 
|---|
| 11 | extern double  whiteNoise[6] ; // sigma, in W/Sqrt(Hz) | 
|---|
| 12 | extern double  bolfreq[6] ; // frequency (Hz) | 
|---|
| 13 | extern double  glitchFreq; // Hz | 
|---|
| 14 | extern double  glitchMaxAmpl; // W | 
|---|
| 15 | extern double  boloTimeCst;  // secondes... | 
|---|
| 16 | extern int     sst2Bars;     // 2 barrettes pour le SST ? | 
|---|
| 17 |  | 
|---|
| 18 | void SimBlocParam(tmtc* tt); | 
|---|
| 19 | void SimBlocReglage(tmtc* tt); | 
|---|
| 20 | void SimBlocBolo(tmtc* tt); | 
|---|
| 21 | void SimBlocBoloComp(tmtc* tt); | 
|---|
| 22 | void SimBloc1Per(tmtc* tt); | 
|---|
| 23 | void SimBlocGPS(tmtc* tt); | 
|---|
| 24 | void SimBlocSST(tmtc* tt); | 
|---|
| 25 | void SimBlocSSTComp(tmtc* tt); | 
|---|
| 26 |  | 
|---|
| 27 | void SSTSignal(float ra, float dec, float dra, float ddec, | 
|---|
| 28 | float ora, float odec, int* diodes, double secondes); | 
|---|
| 29 | float isStarInArray(float ra, float dec, float alow, float dlow, | 
|---|
| 30 | float a1, float d1,  float a2, float d2); // -1 = no, 0-1 : yes | 
|---|
| 31 |  | 
|---|
| 32 | void PerformScan(void); | 
|---|
| 33 |  | 
|---|
| 34 | void ReadSimulDC(void); | 
|---|