-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpar_lims_tcav.m
More file actions
61 lines (56 loc) · 1.34 KB
/
par_lims_tcav.m
File metadata and controls
61 lines (56 loc) · 1.34 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
par_name = {'Initial bunch length';
'Initial energy spread';
'Initial number of particles';
'Initial asymmetry';
'NRTL Compressor Amplitude';
'NRTL Compressor Phase';
'NRTL R56';
'NRTL T566';
'Decker Phase';
'Ramp Phase';
'S20 Low-energy cutoff';
'S20 High-energy cutoff';
'S20 Beta';
'YAG Dispersion';
'YAG 2nd Order Dispersion';
'Energy Offset';};
% Lower limit on params
Low_limit = [5e-3;
5e-4;
1.7e10;
-0.4;
0.039;
88;
0.58;
0.8;
-20;
-5;
-0.04;
0.02;
4.5;
80;
-1000;
-0.01;];
% Higher limit on params
High_limit= [9e-3;
11e-4;
2.0e10;
0.05;
0.049;
92;
0.63;
1.2;
-17;
+5;
-0.02;
0.04;
6.0;
160;
1000;
0.01;];
Cent=(High_limit+Low_limit)/2;
Diff=High_limit-Low_limit;
nPar = 16;
if length(par_name) ~= nPar
error('Update number of parameters');
end