| Last change
 on this file since 3809 was             3789, checked in by ansari, 15 years ago | 
        
          | 
Corrections diverses, Reza 27/06/2010
 | 
        
          | File size:
            1.2 KB | 
      
      
| Line |  | 
|---|
| 1 | /*  ------------------------ Projet BAORadio -------------------- | 
|---|
| 2 | Estimation et soustraction d'avant plan radio | 
|---|
| 3 | R. Ansari , C. Magneville - Juin 2010 | 
|---|
| 4 | ---------------------------------------------------------------  */ | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef FGNDSUB_SEEN | 
|---|
| 7 | #define FGNDSUB_SEEN | 
|---|
| 8 |  | 
|---|
| 9 | #include "machdefs.h"      // SOPHYA .h | 
|---|
| 10 | #include "sopnamsp.h"      // SOPHYA .h | 
|---|
| 11 | #include <math.h> | 
|---|
| 12 | #include <iostream> | 
|---|
| 13 | #include <vector> | 
|---|
| 14 | #include <string> | 
|---|
| 15 |  | 
|---|
| 16 | #include "tarray.h" | 
|---|
| 17 | #include "vector3d.h" | 
|---|
| 18 | #include "lobe.h" | 
|---|
| 19 | #include "mdish.h" | 
|---|
| 20 |  | 
|---|
| 21 | #ifndef TF | 
|---|
| 22 | #define TF r_4 | 
|---|
| 23 | #endif | 
|---|
| 24 |  | 
|---|
| 25 | class ForegroundCleaner { | 
|---|
| 26 | public: | 
|---|
| 27 | ForegroundCleaner(Four2DResponse& arrep, Four2DResponse& tbeam, TArray< TF >& skycube); | 
|---|
| 28 | void BeamCorrections(); | 
|---|
| 29 | int CleanNegatives(TF seuil=1.e-6); | 
|---|
| 30 | int CleanPointSources(double nsigmas=5.); | 
|---|
| 31 | TArray< TF > extractLSSCube(TArray< TF >& synctemp, TArray< TF >& specidx); | 
|---|
| 32 |  | 
|---|
| 33 | Four2DResponse& arrep_;   // Array/Instrument beam response | 
|---|
| 34 | Four2DResponse& tbeam_;    // Target beam to which would be corrected using BeamCorrections() | 
|---|
| 35 | TArray< TF > skycube_; | 
|---|
| 36 | double dx_, dy_;   // taille des pixels (radians) de skycube | 
|---|
| 37 | double freq0_, dfreq_;    // 1ere frequence et bin en frequence de skycube_; | 
|---|
| 38 |  | 
|---|
| 39 | }; | 
|---|
| 40 |  | 
|---|
| 41 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.