You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guis/betabeat/analysis_panel.md
+38-16Lines changed: 38 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,27 @@ The buttons at the top of the panel provide functionality to load and remove fil
29
29
30
30
## The Time / Space Tab
31
31
32
-
In the `Time / Space` tab one can examine the phases and amplitudes, and can clean the values if needed (only `TUNEX` and `TUNEY` or `NATTUNEX` and `NATTUNEY`).
32
+
In the `Time / Space` tab one can examine the phases and amplitudes over the length of the accelerator,
33
+
and can clean the calues if needed.
33
34
34
-
If some values are obviously not inside a given bound, the 2 marker lines (see screenshot below) can be used to set the boundaries and to remove all data outside those boundaries.
35
-
The GUI will check if the removal is inside some predefined bounds to prevent accidental removal of too much data.
36
35
37
-
!!! todo
38
-
Include a screenshot of the time / space panel with relevant info highlighted (see twiki)
36
+
<figure>
37
+
<center>
38
+
<imgclass="clickImg"src="../../assets/images/betabeat_gui/analysis_panel_time_space.png"width="100%"alt="Time and Space tab."/>
39
+
<figcaption>The Time / Space tab.</figcaption>
40
+
</center>
41
+
</figure>
39
42
40
-
### Cleaning of harmonic analysis output data
43
+
44
+
!!! warning "Default Bounds"
45
+
The cleaning will check if the ratio of remaining data-points is inside predefined bounds to **prevent accidental removal of too much data**.
46
+
This ratio, as well as the default value for the `sigmas` and `limit` parameter can be changed by [giving them through the `bbgui_user.properties` file][additional_defaults].
47
+
48
+
!!! tip "Deselection"
49
+
In case you only want to see the data of one plane, you can deselcect the other plane by either chosing `None` at the bottom of the list
50
+
or by right-clicking into the respective list.
51
+
52
+
### Cleaning
41
53
42
54
The harmonic analysis data used to obtain the optics functions can be cleaned using [Isolation Forest algorithm][sklearn_IF].
43
55
It should prevent the appearance of unphysical spikes in the optics functions which are caused by the faulty BPMs remaining in the data after the TbT-data cleaning.
@@ -60,6 +72,13 @@ After cleaning is finished, the optics function can be computed from the harmoni
60
72
</center>
61
73
</figure>
62
74
75
+
#### Clean
76
+
77
+
#### Auto Clean
78
+
79
+
#### Undo Cleaning
80
+
81
+
63
82
=== "Before Cleaning"
64
83
65
84
<figure>
@@ -78,7 +97,6 @@ After cleaning is finished, the optics function can be computed from the harmoni
78
97
</center>
79
98
</figure>
80
99
81
-
82
100
!!! tip "Keep BPMs"
83
101
Some BPMs, e.g. the AC-Dipole BPMs, are required for the optics analysis and **the analysis will fail** if they are not found in the data.
84
102
You can therefore specify to **keep these BPMs** in the [GUI Cleaning section of the Cleaning Settings Tab](settings.md#gui-cleaning) and they will be kept,
@@ -88,18 +106,21 @@ After cleaning is finished, the optics function can be computed from the harmoni
88
106
89
107
Additionally, BPMs can be cleaned based on the tune values computed by harmonic analysis. The chart displaying the selected columns of harmonic analysis data has interactive cursors. These cursors can be moved manually to set the thresholds for tune-based cleaning - all BPMs having tune values outside of the set range will be removed. The cursors can be also automatically set to e.g. 4 sigmas deviation from the average tune values over all BPMs.
90
108
91
-
### Summary of cleaning steps before optics analysis
92
-
93
-
-[ ] Before loading tbt-files: check SVD settings and signal cuts in the global settings panel
94
-
-[ ] After harmonic analysis: Detect bad BPMs with Isolation Forest
95
-
-[ ] If neccessary: check tunes in the chart, set cursors, clean tune outliers.
96
109
97
110
## The Frequency Tab
98
111
99
-
The `Frequency` tab displays the computed frequencies for every BPM.
112
+
The `Frequency` tab displays the computed spectrum for every BPM.
A `Get Optics` button can be used to start the optics calculation.
102
-
This will call an external python script again, with the results available in the [Optics Panel](optics_panel.md).
121
+
!!! tip "Deselection"
122
+
In case you only want to see the frequency data of one plane, you can deselcect the other plane by either chosing `None` at the bottom of the list of BPMs
123
+
or by right-clicking into the respective list.
103
124
104
125
### Nattune Updater
105
126
@@ -133,4 +154,5 @@ This will call an external python script again, with the results available in th
0 commit comments