|
9 | 9 | %-------------------------------------------------------------------------- |
10 | 10 | % This file is part of StatSTEM |
11 | 11 | % |
12 | | -% Copyright: 2018, EMAT, University of Antwerp |
| 12 | +% Copyright: 2020, EMAT, University of Antwerp |
13 | 13 | % Author: K. H. W. van den Bos, J. Fatermans |
14 | 14 | % License: Open Source under GPLv3 |
15 | 15 | % Contact: sandra.vanaert@uantwerpen.be |
|
18 | 18 | panel = struct; |
19 | 19 |
|
20 | 20 | % Start by defining the name |
21 | | -panel.name = 'Fitting options'; |
| 21 | +panel.name = 'Options'; |
22 | 22 |
|
23 | 23 | panel.row = struct; |
24 | 24 | %% Define buttons, etc row per row (don't put too much buttons per row for size limitations) |
|
28 | 28 | panel.row(1).option1 = textfield('name','Max. # columns:','width',100); |
29 | 29 |
|
30 | 30 | panel.row(1).option2 = editfield('name','','width',62,'enable',1,... |
31 | | - 'tooltip','Define the maximum number of columns in the image','input','input','equalTo','input.MaxColumns'); |
| 31 | + 'input','input','equalTo','input.MaxColumns'); |
32 | 32 |
|
33 | 33 |
|
34 | | -panel.row(2).option1 = textfield('name','# Test points:','width',100); |
| 34 | +% panel.row(2).option1 = textfield('name','# Test points:','width',100); |
| 35 | +% |
| 36 | +% panel.row(2).option2 = editfield('name','','width',62,'enable',1,... |
| 37 | +% 'tooltip','Define the number of initial random starting coordinates per model evaluation','input','input','equalTo','input.testpoints'); |
35 | 38 |
|
36 | | -panel.row(2).option2 = editfield('name','','width',62,'enable',1,... |
37 | | - 'tooltip','Define the number of initial random starting coordinates per model evaluation','input','input','equalTo','input.testpoints'); |
38 | 39 |
|
| 40 | +panel.row(2).option1 = textfield('name','Min. background:','width',100); |
| 41 | + |
| 42 | +panel.row(2).option2 = editfield('name','','width',62,'enable',1,... |
| 43 | + 'input','input','equalTo','input.zetamin'); |
39 | 44 |
|
40 | | -panel.row(3).option1 = textfield('name','Min. x-coord.:','width',100); |
41 | 45 |
|
42 | | -panel.row(3).option2 = editfield('name','','width',42,'enable',1,... |
43 | | - 'tooltip','Define the minimum x-coordinate','input','input','equalTo','input.beta_xmin'); |
| 46 | +panel.row(3).option1 = textfield('name','Max. background:','width',100); |
44 | 47 |
|
45 | | -panel.row(3).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
| 48 | +panel.row(3).option2 = editfield('name','','width',62,'enable',1,... |
| 49 | + 'input','input','equalTo','input.zetamax'); |
46 | 50 |
|
47 | 51 |
|
48 | | -panel.row(4).option1 = textfield('name','Max. x-coord.:','width',100); |
| 52 | +panel.row(4).option1 = textfield('name','Min. width.:','width',100); |
49 | 53 |
|
50 | 54 | panel.row(4).option2 = editfield('name','','width',42,'enable',1,... |
51 | | - 'tooltip','Define the maximum x-coordinate','input','input','equalTo','input.beta_xmax'); |
| 55 | + 'input','input','equalTo','input.rhomin'); |
52 | 56 |
|
53 | 57 | panel.row(4).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
54 | 58 |
|
55 | 59 |
|
56 | | -panel.row(5).option1 = textfield('name','Min. y-coord.:','width',100); |
| 60 | +panel.row(5).option1 = textfield('name','Max. width:','width',100); |
57 | 61 |
|
58 | 62 | panel.row(5).option2 = editfield('name','','width',42,'enable',1,... |
59 | | - 'tooltip','Define the minimum y-coordinate','input','input','equalTo','input.beta_ymin'); |
| 63 | + 'input','input','equalTo','input.rhomax'); |
60 | 64 |
|
61 | 65 | panel.row(5).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
62 | 66 |
|
63 | 67 |
|
64 | | -panel.row(6).option1 = textfield('name','Max. y-coord.:','width',100); |
| 68 | +panel.row(6).option1 = textfield('name','Min. intensity:','width',100); |
65 | 69 |
|
66 | | -panel.row(6).option2 = editfield('name','','width',42,'enable',1,... |
67 | | - 'tooltip','Define the maximum y-coordinate','input','input','equalTo','input.beta_ymax'); |
| 70 | +panel.row(6).option2 = editfield('name','','width',62,'enable',1,... |
| 71 | + 'input','input','equalTo','input.etamin'); |
68 | 72 |
|
69 | | -panel.row(6).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
70 | 73 |
|
| 74 | +panel.row(7).option1 = textfield('name','Max. intensity:','width',100); |
71 | 75 |
|
72 | | -panel.row(7).option1 = textfield('name','Min. width.:','width',100); |
| 76 | +panel.row(7).option2 = editfield('name','','width',62,'enable',1,... |
| 77 | + 'input','input','equalTo','input.etamax'); |
73 | 78 |
|
74 | | -panel.row(7).option2 = editfield('name','','width',42,'enable',1,... |
75 | | - 'tooltip','Define the minimum column width','input','input','equalTo','input.rhomin'); |
76 | 79 |
|
77 | | -panel.row(7).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
78 | | - |
79 | | - |
80 | | -panel.row(8).option1 = textfield('name','Max. width:','width',100); |
| 80 | +panel.row(8).option1 = textfield('name','Min. x-coord.:','width',100); |
81 | 81 |
|
82 | 82 | panel.row(8).option2 = editfield('name','','width',42,'enable',1,... |
83 | | - 'tooltip','Define the maximum column width','input','input','equalTo','input.rhomax'); |
| 83 | + 'input','input','equalTo','input.beta_xmin'); |
84 | 84 |
|
85 | 85 | panel.row(8).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
86 | 86 |
|
87 | 87 |
|
88 | | -panel.row(9).option1 = textfield('name','Min. intensity:','width',100); |
| 88 | +panel.row(9).option1 = textfield('name','Max. x-coord.:','width',100); |
| 89 | + |
| 90 | +panel.row(9).option2 = editfield('name','','width',42,'enable',1,... |
| 91 | + 'input','input','equalTo','input.beta_xmax'); |
89 | 92 |
|
90 | | -panel.row(9).option2 = editfield('name','','width',62,'enable',1,... |
91 | | - 'tooltip','Define the minimum column intensity','input','input','equalTo','input.etamin'); |
| 93 | +panel.row(9).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
92 | 94 |
|
93 | 95 |
|
94 | | -panel.row(10).option1 = textfield('name','Max. intensity:','width',100); |
| 96 | +panel.row(10).option1 = textfield('name','Min. y-coord.:','width',100); |
95 | 97 |
|
96 | | -panel.row(10).option2 = editfield('name','','width',62,'enable',1,... |
97 | | - 'tooltip','Define the maximum column intensity','input','input','equalTo','input.etamax'); |
| 98 | +panel.row(10).option2 = editfield('name','','width',42,'enable',1,... |
| 99 | + 'input','input','equalTo','input.beta_ymin'); |
98 | 100 |
|
| 101 | +panel.row(10).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
99 | 102 |
|
100 | | -panel.row(11).option1 = textfield('name','Min. background:','width',100); |
101 | 103 |
|
102 | | -panel.row(11).option2 = editfield('name','','width',62,'enable',1,... |
103 | | - 'tooltip','Define the minimum pixel value of the background','input','input','equalTo','input.zetamin'); |
| 104 | +panel.row(11).option1 = textfield('name','Max. y-coord.:','width',100); |
104 | 105 |
|
105 | | -panel.row(12).option1 = textfield('name','Max. background:','width',100); |
| 106 | +panel.row(11).option2 = editfield('name','','width',42,'enable',1,... |
| 107 | + 'input','input','equalTo','input.beta_ymax'); |
106 | 108 |
|
107 | | -panel.row(12).option2 = editfield('name','','width',62,'enable',1,... |
108 | | - 'tooltip','Define the maximum pixel value of the background','input','input','equalTo','input.zetamax'); |
| 109 | +panel.row(11).option3 = editfield('name',char(197),'width',20,'enable',0,'alignment','c'); |
109 | 110 |
|
0 commit comments