-
Notifications
You must be signed in to change notification settings - Fork 1
/
new_par_lims.m
61 lines (58 loc) · 1.43 KB
/
new_par_lims.m
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 Low-energy cutoff';
'NRTL High-energy cutoff';
'Decker Phase';
'Ramp Phase';
'S10 Low-energy cutoff';
'S10 High-energy cutoff';
'S20 Low-energy cutoff';
'S20 High-energy cutoff';
'S20 Beta';
'YAG Dispersion';
'YAG 2nd Order Dispersion';
'Energy Offset';};
% Lower limit on params
Low_limit = [4e-3;
4e-4;
1.8e10;
-0.3;
0.02;
83;
-0.04;
0.02;
-25;
-5;
-0.07;
0.025;
-0.04;
0.02;
2;
90;
-300;
-0.01;];
% Higher limit on params
High_limit= [10e-3;
12e-4;
2.6e10;
0.1;
0.045;
93;
-0.02;
0.04;
-15;
+5;
-0.025;
0.05;
-0.02;
0.04;
8;
150;
2000;
0.01;];
Cent=(High_limit+Low_limit)/2;
Diff=High_limit-Low_limit;