source: Sophya/trunk/Cosmo/RadioBeam/plpkn.pic@ 3756

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

Ajout des programmes de calcul de la sensibilite de l'interfero (plan(u,v), PNoise(k)) , Reza 28/04/2010

File size: 4.6 KB
RevLine 
[3756]1########################################################################
2### Script de trace de PNoise(k) et reponse dans le plan (u,v)
3### de l'interferometre a partir du fichier PPF produit par pknoise.cc
4### Fev - Avril 2010 , BAORadio/Reza
5########################################################################
6
7openppf pknoise.ppf
8
9setaxesatt 'minorticks font=helvetica,bold,16 autofontsize'
10disp noiseD 'logy nsta'
11disp noiseD2 'same grey nsta'
12disp noisemdf 'same orange nsta'
13disp noisemds 'same red nsta'
14disp noisemdsfp 'same yellow nsta'
15disp noisemdsd7 'same gold nsta'
16disp noisefcyl 'same blue nsta'
17disp noisefcylP 'same skyblue nsta'
18disp noise2cyl 'same forestgreen nsta'
19disp noise2cylP 'same green nsta'
20
21Rad2Deg = 180/3.141596
22R2D2 = $Rad2Deg*$Rad2Deg
23Tsys = 50
24Delnu = 1.e6
25
26# A z = 0.7
27z = 0.7
28c = 3.e5
29H = 100
30Da = 2500
31nu21 = 1.42e9
32nu = $nu21/(1+$z)
33pi23 = 8.*Pi*Pi*Pi
34
35Lambda = 0.357
36Lam2 = $Lambda*$Lambda
37
38Dx = 100
39Dy = 100
40
41defscript calcul
42 Dxol = $Dx/$Lambda
43 Dyol = $Dy/$Lambda
44
45 FOV = (1.2*1.2*$Lam2/$Dx/$Dy)
46 FOVDEG = $FOV*$R2D2
47 NPointing = 10000/$FOVDEG
48 tinteg = 365*86400/$NPointing
49 PNOISE = $Tsys*$Tsys/$tinteg/$Dxol/$Dyol
50 PNOISE = $PNOISE*$Da*$Da*$c/$H*(1+$z)/$nu
51# PNOISE = $PNOISE*$Da*$Da*$c/$H*(1+$z)/$nu/$pi23
52 PNOISE = $PNOISE*1.e6
53 echo " FOV = $FOV deg^2 NPointing= $NPointing"
54 echo " tinteg= $tinteg sec PNOISE= $PNOISE mK^2"
55endscript
56
57Dx = 100
58Dy = 100
59calcul
60plot2d noiseD x/$Da val*$PNOISE nb>10 'line=solid,2 logy logx xylimits=0.002,0.8,1,1e5 grid cpts nsta notit'
61Dx = 200
62Dy = 200
63calcul
64plot2d noiseD2 x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts grey nsta notit'
65Dx = 5*0.95
66Dy = 5*0.95
67calcul
68plot2d noisemdf x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts orange nsta notit'
69plot2d noisemds x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts red nsta notit'
70Dx = 7.55*0.95
71Dy = 7.5*0.95
72calcul
73plot2d noisemdsd7 x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts siennared nsta notit'
74Dx = 12*0.9
75Dy = 0.5*0.9
76calcul
77plot2d noisefcyl x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts blue nsta notit'
78plot2d noisefcylP x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts skyblue nsta notit'
79Dx = 8*0.9
80Dy = 0.5*0.9
81calcul
82plot2d noise2cyl x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts forestgreen nsta notit'
83plot2d noise2cylP x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts green nsta notit'
84
85set lines ( '100mDish' '200mDish' '400x5mDish' '63x5mDish' '63x7.5mDish' '8Cyl12x96m' 'Perf8Cyl12x96m' )
86set lines ( $lines 'Pitts2Cyl' 'PerfPitts2Cyl' )
87set cols ( black grey orange red siennared blue skyblue forestgreen green )
88textdrawer lines cols 'frame font=helvetica,bold,16'
89setaxelabels 'k (Mpc^-1) ' 'PNoise(k) mk^2 Mpc^3' 'font=helvetica,bolditalic,16'
90
91
92newwin
93disp mfill 'h2disp=img colbr128 notit'
94setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
95settitle ' u-v coverage , 400 x 5m Dishes - No Pointing' ' ' 'font=helvetica,bold,16'
96
97disp dish 'h2disp=img colbr128 notit'
98setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
99settitle ' u-v coverage , 100 m Dish' ' ' 'font=helvetica,bold,16'
100
101disp msparsfp 'h2disp=img colbr128 notit'
102setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
103settitle ' u-v coverage , 63 x 5m Dishes T-config - No Pointing' ' ' 'font=helvetica,bold,16'
104
105disp mspars 'h2disp=img colbr128 notit'
106setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
107settitle ' u-v coverage , 63 x 5m Dishes T-config - Pointing ~Pi/4' ' ' 'font=helvetica,bold,16'
108
109disp mcylf 'h2disp=img colbr128 notit'
110setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
111settitle ' u-v coverage , Filled Cylinder Array 8 Cyl 12mx96m ' ' ' 'font=helvetica,bold,16'
112
113disp mcylfP 'h2disp=img colbr128 notit'
114setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
115settitle ' u-v coverage , Perfect Filled Cylinder Array 8 Cyl 12mx96m ' ' ' 'font=helvetica,bold,16'
116
117disp m2cyl 'h2disp=img colbr128 notit'
118setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
119settitle ' u-v coverage , Pittsburgh 2 Cyl 16mx8m , dist=25m ' ' ' 'font=helvetica,bold,16'
120
121disp m2cylP 'h2disp=img colbr128 notit'
122setaxelabels 'kx (Radian^-1) k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16'
123settitle ' u-v coverage , Perfect-Pitts. 2 Cyl 16mx8m , dist=25m ' ' ' 'font=helvetica,bold,16'
Note: See TracBrowser for help on using the repository browser.