Linda Ott XTOD October 26, 2005 UCRL-PRES X Ray Transport, Optics, and Diagnostics System (WBS 1.5) October 26, 2005 FluxViewer Application Overview by Linda Ott This work was performed under the auspices of the U.S. Department of Energy by the University of California, Lawrence Livermore National Laboratory under Contract No. W-7405-Eng-48. Work supported in part by the DOE Contract DE-AC02-76SF This work was performed in support of the LCLS project at SLAC.
Linda Ott XTOD October 26, 2005 UCRL-PRES Borland Development Environment Borland Supplied GUI Components Forms Edit Boxes Menu Bars … Component Palette Screen Editor Linker Debugger Project Manager Object Inspector Class Explorer Database Engine (BDE) Tools Database Desktop SQL Explorer BDE Administrator … User Supplied LCLS Specific Code Simulation Modeling Data Acquisition Instrument Control Analysis … Third Party Supplied TeeChart Pro Numerical Recipes HDF5 library HDFView Device libraries (eg. Newport ESP6000 Motion Controller PixelVision SDK) Help & Manual InstallShield VisIt LCLS Databases Materials Elements Units Cumlatives ReBin BLOB Objective CCD …
Linda Ott XTOD October 26, 2005 UCRL-PRES Objective DB Material DB Element DB Simulations Data Flow Diagram RawSpontaneous Data Files (UCLA,SLAC) Make Detailed Database Tables GridPointSpectrum CumlativeX,Y,Energy … ReBin into Coarser energy bins ReBin DB Make BLOB DB Tables BLOB DBs Photon Monte Carlo Applications Flux Viewer Photon Electron Calculator Pixelator (Change Pixel Size) Attenuator (Gas and Solid) Absorbed, Transmitted, Material DB Element DB Imager Design Total Energy Monitor Design X Ray Optics Constants CCD DB Note: BLOB = Binary Large OBjects * * Add FEL
Linda Ott XTOD October 26, 2005 UCRL-PRES Raw Spontaneous Data Calculations Roman Tatchyn (SLAC) ASCII files Sven Reiche (UCLA) HDF5 files
Linda Ott XTOD October 26, 2005 UCRL-PRES Datasets The dataset files must be downloaded individually There are 2 file types: All undulator modules (9 datasets) Single undulator module (22 datasets)
Linda Ott XTOD October 26, 2005 UCRL-PRES All Undulator Modules Dir Name EOU (m)Linac EPosition S14GeV Beginning of Beam Dump S4GeV Beginning of Beam Dump S14GeV In Beam Dump (“PCPM2”) S4GeV In Beam Dump (“PCPM2”) S14GeV Beginning of FEE (“MUS1”) S4GeV Beginning of FEE (“MUS1”) S14GeV End of FEE (“MUS2”) S4GeV End of FEE (“MUS2”) S14GeV Far Hall Dir Name: Directory name containing the dataset’s database tables EOU (m): Position of simulation from the end of the undulator in meters Linac E: Linac energy in GeV Position: Approximate location of simulation in beam line
Linda Ott XTOD October 26, 2005 UCRL-PRES Approximate Location of Spontaneous Datasets in Beam Line S14GeV45 S4GeV45 (45 m eou) S14GeV83 S4GeV83 (83 m eou) S14GeV114 S4GeV114 (114 m eou) S14GeV400 (400 m eou) S14GeV71 S4GeV71 (71 m eou)
Linda Ott XTOD October 26, 2005 UCRL-PRES Single Undulator Module The single module datasets were were done for two purposes: 1) Determine the camera specifications needed to see undulator radiation from a single segment during commissioning. 14 GeV X Size (1 quadrant) = 60 mm, Y Size = 20 mm Energy resolution =.400 keV, Energy range = 0 to 24,690 keV 4 GeV X Size (1 quadrant) = 200 mm, Y Size = 60 mm Energy resolution =.040 keV, Energy range = 0 to 2,518 keV 2) Decide the practicalities of determining K differences in the undulator segments by measuring the x-ray spectra. X Size (1 quadrant) = 1 mm, Y Size = 1 mm Energy resolution = 1 eV, Energy range = 0 to 30,000 eV
Linda Ott XTOD October 26, 2005 UCRL-PRES Single Undulator Module Folder EOU (m)Linac E Purpose SMFirst4Gev camera specifications SMFirst14Gev camera specifications SMLast4Gev camera specifications SMLast14Gev camera specifications SMFirstDetuned K study SMFirstDetuned-3_1eVBin K study SMFirstDetuned K study SMFirstDetuned-4_1eVBin K study SMFirstNominal K study SMFirstNominal_1eVBin K study SMMidDetuned K study SMMidDetuned-3_1eVBin K study SMMidDetuned K study SMMidDetuned-4_1eVBin K study SMMidNominal K study SMMidNominal_1eVBin K study SMLastDetuned K study SMLastDetuned-3_1eVBin K study SMLastDetuned K study SMLastDetuned-4_1eVBin K study SMLastNominal K study SMLastNominal_1eVBin K study
Linda Ott XTOD October 26, 2005 UCRL-PRES SpontaneousBlob Database X Coordinates arrays (lower, center, upper, bin size) Y Coordinates arrays (lower, center, upper, bin size) Energy arrays (lower, center, upper, bin size) Photons array (number photons in each X,Y,Energy bin) Dataset Parameters: Position (Distance from End-of-Undulator) Number of X,Y,Energy bins Linac Energy (GeV) Peak Current (A) Number Undulator Periods Pulse Duration (seconds) Undulator K value Undulator Period (m) Quadrant Flag (true=1 quad, false=4 quads)
Linda Ott XTOD October 26, 2005 UCRL-PRES Spontaneous Data Chain UCLA Near-Field Calculator ~2 Gbyte HDF5 HDF5 to Paradox Converter (x,y,E,P) Paradox format, ~7 GByte ReBinner – Makes Progressively Coarser Energy Bins (x,y,E,P) Paradox format, 1.2 GByte Blob DB Converter – faster to read (E,P[x,y]) Paradox, 160 MBytes Viewer (FluxViewer)
Linda Ott XTOD October 26, 2005 UCRL-PRES FluxViewer Spectral flux viewer for BLOB database tables Allows user to select x,y,energy ranges and display x,y grids, surface plots, energy distributions Displays #photons, energy (keV, mJ), and fluence (J/cm2) per pulse
Linda Ott XTOD October 26, 2005 UCRL-PRES FluxViewer Help Manual By Richard Bionta Linda Ott Lawrence Livermore National Laboratory October, 2005 UCRL-CODE
Linda Ott XTOD October 26, 2005 UCRL-PRES Application Environment
Linda Ott XTOD October 26, 2005 UCRL-PRES Getting Started…. Select the dataset to view
Linda Ott XTOD October 26, 2005 UCRL-PRES Open Dataset
Linda Ott XTOD October 26, 2005 UCRL-PRES Surface Plot
Linda Ott XTOD October 26, 2005 UCRL-PRES Click on the Panel Tabs or Speed Buttons to select the panel to be displayed: Change Limitschange the query filters Surface Plot3D plot of the total number of photons in each cell Image Plot2D plot of the total number of photons in each cell Energy Plothistogram of the photon energies in all cells Fluence2D Fluence (Joule/cm^2) plot Plot Data tabular list of the data plotted in the surface and image plots DB Display view the dataset database Parametersview parameters used in generating the flux data ExportPrint/Copy/Save Charts/Data XLineOut histogram of values along x coordinates through selected gridpoint YLineOuthistogram of values along y coordinates through selected gridpoint Navigation
Linda Ott XTOD October 26, 2005 UCRL-PRES Change Limits
Linda Ott XTOD October 26, 2005 UCRL-PRES Image Plot
Linda Ott XTOD October 26, 2005 UCRL-PRES Energy Distribution in one cell (from click in Image Plot)
Linda Ott XTOD October 26, 2005 UCRL-PRES X, Y LineOuts (from click in Image Plot)
Linda Ott XTOD October 26, 2005 UCRL-PRES Energy Plot Energy distribution for all grid cells. Use the “Change Limits” Panel to define the X,Y,Energy Limits
Linda Ott XTOD October 26, 2005 UCRL-PRES Fluence Plot
Linda Ott XTOD October 26, 2005 UCRL-PRES Surface Plot Data This panel displays the surface and image plot data in tabular form
Linda Ott XTOD October 26, 2005 UCRL-PRES Database Display Displays the data contained in the MasterSpontaneous and SpontaneouBLOB database tables. The Master table contains the bin information for the X and Y Coordinates, and the Energy bins. The BLOB table contains the Number of photons in each X,Y,Energy bin. X coordinates
Linda Ott XTOD October 26, 2005 UCRL-PRES Database Display Select Table to display Energy bins
Linda Ott XTOD October 26, 2005 UCRL-PRES Parameters Displays parameters used to generate the dataset
Linda Ott XTOD October 26, 2005 UCRL-PRES Export Print chart or export charts and data to files or clipboard
Linda Ott XTOD October 26, 2005 UCRL-PRES Export a Chart
Linda Ott XTOD October 26, 2005 UCRL-PRES Export Data
Linda Ott XTOD October 26, 2005 UCRL-PRES X Line Out X and Y LineOuts are created when a user clicks on either an Image Plot or a Fluence Plot
Linda Ott XTOD October 26, 2005 UCRL-PRES Y Line Out The mouse can be used to expand A region. Click and drag to the right to define the Region. Drag mouse left to restore. Zoom In Zoom Out
Linda Ott XTOD October 26, 2005 UCRL-PRES Application and Datasets are on the LCLS Web Site The datasets are in directory: SpontaneousDBs The application is in directory: FluxViewer Project Page Maintenance L2/Dropbox Xray Transport | View#