Transcript FluxViewer

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-76SF00515. This work was performed in support of the LCLS project at SLAC.
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
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
…
October 26, 2005
XTOD FluxViewer
User Supplied
LCLS Specific Code
Simulation
Modeling
Data Acquisition
Instrument Control
Analysis
…
LCLS Databases
Materials
Elements
Units
Cumlatives
ReBin
BLOB
Objective
CCD
…
UCRL-PRES-216279
Third Party Supplied
TeeChart Pro
Numerical Recipes
HDF5 library
HDFView
Device libraries
(eg.
Newport ESP6000
Motion Controller
PixelVision SDK)
Help & Manual
InstallShield
VisIt
Linda Ott
[email protected]
Simulations Data Flow Diagram
RawSpontaneous
Data Files
(UCLA,SLAC)
Make
Detailed Database
Tables
X Ray
Optics Constants
GridPointSpectrum
CumlativeX,Y,Energy
…
Flux Viewer
ReBin into
Coarser energy
bins
Photon
Monte Carlo
Applications
ReBin DB
Add FEL
Material DB
BLOB*DBs
Element DB
Attenuator
(Gas and Solid)
October 26, 2005
XTOD FluxViewer
Objective DB
Photon Electron
Calculator
Absorbed,
Transmitted,
Total Energy Monitor Design
Make BLOB
DB
Tables
Pixelator
(Change Pixel
Size)
UCRL-PRES-216279
Material DB
Element DB
CCD DB
Imager Design
Linda Ott
*Note: BLOB = Binary Large OBjects
[email protected]
Raw Spontaneous Data Calculations
Roman Tatchyn (SLAC)
ASCII files
Sven Reiche (UCLA)
HDF5 files
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Datasets
The dataset files must be downloaded
individually
There are 2 file types:
All undulator modules (9 datasets)
Single undulator module (22 datasets)
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
All Undulator Modules
Dir Name EOU (m)
S14GeV45
45
S4GeV45
45
S14GeV71
71
S4GeV71
71
S14GeV83
83
S4GeV83
83
S14GeV114
114
S4GeV114
114
S14GeV400
400
Dir Name:
EOU (m):
Linac E:
Position:
Linac E
14.08
4.5
14.08
4.5
14.08
4.5
14.08
4.5
14.34
Position
Beginning of Beam Dump
Beginning of Beam Dump
In Beam Dump (“PCPM2”)
In Beam Dump (“PCPM2”)
Beginning of FEE (“MUS1”)
Beginning of FEE (“MUS1”)
End of FEE (“MUS2”)
End of FEE (“MUS2”)
Far Hall
Directory name containing the dataset’s database tables
Position of simulation from the end of the undulator in meters
Linac energy in GeV
Approximate location of simulation in beam line
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Approximate Location of Spontaneous
Datasets in Beam Line
S14GeV45
S4GeV45
(45 m eou)
October 26, 2005
XTOD FluxViewer
S14GeV71
S4GeV71
(71 m eou)
S14GeV83
S4GeV83
(83 m eou)
UCRL-PRES-216279
S14GeV114
S4GeV114
(114 m eou)
S14GeV400
(400 m eou)
Linda Ott
[email protected]
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
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Single Undulator Module
Folder
EOU (m)
SMFirst4Gev
SMFirst14Gev
SMLast4Gev
SMLast14Gev
SMFirstDetuned-3
SMFirstDetuned-3_1eVBin
SMFirstDetuned-4
SMFirstDetuned-4_1eVBin
SMFirstNominal
SMFirstNominal_1eVBin
SMMidDetuned-3
SMMidDetuned-3_1eVBin
SMMidDetuned-4
SMMidDetuned-4_1eVBin
SMMidNominal
SMMidNominal_1eVBin
SMLastDetuned-3
SMLastDetuned-3_1eVBin
SMLastDetuned-4
SMLastDetuned-4_1eVBin
SMLastNominal
SMLastNominal_1eVBin
October 26, 2005
XTOD FluxViewer
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
114
Linac E
4.36
13.64
4.36
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
13.64
Purpose
camera specifications
camera specifications
camera specifications
camera specifications
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
K study
UCRL-PRES-216279
Linda Ott
[email protected]
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)
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
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)
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
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
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
FluxViewer
Help Manual
By
Richard Bionta
Linda Ott
Lawrence Livermore National Laboratory
October, 2005
UCRL-CODE-216513
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Application
Environment
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Getting Started….
Select the dataset to view
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Open Dataset
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Surface Plot
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Navigation
Click on the Panel Tabs or Speed Buttons to select the panel to be displayed:
Change Limits
Surface Plot
Image Plot
Energy Plot
Fluence
Plot Data
DB Display
Parameters
Export
XLineOut
YLineOut
October 26, 2005
XTOD FluxViewer
change the query filters
3D plot of the total number of photons in each cell
2D plot of the total number of photons in each cell
histogram of the photon energies in all cells
2D Fluence (Joule/cm^2) plot
tabular list of the data plotted in the surface and image plots
view the dataset database
view parameters used in generating the flux data
Print/Copy/Save Charts/Data
histogram of values along x coordinates through selected gridpoint
histogram of values along y coordinates through selected gridpoint
UCRL-PRES-216279
Linda Ott
[email protected]
Change Limits
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Image Plot
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Energy Distribution in one cell
(from click in Image Plot)
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
X, Y LineOuts (from click in Image Plot)
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Energy Plot
Energy distribution
for all grid cells.
Use the “Change Limits”
Panel to define the
X,Y,Energy Limits
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Fluence Plot
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Surface Plot Data
This panel displays the
surface and image plot
data in tabular form
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
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
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Database Display
Select
Table to display
Energy bins
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Parameters
Displays parameters used to generate the dataset
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Export
Print chart or
export charts
and data to files
or clipboard
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Export a Chart
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Export Data
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
X Line Out
X and Y LineOuts
are created when
a user clicks on
either an
Image Plot or a
Fluence Plot
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
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
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]
Application and Datasets
are on the LCLS Web Site
http://www-ssrl.slac.stanford.edu/lcls/
Project Page
Maintenance L2/Dropbox
Xray Transport | View#
https://www-lcls-internal.slac.stanford.edu/projectspace_L2/xray_transport/
The application is in directory: FluxViewer
The datasets are in directory: SpontaneousDBs
October 26, 2005
XTOD FluxViewer
UCRL-PRES-216279
Linda Ott
[email protected]