INTRO
Located under MatLab GUIs on lclshome, the Profile Monitor GUI will allow operators to view the electron beam in various regions along the accelerator for diagnostic purposes. Unlike the individual cameras brought up from the same page as the profile monitors, this GUI can display calculated statistics regarding beam dynamics and is used for emittance and other applications requiring beam statistics.
FEATURES of the PROFILE MONITOR
RED BOX
- The first line is a pull down menu to select a screen you may want to use to view the beam.
- Below this menu gives you the name of the selected screen with a format "scrn_type:IOC/micro:unit".
GREEN BOX
- If BG is selected, the GUI will use a background image (no beam) in conjunction with the beam image to rid calculations of screen imperfections and random counts due to noise, thus reducing statistical errors.
- FULL ROI (region of interest) uses the whole screen for statistical calculations. Y axis between +/- 9mm and X axis between +/- 12mm. In "Pixels" Y axis is between 0 and 1000, X axis is between 0 and 1400. 1/2 ROI uses a smaller portion of the screen where the Y axis is between +/- 3.5mm and the X axis is between +/- 4mm. In "pixels" Y axis is between 700 and 350, X axis is between 500 and 850. This can be useful to reduce the background signal for stats and to get a more detailed visual of the beam.
- ZOOM allows the user to zoom into the image.
BLUE BOX
- The Log Book button will send the image as seen on the screen to the physics-lclslog as well as save the image to disk with a date/time stamp for its name.
- Start/Stop button will start and stop the GUI from recieving data from the screen.
- Single will acquire a single image of the beam profile.
- Export opens the image as a Mat Lab figure for manipulating the data without sending it to the physics log book. It has been useful for sending data to other logbooks, however, you may want to go to "print preview" before printing to switch the color setting TAB (on left side) to "color" as opposed to B/W or gray scale.
- Initialize
- To Save or Save As will save the data to disk, either with the time stamp as a name or a specified name, respectivley.
- Load will load an old image file into the GUI.
YELLOW BOX
- Calibrate
- Time Scale
- Colormap paints the image in one of three schemes: Jet, Gray and Hot.
- Show raw image
- Use calibration, when checked, converts units of pixels to millimeters on X and Y axes.
- Zoom, when checked, allows the user to zoom into the image by clicking the mouse at the center of the users interested region.
- If Show stats is selected, a Mat Lab figure will open showing real time numerical beam sizes with associated sigmas along with a visual image of the beam and fitted profiles for X and Y planes.
- Show Hist is an intensity histogram measured in counts on a semilog plot. red the QQQ plane and blue is QQQQ the plane.
- Line Out draws a yellow intensity curve on the image as shown below. This distributes the beam intensity over both X and Y planes.
The image above was taken using the prof mon gui on LOLA in sector 30. Notice the yellow line out, as it was checked for this image. This is a similar image to what you should see when starting the gui with the correct screen IN or when exporting or when sending to the logbook. NOTE: the beam is elongated here due to the TCAV being ON.Image:profmongui2.jpg
SHOW STATS
(Above) This is the figure that is launched when SHOW STAS is checked.
SHOW HIST
This is the image launched when SHOW HIST box is checked. The Red line is the fit to the data which is the Blue line.
Retrieved from "http://ad-linux04.slac.stanford.edu/index.php/Profile_Monitor_GUI"