source:
Sophya/trunk/Cosmo/RadioBeam/lobe.h@
3787
Last change on this file since 3787 was 3787, checked in by , 15 years ago | |
---|---|
File size: 1010 bytes |
Line | |
---|---|
1 | /* ------------------------ Projet BAORadio -------------------- |
2 | Calcul de l'effet de lobe sur Carte2D (angleX,angleY) et |
3 | cube 3D (angleX,angleY) |
4 | R. Ansari , C. Magneville - Juin 2010 |
5 | --------------------------------------------------------------- */ |
6 | |
7 | #ifndef BEAMH_SEEN |
8 | #define BEAMH_SEEN |
9 | |
10 | #include "machdefs.h" // SOPHYA .h |
11 | #include "sopnamsp.h" // SOPHYA .h |
12 | #include <math.h> |
13 | #include <iostream> |
14 | #include <vector> |
15 | #include <string> |
16 | |
17 | #include "tarray.h" |
18 | #include "vector3d.h" |
19 | #include "mdish.h" |
20 | |
21 | #ifndef TF |
22 | #define TF r_4 |
23 | #endif |
24 | |
25 | class BeamEffect { |
26 | public: |
27 | BeamEffect(Four2DResponse& resp); |
28 | void ApplyLobeK2D(TArray< complex<TF> >& f2d, double dkx, double dky, double lambda=1.); |
29 | void ApplyLobe3D(TArray< TF >& a, double dx, double dy, double f0, double df); |
30 | |
31 | static TArray< TF > ReSample(TArray< TF >& a, double xfac, double yfac, double zfac); |
32 | static void AddNoise(TArray< TF >& a, double pixsignoise, bool fgcmsig=true); |
33 | |
34 | Four2DResponse& fresp_; |
35 | }; |
36 | |
37 | #endif |
Note:
See TracBrowser
for help on using the repository browser.