Graphical User Interfaces for Emittance and Correlation Plot. Henrik Loos

Similar documents
Manual for some LCLS Matlab GUIs. Henrik Loos SLAC, 2575 Sand Hill Road, Menlo Park, CA 94025

TECDIS and TELchart ECS Weather Overlay Guide

The Quantizing functions

Jasco V-670 absorption spectrometer

Mnova Software for Analyzing Reaction Monitoring NMR Spectra

Quantification of JEOL XPS Spectra from SpecSurf

Lab 1 Uniform Motion - Graphing and Analyzing Motion

DETERMINATION OF THE DECOMPOSITION PRODUCTS OF CALCIUM OXALATE USING THERMAL GRAVIMETRY AND INFRARED SPECTROMETRY

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

ON SITE SYSTEMS Chemical Safety Assistant

Bloomsburg University Weather Viewer Quick Start Guide. Software Version 1.2 Date 4/7/2014

MassHunter Software Overview

ISSP User Guide CY3207ISSP. Revision C

Relative Photometry with data from the Peter van de Kamp Observatory D. Cohen and E. Jensen (v.1.0 October 19, 2014)

Sample Alignment Part

Standards-Based Quantification in DTSA-II Part II

Dose-Response Analysis Report

Sample Alignment (2D detector) Part

Computational Study of Chemical Kinetics (GIDES)

LAB 2 - ONE DIMENSIONAL MOTION

EXPERIMENT 4 ONE DIMENSIONAL MOTION

SeeSAR 7.1 Beginners Guide. June 2017

85. Geo Processing Mineral Liberation Data

Athena Visual Software, Inc. 1

Last updated: Copyright

FODO Cell Introduction to OptiM

Become a Microprobe Power User Part 2: Qualitative & Quantitative Analysis

Lab 1a Wind Tunnel Testing Principles & Drag Coefficients of Golf balls

85. Geo Processing Mineral Liberation Data

Determining C-H Connectivity: ghmqc and ghmbc (VnmrJ-2.2D Version: For use with the new Software)

Lasentec Product Group

Non-Acoustical Inputs

Operation of the Bruker 400 JB Stothers NMR Facility Department of Chemistry Western University

Connect the Vernier spectrometer to your lap top computer and power the spectrometer if necessary. Start LoggerPro on your computer.

Safety and Liveness. Thread Synchronization: Too Much Milk. Critical Sections. A Really Cool Theorem

Rotary Motion Servo Plant: SRV02. Rotary Experiment #01: Modeling. SRV02 Modeling using QuaRC. Student Manual

University of Minnesota Nano Center Standard Operating Procedure

ST-Links. SpatialKit. Version 3.0.x. For ArcMap. ArcMap Extension for Directly Connecting to Spatial Databases. ST-Links Corporation.

More on Input Distributions

Signal Processing First Lab 11: PeZ - The z, n, and ˆω Domains

Appendix A Prototypes Models

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains

Tutorial. Getting started. Sample to Insight. March 31, 2016

ProMass Deconvolution User Training. Novatia LLC January, 2013

Conservation of Mechanical Energy Activity Purpose

Lasentec Product Group

Inverted Pendulum System

Software BioScout-Calibrator June 2013

Login -the operator screen should be in view when you first sit down at the spectrometer console:

Comparing whole genomes

GPS and Mean Sea Level in ESRI ArcPad

Double Star Observations

Geodatabases and ArcCatalog

Displaying Latitude & Longitude Data (XY Data) in ArcGIS

Automatic Watershed Delineation using ArcSWAT/Arc GIS

Fixturlaser Alignment System

PC Control / Touch Control

Downloading GPS Waypoints

Conservation of Mechanical Energy Activity Purpose

The OptiSage module. Use the OptiSage module for the assessment of Gibbs energy data. Table of contents

Optics Minimization in LISE ++

Introduction to Computer Tools and Uncertainties

Uta Bilow, Carsten Bittrich, Constanze Hasterok, Konrad Jende, Michael Kobel, Christian Rudolph, Felix Socher, Julia Woithe

Size Determination of Gold Nanoparticles using Mie Theory and Extinction Spectra

Jaguar DFT Optimizations and Transition State Searches

Using web-based Java pplane applet to graph solutions of systems of differential equations

Appendix 4 Weather. Weather Providers


Fog Monitor 100 (FM 100) Extinction Module. Operator Manual

HOW TO USE MIKANA. 1. Decompress the zip file MATLAB.zip. This will create the directory MIKANA.

Performing Map Cartography. using Esri Production Mapping

Application Note. U. Heat of Formation of Ethyl Alcohol and Dimethyl Ether. Introduction

TitriSoft 2.5. Content

Titration of Acids and Bases

REPLACE DAMAGED OR MISSING TEXTBOOK BARCODE LABEL

Circular Motion and Centripetal Force

MODELS Number WW4.x For Europe & Others V 50HZ

LISE++ tutorial. The tutorial walks you through the required steps to try to fulfill the experimentalists requests:

Chemistry Department

In-System Serial Programming (ISSP) Guide

Experiment: Oscillations of a Mass on a Spring

User's Manual altimeter V1.1

Best Pair II User Guide (V1.2)

Mass Asset Additions. Overview. Effective mm/dd/yy Page 1 of 47 Rev 1. Copyright Oracle, All rights reserved.

1 Introduction & Objective. 2 Warm-up. Lab P-16: PeZ - The z, n, and O! Domains

TORO SENTINEL APPLICATION NOTE AN01: ET-BASED PROGRAMMING

Measuring the time constant for an RC-Circuit

B = 8 0 NI/[r (5) 3/2 ],

version ISOL METHOD MASS SEPARATOR MASHA CHARGE STATES...5

NMR Predictor. Introduction

Using the Stock Hydrology Tools in ArcGIS

WinLTA USER S GUIDE for Data Augmentation

Measuring ph with Smart Cuvettes

pka AND MOLAR MASS OF A WEAK ACID

ECE 320 Linear Control Systems Winter Lab 1 Time Domain Analysis of a 1DOF Rectilinear System

Observation: NOT OBSERVING Either Not observing, Waiting, On Source, On reference, Scanning etc.

In-System Serial Programming (ISSP) Guide

The data for this lab comes from McDonald Forest. We will be working with spatial data representing the forest boundary, streams, roads, and stands.

Beam Diagnostics. Measuring Complex Accelerator Parameters Uli Raich CERN BE-BI

Experiment 0 ~ Introduction to Statistics and Excel Tutorial. Introduction to Statistics, Error and Measurement

Transcription:

Graphical User Interfaces for Emittance and Correlation Plot

Common GUI Features Overview Files Configs Measure Data Point Export

Common GUI Features Save Saves the present data. Auto-generated file name from the application, measurement type, and date and time as HEADER-PV NAME-YYYY-MM-DD-HHMMSS.MAT. The file location is automatically taken from the date of the measurement time as $LCDATA/MATLAB/DATA/YYYY/YYYY-MM/YYYY-MM-DD. Save As Like Save, but a dialog window lets the user choose a different file name and location. Load Opens a dialog box with the present day's data folder (if exists) to let the user pick a.mat file. The user has to make sure that the respective file was created with the same application, otherwise it will crash. Due to a Java bug, the dialog might fail and the button has to be pressed until success.

Common GUI Features II Export Creates a new figure window and plots the current data in it. This figure can then be modified and saved or printed with the figure menu. -> Logbook Creates new figure window with Export and prints the figure in the electronic logbook queue. The data file is saved. Config Load Loads some or most of the program settings from the program's configuration file. Config Save Saves some or most of the program settings into the program's configuration file.

Common GUI Features III Start Starts the measurement process. Abort Aborts the current data acquisition. If multiple GUIs are running in the same Matlab process, all of them will be stopped. If the program crashed reset the start button by hitting the abort button. Get Data Acquires data only for the presently selected set point. The operator has to set the scanned device with e.g. Set Quad. Useful to redo a bad data point.

Emittance Overview

Emittance GUI Features Measures emittance at various profile monitors and wire scanners. Uses quadrupole scan or acquisition at multiple locations (multi screen). Projected emittance or slice emittance Sets PVs for archiving and matching Plot of measured profiles, beam size fit, and phase space view.

Emittance Measurement Procedure Start program. On the LCLS Home Screen open USER Dev Displays and then select Emittance GUI or type emittance_gui in a Matlab session. Select Linac region IN20, LI21, LI28, or LTU. Select measurement method Multi Screen or Quad Scan. Select measurement location, YAG/OTR screen or wire scanner. For a quadrupole scan, select the quadrupole to scan and the scan range for that quadrupole. The config for the program stores the quad name and its range for each screen, so the selection at program start should be useful. If the quadrupole selection or range was changed and deemed permanent, save the present configuration with Save Config.

Emittance Measurement Procedure II Optional use of Auto Val. Finds the set of quad values for best phase advance. Uses design Twiss unless Twiss Act (from previous measurement) is selected. Optimizes for selected plane unless XY is checked. Important: Change of plane does not update auto quad values. Check if the Quad Reset value corresponds to the actual value in the control system. If a wirescan is requested, select the plane, x Plane or y Plane. Slice emittance measurement select the number of Slices and the slice window size SliceWin. 2.5 (in multiples of the beam size) is usually a good value. Select the desired emittance plane x/y Plane. The slicing is done in the perpendicular direction. All the slicing related parameters can be changed after the measurement as well.

Emittance Measurement Procedure III For YAG/OTR screen measurement, select the number of images (Samples) per quad setting or screen location. Depending on beam stability, 5 to 10 shots are reasonable. Select number of background shots (#BG); 1 shot is usually sufficient. Start the acquisition with Start Scan. If the measurement was successful, the program will display a new emittance measurement. After a quad scan, check if the Quad Actual value equals the Quad Reset value. If the measurement has to be aborted use Abort Scan. If the program crashed, press the abort scan button to enable new scans. If a quad scan was aborted, check the quad actual and press the Quad Reset button if necessary.

Emittance Measurement Procedure IV Play with the Average, Phase Space, and Normalize check boxes and the Method Select slider until happy with results. After a slice measurement, use the Slice Emittance checkbox to display a slice summary plot. Play with Slices number and window size SliceWin until happy. Each change however can take a long time to process. Subsequent scans. If the program doesn't respond to Start Scan, press the Abort Scan button and try again. Inconsistent Quad reset value. Programs quad reset value differs from EPICS value at scan start. Dialog box with two options. If EPICS value wrong due to prior program crash, keep reset value. If EPICS value good due to change in matching or congif, discard reset value.

Correlation Plot Overview

Correlation Plot Features Scans any epics process variable (PV) Measures multiple samples of any number of PVs Non-synchronous and synchronous acquisition Scan of 2 PVs for 2-D plots Scan of SLC magnets Time scan Measurement of emittance, bunch length, profile monitors, wire scanners Selection of different fit functions Plot of selected results

Correlation Plot Procedure Start program. On the LCLS Home Screen open USER Dev Displays and then select Correlation Plots GUI or type corrplot_gui in a Matlab session. Pre-defined measurement. If the measurement setup has already been saved as a configuration file, use Load Config. Time plot. If the evolution of measurements over time is to be taken, leave both the Control PV and Fast Control PV fields empty. All other settings for the control PVs will have no effect. Standard plot. This is the measurement of the read PVs as a function of one control PV. Enter the name of the process variable into the Control PV Name field. If the name is a valid PV, its present value will be displayed as Current and Initial. The values will be NaN if the PV is invalid. Use LIxx:PRIM:UNIT:BDES to scan SLC magnets. 2D plot. This is the measurement of the read PVs as a function of two control PVs. Enter the name of the slow process variable into the Control PV field and the fast variable into Fast Control PV Name. Enter the range for the control PV into the respective Ctrl PV Low and Ctrl PV High fields. Enter the number of set points for the control PV into # Ctrl PV Vals. If two control variables are entered, the total number of setpoints will be the product of both # Ctrl PV Vals fields.

Correlation Plot Procedure II Select settle times. The Initial Settle is the number of seconds to wait between setting the control variable(s) to the first set point and taking the data. The Settle Time of the (slow) control PV is the wait time after subsequent set points before taking data. The Settle Time of the fast control PV is the respective wait time after advancing the set point for the fast PV. Select number of samples and sample delay. The # Samples is the number of shots to be taken at each control variable set point. For a time plot, this is also the total number of shots. Enter the (approximate) wait time between samples in the Sample Delay field. This field has no effect is synchronous acquisition is selected. Read PVs. Enter any number of process variables to be measured into the Read PV List field. If any of the names is invalid, no data will be acquired. Additional Matlab measurements. One Profile Monitor, Wire Scanner, and Emittance Scan measurement can also be specified to be done along the acquisition of the other read PVs. Select beam synchronous acquisition (BSA). If all read PVs have synchronous acquisition PVs associated with them, i.e., there exist PVs with HSTn appended to the name entered in the Read PV List field, the beam rate ONE HERTZ, TEN HERTZ, or THIRTY HERTZ can be chosen. The Sample Delay value has no effect then. If None is selected, the acquisition is non-synchronous.

Correlation Plot Procedure III Select display settings. Use the Y axis, X axis, and (for 2D plots) U axis controls to select in which way the measured data should be displayed. This can also be changed at any time after the acquisition. Label the measurement. Enter a title for the plot into the Plot Header field. This name will be appended by the control PV name and the date and time for the actual plot title as well as for the auto-generated file name. Start the acquisition with Start Acquisition. After each set point, the new data is added to the plot. When the scan is completed, check if the Current value equals the Initial value for the control PVs. If the measurement has to be aborted use Abort Acquisition. If this doesn't work, CTRL-C the program. If the measurement was unsuccessful, i.e. the program crashed, or was aborted by CTRL-C, press the abort scan button to enable new scans. If control PVs where changed, press the Reset Ctrl PV button to put the control PVs back to their initial value.

Correlation Plot Procedure IV Play with the Show Average, Fit, and 3D controls and the Method Select slider (if any additional Matlab measurements where done) until happy with results. Formulae. If desired, one or more formulae can be entered in the Formula field to be available for display or fitting. The control and read PVs are referenced in the formulae with lower case characters starting at a with the control PVs and then the read PVs. The labeling corresponds to the order of the X axis list without the TIME entry. The operations in the formulae have to be vectorized, i.e. use.* instead of * etc. Save and log data. If deemed worthy for posterity, use Save (with auto-generated file name and folder location) or Save as (with user specified file name and location). Use the ->Logbook button to put the plot into the electronic logbook. Subsequent scans. If the program doesn't respond to Start Acquisition, press the Abort Acquisition button and try again. Change of acquisition values. If any of the values affecting the structure of the measurement data (like # Samples or Control PV Name) are changed, a dialog box will appear questioning the user to either save or discard the present measurement, as it will be removed from memory.