<html><head><title>BLMeas: Bunch Length Measurement</title></head>
<body>
<h5  style="color:gray;">10 August 2020 </h5>
<h4>
Measurement of the electron bunch length using an RF 
transverse deflector and beam profile monitor.
</h4>
<h2 style="color:blue;">About</h2>
The application performs a measurement of the electron bunch length using an RF 
transverse deflector. The profiles of the deflected beam are visualized by profile monitors
located downstream.
Two RF deflectors have been installed at SwissFEL. The first is positioned in the INJECTOR 
(SINDI01), at z = 84 m, soon after the electron gun, while the second is positioned
towards the end of LINAC3 (S30CB10), at z = 386 m. 
<h2 style="color:blue;">The Panel</h2>

How to enable a measurement:
<ul style="list-style-type:decimal;">
<li style="padding:0px; margin:5px; ">
Select the RF Transverse Deflector and then the Profile Monitor from the drop down menu.
</li>

<li style="padding:0px; margin:5px;">
Modify the configuration parameters (No. Steps, Step Size, etc.) from the default values, if desired. 
<br>
The Zero-crossing Phase and Beam Energy parameters
are initialized from process variables but can be overwritten by the user.
</li> 

<li style="padding:0px; margin:5px;">
Select from the check boxes, the measurements that are to be made.
</li> 

<li style="padding:0px; margin:5px;">
Set the measurement optics, which writes to the corresponding quadruple magnets, by pressing the 'Set Measurement Optics' button. The associated quadruple magnets will be made evident in the neighbouring QTableWidget.
</li> 

<li style="padding:0px; margin:5px;">
Subsequent measurements with differenct RF Transverse Defector and Profile Monitor combinations require a new setting of the measurement optics.
</li>

<li style="padding:0px; margin:5px;">
With the settings in place, press 'Start' to perform the measurement.
</li> 

<li style="padding:0px; margin:5px;">
Once the measurement is complete, information related to the collected 
(hdf5) data and the generated plots, can
be automatically posted to the selected elog book by pressing the ELog icon 
in the application toolbar. 
<br>
The data files are appended with 
the first 9 digits of the run number, i.e., with one second sampling, 
as recorded at the start of the measurement.
</li> 

<li style="padding:0px; margin:5px;">
Before quitting the application, restore the quadruples to their
initial values, 'Restore Initial Values', if warranted.
</li>
</ul>
<br><br>
</body></html>
