source: ETALON/SPESO/SPESO_Polariz/Analyse5Angle.m @ 735

Last change on this file since 735 was 735, checked in by hodnevuc, 7 years ago
File size: 1.1 KB
Line 
1clear all; close all; clc
2load DATAdel.mat
3BTIME =BID(:,1);
4XBPM = BID(:,2);
5QICT1 =BID(:,3);
6QICT2 =BID(:,4);
7RESEAU_POS =BID(:,19);
8DETECT_XPOS=BID(:,15);
9DETECT_ZPOS=BID(:,17);
10DETECT_SPOS=BID(:,13);
11DETECT_RS1 =BID(:,5);
12DETECT_RS2 =BID(:,7);
13DETECT_RS3 =BID(:,9);
14DETECT_RS4 =BID(:,11);
15LPM =BID(:,21);
16%7.36815e+5 to the end
17%7.36756e+5 to 7.36815e+5
18%7.3655e+5 to 7.36756e+5
19
20cut=(LPM==0)&(BTIME>7.3655e+5)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6);%&(RESEAU_POS<=8000);%
21
22%0.4 0.6
23%3.1 3.52
24% AMP=BASE;
25figure
26hold on
27plot(BTIME(cut),QICT1(cut),'.r')
28plot(BTIME(cut),QICT2(cut),'.k')
29set(gca,'fontsize',16)
30legend('QICT1', 'QICT2')
31grid on
32xlabel('Time')
33ylabel('Charge, [nC?]')
34
35%%How to deal with turns???
36figure
37hold on
38plot(BTIME(cut),DETECT_RS1(cut),'.r')%2
39plot(BTIME(cut),DETECT_RS2(cut),'.k')% 0 -3
40plot(BTIME(cut),DETECT_RS3(cut),'.b')
41plot(BTIME(cut),DETECT_RS4(cut),'.g')%-45
42
43
44figure
45hold on
46plot(BTIME(cut),DETECT_XPOS(cut),'.r')
47plot(BTIME(cut),DETECT_ZPOS(cut),'.k')
48plot(BTIME(cut),DETECT_SPOS(cut),'.b')
49
50figure
51hold on
52plot(BTIME(cut),DEL(cut),'.r')
53
Note: See TracBrowser for help on using the repository browser.