source: Sophya/trunk/Cosmo/RadioBeam/fgndsub.h@ 3788

Last change on this file since 3788 was 3788, checked in by ansari, 15 years ago

Ajout classe de soustraction d'avant plans, Reza 25/06/2010

File size: 1.1 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
25class ForegroundCleaner {
26public:
27 ForegroundCleaner(Four2DResponse& arrep, Four2DResponse& tbeam, TArray< TF >& skycube);
28 void BeamCorrections();
29 int CleanPointSources(double nsigmas=5.);
30 TArray< TF > extractLSSCube(TArray< TF >& synctemp, TArray< TF >& specidx);
31
32 Four2DResponse& arrep_; // Array/Instrument beam response
33 Four2DResponse& tbeam_; // Target beam to which would be corrected using BeamCorrections()
34 TArray< TF > skycube_;
35 double dx_, dy_; // taille des pixels (radians) de skycube
36 double freq0_, dfreq_; // 1ere frequence et bin en frequence de skycube_;
37
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.