Skip to content

Commit c6ff163

Browse files
committed
typos and local style
1 parent 422fe42 commit c6ff163

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed

docs/css/custom_colors.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,4 @@
1616
font-weight: bold;
1717
}
1818

19-
/* Custom emphasis classes (for bpm_filtering.md) */
20-
.tbt-related { color: var(--color-atlasgreen); font-weight: bold; }
21-
.svd-related { color: var(--color-cernred); font-weight: bold; }
22-
.spec-related { color: var(--color-atlasorange); font-weight: bold; }
23-
.manual-related { color: var(--color-cernlightblue); font-weight: bold; }
24-
.iforest-related { color: var(--color-cernpurple); font-weight: bold; }
19+

docs/measurements/physics/bpm_filtering.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
1+
<style>
2+
.tbt-related { color: var(--color-atlasgreen); font-weight: bold; }
3+
.svd-related { color: var(--color-cernred); font-weight: bold; }
4+
.spec-related { color: var(--color-atlasorange); font-weight: bold; }
5+
.manual-related { color: var(--color-cernlightblue); font-weight: bold; }
6+
.iforest-related { color: var(--color-cernpurple); font-weight: bold; }
7+
</style>
18

29

3-
The content of this page has been converted from the presenation given as ["OMC3 bad BPM detection" on the 31.03.2025](https://indico.cern.ch/event/1531923/) .
10+
The content of this page has been converted from the presentation given as ["OMC3 bad BPM detection" on the 31.03.2025](https://indico.cern.ch/event/1531923/) .
411

512

613
## OMC-Analysis
714

815
![BPM vs Owl](../../assets/images/bpm_filtering/bpmvsowl.png)
916

1017
* To get <span class="omc-emph">reliable</span> and <span class="omc-emph">reproducible</span> optics measurements, we cannot trust all BPM data that we are getting.
11-
* At <span class="omc-emph">different stages</span> of the code, we try to determine the ``trustworthyness''.
18+
* At <span class="omc-emph">different stages</span> of the code, we try to determine the "trustworthyness".
1219
* Some BPMs are fully <span class="omc-emph">excluded</span>, others are getting <span class="omc-emph">errorbars</span> based on their <span class="omc-emph">noise-level</span> (which are often used as *weights*, e.g. for correction calculations).
1320

1421

1522
## Automatic
1623

17-
* First the <span class="tbt-related">Turn-by-Turn Data</span> is checked for ``obvious'' signs.
24+
* First the <span class="tbt-related">Turn-by-Turn Data</span> is checked for "obvious" signs.
1825
* <span class="tbt-related">EXACT_ZERO</span>: Any value has an <span class="tbt-related">exact zero</span> (might lead to false positives, but unlikely if happens in multiple datasets).
1926
* <span class="tbt-related">NANS</span>: Data contains <span class="tbt-related">NaN-values</span> (happens in SPS BPMs).
20-
* <span class="tbt-related">FLAT</span>: <span class="tbt-related">Peak-to-Peak</span> value was <span class="tbt-related">below</span> a given threshold (10nm).
21-
* <span class="tbt-related">SPIKY</span>: A <span class="tbt-related">spike</span> in the data, <span class="tbt-related">above</span> a given threshold (2cm).
27+
* <span class="tbt-related">FLAT</span>: <span class="tbt-related">Peak-to-Peak</span> value was <span class="tbt-related">below</span> a given threshold (default: 10nm).
28+
* <span class="tbt-related">SPIKY</span>: A <span class="tbt-related">spike</span> in the data, <span class="tbt-related">above</span> a given threshold (default: 2cm).
2229
* To reduce <span class="svd-related">noise</span> we perform an SVD-decomposition and keep only the <span class="svd-related">strongest modes</span>.
23-
* <span class="svd-related">SVD_PEAK</span>: The BPM had a <span class="svd-related">mode</span> in the U-Matrix above a given threshold (0.925).
30+
* <span class="svd-related">SVD_PEAK</span>: The BPM had a <span class="svd-related">mode</span> in the U-Matrix above a given threshold (default: 0.925).
2431
* Most information about the optics come from a <span class="spec-related">spectral analysis</span>.
2532
* <span class="spec-related">NO_TUNE</span>: Tune line could <span class="spec-related">not be found</span> in the spectrum.
26-
* <span class="spec-related">TUNE_CLEAN</span>: Tune line found was <span class="spec-related">too far from the average</span> of the other BPMs (by more than $10^{-5}$).
33+
* <span class="spec-related">TUNE_CLEAN</span>: Tune line found was <span class="spec-related">too far from the average</span> of the other BPMs (default: > $10^{-5}$).
2734

2835
## Manual
2936

@@ -33,12 +40,16 @@ The content of this page has been converted from the presenation given as ["OMC3
3340
* <span class="manual-related">Non-sensical</span> data points.
3441
* Cause <span class="manual-related">analysis issues</span> (e.g. phase-offsets, negative $\beta$, NaNs).
3542
* <span class="manual-related">Calibration</span> issues:
36-
* $\beta$-form-phase looks normal, peak in $\beta$-from-amplitude
43+
* $\beta$-from-phase looks normal, peak in $\beta$-from-amplitude
3744
* $\beta$-ratios large.
3845
* Measure in <span class="manual-related">different optics</span> to <span class="manual-related">confirm BPM issue</span>.
3946
* **Good hint:** <span class="manual-related">Filtering them solves observed issues</span>.
4047

41-
![Beta Beating Example](../../assets/images/bpm_filtering/BetaBeating.png)
48+
49+
<figure>
50+
<img src="../../assets/images/bpm_filtering/BetaBeating.png">
51+
<figcaption>Observed Beta-Beating with some large errorbars (e.g. IP1 and IP5) and unrealistic beating (around 2200m in Y)</figcaption>
52+
</figure>
4253

4354
## Isolation Forest
4455

0 commit comments

Comments
 (0)