| [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 | 
 | 
|---|
 | 7 | openppf pknoise.ppf
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | setaxesatt 'minorticks font=helvetica,bold,16 autofontsize'
 | 
|---|
 | 10 | disp noiseD 'logy nsta' 
 | 
|---|
 | 11 | disp noiseD2 'same grey nsta'
 | 
|---|
 | 12 | disp noisemdf 'same orange nsta'
 | 
|---|
 | 13 | disp noisemds 'same red nsta'
 | 
|---|
 | 14 | disp noisemdsfp 'same yellow nsta'
 | 
|---|
 | 15 | disp noisemdsd7 'same gold nsta'
 | 
|---|
 | 16 | disp noisefcyl 'same blue nsta'
 | 
|---|
 | 17 | disp noisefcylP 'same skyblue nsta'
 | 
|---|
 | 18 | disp noise2cyl 'same forestgreen nsta'
 | 
|---|
 | 19 | disp noise2cylP 'same green nsta'
 | 
|---|
 | 20 | 
 | 
|---|
 | 21 | Rad2Deg = 180/3.141596
 | 
|---|
 | 22 | R2D2 = $Rad2Deg*$Rad2Deg
 | 
|---|
 | 23 | Tsys = 50 
 | 
|---|
 | 24 | Delnu = 1.e6
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | #  A z = 0.7
 | 
|---|
 | 27 | z = 0.7
 | 
|---|
 | 28 | c = 3.e5
 | 
|---|
 | 29 | H = 100 
 | 
|---|
 | 30 | Da = 2500 
 | 
|---|
 | 31 | nu21 = 1.42e9
 | 
|---|
 | 32 | nu = $nu21/(1+$z)
 | 
|---|
 | 33 | pi23 = 8.*Pi*Pi*Pi
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | Lambda = 0.357 
 | 
|---|
 | 36 | Lam2 = $Lambda*$Lambda 
 | 
|---|
 | 37 | 
 | 
|---|
 | 38 | Dx = 100
 | 
|---|
 | 39 | Dy = 100
 | 
|---|
 | 40 | 
 | 
|---|
 | 41 | defscript 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"
 | 
|---|
 | 55 | endscript 
 | 
|---|
 | 56 | 
 | 
|---|
 | 57 | Dx = 100
 | 
|---|
 | 58 | Dy = 100
 | 
|---|
 | 59 | calcul 
 | 
|---|
 | 60 | plot2d noiseD x/$Da val*$PNOISE nb>10 'line=solid,2 logy logx xylimits=0.002,0.8,1,1e5 grid cpts nsta notit' 
 | 
|---|
 | 61 | Dx = 200
 | 
|---|
 | 62 | Dy = 200
 | 
|---|
 | 63 | calcul 
 | 
|---|
 | 64 | plot2d noiseD2 x/$Da val*$PNOISE nb>10 'same line=solid,2  cpts grey nsta notit' 
 | 
|---|
 | 65 | Dx = 5*0.95
 | 
|---|
 | 66 | Dy = 5*0.95
 | 
|---|
 | 67 | calcul 
 | 
|---|
 | 68 | plot2d noisemdf x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts orange nsta notit' 
 | 
|---|
 | 69 | plot2d noisemds x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts red nsta notit'
 | 
|---|
 | 70 | Dx = 7.55*0.95
 | 
|---|
 | 71 | Dy = 7.5*0.95
 | 
|---|
 | 72 | calcul 
 | 
|---|
 | 73 | plot2d noisemdsd7 x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts siennared nsta notit' 
 | 
|---|
 | 74 | Dx = 12*0.9
 | 
|---|
 | 75 | Dy = 0.5*0.9
 | 
|---|
 | 76 | calcul 
 | 
|---|
 | 77 | plot2d noisefcyl x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts blue nsta notit' 
 | 
|---|
 | 78 | plot2d noisefcylP x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts skyblue nsta notit' 
 | 
|---|
 | 79 | Dx = 8*0.9
 | 
|---|
 | 80 | Dy = 0.5*0.9
 | 
|---|
 | 81 | calcul 
 | 
|---|
 | 82 | plot2d noise2cyl x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts forestgreen nsta notit' 
 | 
|---|
 | 83 | plot2d noise2cylP x/$Da val*$PNOISE nb>10 'same line=solid,2 cpts green nsta notit' 
 | 
|---|
 | 84 | 
 | 
|---|
 | 85 | set lines ( '100mDish' '200mDish' '400x5mDish' '63x5mDish' '63x7.5mDish'  '8Cyl12x96m' 'Perf8Cyl12x96m' )
 | 
|---|
 | 86 | set lines ( $lines 'Pitts2Cyl' 'PerfPitts2Cyl' ) 
 | 
|---|
 | 87 | set cols ( black grey  orange red siennared  blue skyblue forestgreen green )
 | 
|---|
 | 88 | textdrawer lines cols 'frame font=helvetica,bold,16' 
 | 
|---|
 | 89 | setaxelabels 'k (Mpc^-1) ' 'PNoise(k) mk^2 Mpc^3' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 90 | 
 | 
|---|
 | 91 | 
 | 
|---|
 | 92 | newwin
 | 
|---|
 | 93 | disp mfill 'h2disp=img colbr128 notit'
 | 
|---|
 | 94 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 95 | settitle ' u-v coverage , 400 x 5m Dishes - No Pointing' ' ' 'font=helvetica,bold,16' 
 | 
|---|
 | 96 | 
 | 
|---|
 | 97 | disp dish 'h2disp=img colbr128 notit'
 | 
|---|
 | 98 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 99 | settitle ' u-v coverage , 100 m Dish' ' ' 'font=helvetica,bold,16' 
 | 
|---|
 | 100 | 
 | 
|---|
 | 101 | disp msparsfp 'h2disp=img colbr128 notit'
 | 
|---|
 | 102 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 103 | settitle ' u-v coverage , 63 x 5m Dishes T-config - No Pointing' ' ' 'font=helvetica,bold,16' 
 | 
|---|
 | 104 | 
 | 
|---|
 | 105 | disp mspars 'h2disp=img colbr128 notit'
 | 
|---|
 | 106 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 107 | settitle ' u-v coverage , 63 x 5m Dishes T-config - Pointing ~Pi/4' ' ' 'font=helvetica,bold,16' 
 | 
|---|
 | 108 | 
 | 
|---|
 | 109 | disp mcylf 'h2disp=img colbr128 notit'
 | 
|---|
 | 110 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 111 | settitle ' u-v coverage , Filled Cylinder Array 8 Cyl 12mx96m ' ' ' 'font=helvetica,bold,16' 
 | 
|---|
 | 112 | 
 | 
|---|
 | 113 | disp mcylfP 'h2disp=img colbr128 notit'
 | 
|---|
 | 114 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 115 | settitle ' u-v coverage , Perfect Filled Cylinder Array 8 Cyl 12mx96m ' ' ' 'font=helvetica,bold,16' 
 | 
|---|
 | 116 | 
 | 
|---|
 | 117 | disp m2cyl 'h2disp=img colbr128 notit'
 | 
|---|
 | 118 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 119 | settitle ' u-v coverage , Pittsburgh 2 Cyl 16mx8m , dist=25m ' ' ' 'font=helvetica,bold,16' 
 | 
|---|
 | 120 | 
 | 
|---|
 | 121 | disp m2cylP 'h2disp=img colbr128 notit'
 | 
|---|
 | 122 | setaxelabels 'kx (Radian^-1)  k=1000 -> ~21 arcmin ' ' ky (Radian^-1) ' 'font=helvetica,bolditalic,16' 
 | 
|---|
 | 123 | settitle ' u-v coverage , Perfect-Pitts. 2 Cyl 16mx8m , dist=25m ' ' ' 'font=helvetica,bold,16' 
 | 
|---|