-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnewer_par_lims.m
More file actions
67 lines (62 loc) · 1.52 KB
/
newer_par_lims.m
File metadata and controls
67 lines (62 loc) · 1.52 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
62
63
64
65
66
67
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 = [5e-3;
6e-4;
1.7e10;
-0.3;
0.03;
87;
-0.04;
0.02;
-25;
-5;
-0.05;
0.025;
-0.04;
0.02;
3.5;
100;
-300;
-0.01;];
% Higher limit on params
High_limit= [10e-3;
12e-4;
2.3e10;
0.1;
0.045;
93;
-0.02;
0.04;
-18;
+5;
-0.025;
0.05;
-0.02;
0.04;
6.5;
135;
2000;
0.01;];
Cent=(High_limit+Low_limit)/2;
Diff=High_limit-Low_limit;
nPar = 18;
if length(par_name) ~= nPar
error('Update number of parameters');
end