Skip to content

Commit 8c00331

Browse files
committed
clean clean
1 parent 17c509f commit 8c00331

File tree

1 file changed

+38
-16
lines changed

1 file changed

+38
-16
lines changed

docs/guis/betabeat/analysis_panel.md

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,27 @@ The buttons at the top of the panel provide functionality to load and remove fil
2929

3030
## The Time / Space Tab
3131

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.
3334

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.
3635

37-
!!! todo
38-
Include a screenshot of the time / space panel with relevant info highlighted (see twiki)
36+
<figure>
37+
<center>
38+
<img class="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>
3942

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
4153

4254
The harmonic analysis data used to obtain the optics functions can be cleaned using [Isolation Forest algorithm][sklearn_IF].
4355
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
6072
</center>
6173
</figure>
6274

75+
#### Clean
76+
77+
#### Auto Clean
78+
79+
#### Undo Cleaning
80+
81+
6382
=== "Before Cleaning"
6483

6584
<figure>
@@ -78,7 +97,6 @@ After cleaning is finished, the optics function can be computed from the harmoni
7897
</center>
7998
</figure>
8099

81-
82100
!!! tip "Keep BPMs"
83101
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.
84102
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
88106

89107
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.
90108

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.
96109

97110
## The Frequency Tab
98111

99-
The `Frequency` tab displays the computed frequencies for every BPM.
112+
The `Frequency` tab displays the computed spectrum for every BPM.
113+
114+
<figure>
115+
<center>
116+
<img class="clickImg" src="../../assets/images/betabeat_gui/analysis_panel_frequency.png" width="100%" alt="Frequency tab."/>
117+
<figcaption>The Frequency tab.</figcaption>
118+
</center>
119+
</figure>
100120

101-
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.
103124

104125
### Nattune Updater
105126

@@ -133,4 +154,5 @@ This will call an external python script again, with the results available in th
133154
</center>
134155
</figure>
135156

136-
[bpm_panel_analyse]: bpm_panel.md#start-analysis
157+
[bpm_panel_analyse]: bpm_panel.md#start-analysis
158+
[additional_defaults]: defaults.md#additional-gui-defaults

0 commit comments

Comments
 (0)