source: BAORadio/ParabolesAtNancay/calc_paon.tar/paon1.pic@ 684

Last change on this file since 684 was 676, checked in by campagne, 14 years ago
File size: 2.7 KB
Line 
1###############################################################
2### Estimations pour PAON-1 (Interfero de test a Nancay ) ####
3####################### Avril 2012 ##########################
4###############################################################
5
6setaxesatt 'font=helvetica,bold,16 fixedfontsize minorticks'
7
8##### 1ere partie ##############
9# Trace des radio sources a partir du catalog NVSS
10readfits nvss.fits
11plot2dw nvss C_RAJ2000/15. C_DEJ2000 S1_4 S1_4>5000 'nsta orange marker=circle,7'
12plot2dw nvss C_RAJ2000/15. C_DEJ2000 S1_4 S1_4>10000 'nsta orange marker=fcircle,9 same'
13plot2dw nvss C_RAJ2000/15. C_DEJ2000 S1_4 S1_4>20000 'nsta red marker=fcircle,11 same'
14plot2dw nvss C_RAJ2000/15. C_DEJ2000 S1_4 S1_4>50000 'nsta blueviolet marker=fcircle,13 same'
15
16settitle 'NVSS radio sources (flux>5 Jy)' ' ' 'font=helvetica,bold,16'
17setaxelabels 'RA (alpha) - hours' 'DEC (delta)' 'font=helvetica,bold,16'
18
19set lines ( 'flux > 10 Jy' 'flux > 20 Jy' 'flux > 50 Jy' )
20set cols ( orange red blueviolet )
21textdrawer lines cols 'font=helvetica,bold,16 frame'
22addtext 20. 62. 'CasA ~500 Jy' 'font=helvetica,bold,14 blueviolet'
23addtext 17. 36. 'CygA ~800 Jy' 'font=helvetica,bold,14 blueviolet'
24
25# Latitude 47 degres
26addline 0 44 24 44 'line=solid,1'
27addline 0 50 24 50 'line=solid,1'
28
29addline 0 67 24 67 'line=dotted,1'
30addline 0 27 24 27 'line=dotted,1'
31
32w2ps
33w2eps nvss_bright.eps
34
35#############################################
36########## 2eme partie ##############
37### Calcul bruit et franges d'interference
38#############################################
39# Calcul bruit
40WDISH = 3.
41lambda = 0.21
42# Vitesse angulaire Omega en degre/second = 15./3600.*cos(delta)
43OMEGA = cos(Pi*47./180)*15./3600.
44set ANG $OMEGA*x
45set T (2*M_PI*$WDISH/$lambda*sin(M_PI*$ANG/180.))
46set XX ((fabs($T)<1e-8)?1.:(sin($T)/$T))
47func $XX*$XX -1800 1800 240
48
49# Niveau de bruit en Jy
50TSYS = 100
51k_B = 1.38e-23
52A = 0.75*Pi*$WDISH*$WDISH/4.
53DNU = 5.e6
54TINT = 15
55NOISE = 2*$k_B*$TSYS/$A/sqrt($DNU*$TINT)*1.e26
56echo 'NoiseLevel: ' $NOISE 'Jansky '
57
58
59##### Calcul N-tuple avec Visib(temps)
60
61# Executer pour FLXSRC=500, NOISE=10
62del visi
63c++execfrf paon1.cc
64mv visi visi500
65# Executer pour FLXSRC=20, NOISE=5 (4-5 d'integrations/transits)
66del visi
67c++execfrf paon1.cc
68
69mv visi visi20
70
71#### Traces
72set titres ( '500 Jy - single transit (Noise=10 Jy)' '20 Jy - 4 transits (Noise=3 Jy)' )
73set O ( visi500 visi20 )
74for i 0:2
75 newwin 1 2
76 plot2de $O[i] time vI 0. err*1.4 1 'marker=fcircle,5 cpts notit nsta'
77 settitle "$titres[i]" ' ' 'font=helvetica,bold,16'
78 setaxelabels 'Time (s)' 'Vis=I - Jy ' ' font=helvetica,bolditalic,14'
79 plot2de $O[i] time vre 0. err 1 'marker=fcircle,5 red cpts notit nsta'
80 setaxelabels 'Time (s)' 'Real[Vis] - Jy ' ' font=helvetica,bolditalic,14'
81 w2ps
82end
83
84
85
Note: See TracBrowser for help on using the repository browser.