Blame view

src/idl/test_intensity_free_free.pro 1.21 KB
b5ccb706   Jean-Philippe Bernard   improved to fit p...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PRO test_intensity_free_free

;This should reproduce the plot of Fig 2 in Walls-Gabaud PASA 1998, 15 111
nu=range_gen(1000,[1.,1000.])*1.e9 & T=5.e3 & em=1.
I_ff=intensity_free_free(nu,T,em,I_halpha=I_halpha_R)
print,I_halpha_R
;    0.0750229

cgplot,alog10(nu/1.e9),alog10(I_ff/I_halpha_R),yr=[-2.,4],/ysty,xr=[0,3],/xsty,ytit='log(Tb [muK]/IHalpha [R])',xtit='log(nu [GHz])'

T=1.e4
I_ff=intensity_free_free(nu,T,em,I_halpha=I_halpha_R)
cgoplot,alog10(nu/1.e9),alog10(I_ff/I_halpha_R),linestyle=2

T=2.e4
I_ff=intensity_free_free(nu,T,em,I_halpha=I_halpha_R)
cgoplot,alog10(nu/1.e9),alog10(I_ff/I_halpha_R),linestyle=3

;==== test converion to MJy/sr or ergs
nu=range_gen(1000,[1.,1000.])*1.e9 & T=5.e3 & em=1.
I_ff_erg=intensity_free_free(nu,T,em,I_halpha=I_halpha_R,/erg)
print,I_halpha_R

cgplot,alog10(nu/1.e9),alog10(I_ff_erg/I_halpha_R),/ysty,xr=[0,3],/xsty,ytit='log(Tb [erg/s/m2/sr/Hz]/IHalpha [R])',xtit='log(nu [GHz])'
I_ff_mmjjyy=I_ff_erg*1.e20  ;in MJy/sr

I_ff_mjy=intensity_free_free(nu,T,em,I_halpha=I_halpha_R,/mjy)
cgplot,alog10(nu/1.e9),alog10(I_ff_mjy/I_halpha_R),/ysty,xr=[0,3],/xsty,ytit='log(Tb [MJy/sr]/IHalpha [R])',xtit='log(nu [GHz])'
cgoplot,alog10(nu/1.e9),alog10(I_ff_mmjjyy/I_halpha_R),color='red'

5f04fa07   Ilyes Choubani   general update
31
END