source: MML/trunk/machine/SOLEIL/Booster/applications/mesure_chro_191005.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 468 bytes
Line 
1data =[
2352.170 0.254 0.158
3352.180 0.248 0.154
4352.190 0.236 0.144
5352.200 0.228 0.144
6352.210 0.220 0.138
7352.220 0.214 0.134
8352.230 0.206 0.130
9352.240 0.200 0.124
10]
11alpha = 3e-2;
12delta = (data(:,1)-352.200)/352.200/alpha*100;
13nux = data(:,2);
14nuz = data(:,3);
15
16figure
17subplot(2,1,1)
18plot(delta,nux,'.b');
19xlabel('\delta (%)')
20ylabel('\nu_x')
21grid on
22title('tune shift with energy')
23subplot(2,1,2);
24plot(delta,nuz,'.r');
25grid
26xlabel('\delta (%)')
27ylabel('\nu_z')
Note: See TracBrowser for help on using the repository browser.