1 | ############ |
---|
2 | #histogrammes moyennées |
---|
3 | #tup ssmis ch15, ch16 et amsua ch2 |
---|
4 | |
---|
5 | |
---|
6 | tupp_ta260=np.reshape(tuppgrid_ta260,-1) |
---|
7 | mmp_ta260=np.reshape(mpgrid_t60,-1) |
---|
8 | |
---|
9 | iant = (mmp_ta260 >= 0.5) |
---|
10 | tupp_ta260ant=tupp_ta260[iant] |
---|
11 | |
---|
12 | bins=arange(2,14,0.2) |
---|
13 | h=plt.hist(tupp_ta260ant, bins=bins,histtype='bar',rwidth=0.2, |
---|
14 | label='hist',normed='True',color='blue') |
---|
15 | plt.title('histogramme tup moyenne cont amsua ch2') |
---|
16 | #plt.show() |
---|
17 | plt.savefig('hist_tup_moyenne_cont_amsua_ch2.png') |
---|
18 | close() |
---|
19 | |
---|
20 | #ssmis |
---|
21 | |
---|
22 | tupp_t1660=np.reshape(tuppgrid_t1660,-1) |
---|
23 | tupp_t1660ant=tupp_t1660[iant] |
---|
24 | |
---|
25 | bins=arange(7,24,0.2) |
---|
26 | h=plt.hist(tupp_t1660ant, bins=bins,histtype='bar',rwidth=0.2, |
---|
27 | label='hist',normed='True',color='blue') |
---|
28 | plt.title('histogramme tup moyenne cont ssmis ch16') |
---|
29 | #plt.show() |
---|
30 | plt.savefig('hist_tup_moyenne_cont_ssmis_ch16.png') |
---|
31 | close() |
---|
32 | |
---|
33 | ######################## |
---|
34 | #hist pas moyennées |
---|
35 | #amsua ch2 |
---|
36 | |
---|
37 | iant60v = (mm_t60 >= 0.5) |
---|
38 | tup_ta2ant=tup_ta260[iant60v] |
---|
39 | |
---|
40 | bins=arange(0,24,0.2) |
---|
41 | h=plt.hist(tup_ta2ant, bins=bins,histtype='bar',rwidth=0.2, |
---|
42 | label='hist',normed='True',color='blue') |
---|
43 | plt.title('histogramme tup cont amsua ch2') |
---|
44 | #plt.show() |
---|
45 | plt.savefig('hist_tup_cont_amsua_ch2.png') |
---|
46 | close() |
---|
47 | |
---|
48 | #ssmis ch16 |
---|
49 | |
---|
50 | iant60v = (mm_t1660 >= 0.5) |
---|
51 | tup_t16ant=tup_t1660[iant60v] |
---|
52 | |
---|
53 | bins=arange(7,30,0.2) |
---|
54 | h=plt.hist(tup_t16ant, bins=bins,histtype='bar',rwidth=0.2, |
---|
55 | label='hist',normed='True',color='blue') |
---|
56 | plt.title('histogramme tup cont ssmis ch16') |
---|
57 | #plt.show() |
---|
58 | plt.savefig('hist_tup_cont_ssmis_ch16.png') |
---|
59 | close() |
---|