22 Feb 2005AGATA Week1 David Radford ORNL Signal Decomposition Algorithm for GRETINA.

Slides:



Advertisements
Similar presentations
Fast Fourier Transform for speeding up the multiplication of polynomials an Algorithm Visualization Alexandru Cioaca.
Advertisements

Chapter 9 Approximating Eigenvalues
1 Using Blind Search and Formal Concepts for Binary Factor Analysis Aleš Keprt
11/11/02 IDR Workshop Dealing With Location Uncertainty in Images Hasan F. Ates Princeton University 11/11/02.
Advanced GAmma Tracking Array
5/4/2015rew Accuracy increase in FDTD using two sets of staggered grids E. Shcherbakov May 9, 2006.
Experimental Design, Response Surface Analysis, and Optimization
Implementing the Probability Matrix Technique for Positron Emission Tomography By: Chris Markson Student Adviser: Dr. Kaufman.
Chapter 9 Gauss Elimination The Islamic University of Gaza
Computer Vision Optical Flow
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
Virtual Dart: An Augmented Reality Game on Mobile Device Supervisor: Professor Michael R. Lyu Prepared by: Lai Chung Sum Siu Ho Tung.
Linear Algebraic Equations
Structure from motion.
1 Vertex fitting Zeus student seminar May 9, 2003 Erik Maddox NIKHEF/UvA.
Announcements Quiz Thursday Quiz Review Tomorrow: AV Williams 4424, 4pm. Practice Quiz handout.
CSE 291 Seminar Presentation Andrew Cosand ECE CVRR
Curve-Fitting Regression
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Real-time Combined 2D+3D Active Appearance Models Jing Xiao, Simon Baker,Iain Matthew, and Takeo Kanade CVPR 2004 Presented by Pat Chan 23/11/2004.
TFIDF-space  An obvious way to combine TF-IDF: the coordinate of document in axis is given by  General form of consists of three parts: Local weight.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
Ordinary least squares regression (OLS)
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
1 Chris Rogers MICE Collaboration Meeting 11th Feb 2005 Tracking and Cooling performance of G4MICE.
1cs542g-term Notes  Extra class next week (Oct 12, not this Friday)  To submit your assignment: me the URL of a page containing (links to)
Self-organizing Learning Array based Value System — SOLAR-V Yinyin Liu EE690 Ohio University Spring 2005.
Introduction to Longitudinal Phase Space Tomography Duncan Scott.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Computer vision: models, learning and inference
Exercise problems for students taking the Programming Parallel Computers course. Janusz Kowalik Piotr Arlukowicz Tadeusz Puzniakowski Informatics Institute.
NUS CS5247 A dimensionality reduction approach to modeling protein flexibility By, By Miguel L. Teodoro, George N. Phillips J* and Lydia E. Kavraki Rice.
Chapter 2 Dimensionality Reduction. Linear Methods
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2014.
© 2004 Prentice-Hall, Inc.Chap 15-1 Basic Business Statistics (9 th Edition) Chapter 15 Multiple Regression Model Building.
GRETINA Signal Decomposition and Cross-talk GRETINA SWG Meeting NSCL, Sept 21, 2012 David Radford ORNL Physics Division.
Online Data Challenges David Lawrence, JLab Feb. 20, /20/14Online Data Challenges.
Siddarth Chandrasekaran “Advanced Spectroscopy in Chemistry” “Advanced Spectroscopy in Chemistry” University of Leipzig 18/12/2009 Module: Spectroscopy.
Multimodal Interaction Dr. Mike Spann
David Radford ORNL Oct 2006 GRETINA Signal Decomposition.
Non Negative Matrix Factorization
Fast Low-Frequency Impedance Extraction using a Volumetric 3D Integral Formulation A.MAFFUCCI, A. TAMBURRINO, S. VENTRE, F. VILLONE EURATOM/ENEA/CREATE.
Korea University Jung Lee, Computer Graphics Laboratory 3D Game Engine Design David H. Eberly 8.3 Special Surfaces 2001/11/13.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Learning to perceive how hand-written digits were drawn Geoffrey Hinton Canadian Institute for Advanced Research and University of Toronto.
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
Efficient Beam Selection for Hybrid Beamforming
Scientific Computing Singular Value Decomposition SVD.
SVD Data Compression: Application to 3D MHD Magnetic Field Data Diego del-Castillo-Negrete Steve Hirshman Ed d’Azevedo ORNL ORNL-PPPL LDRD Meeting ORNL.
Research Vignette: The TransCom3 Time-Dependent Global CO 2 Flux Inversion … and More David F. Baker NCAR 12 July 2007 David F. Baker NCAR 12 July 2007.
Technical Report of Web Mining Group Presented by: Mohsen Kamyar Ferdowsi University of Mashhad, WTLab.
BioSS reading group Adam Butler, 21 June 2006 Allen & Stott (2003) Estimating signal amplitudes in optimal fingerprinting, part I: theory. Climate dynamics,
David Radford ORNL Physics Division JUSTIPEN Workshop Jan 2008 GRETINA : Recent Developments.
Introduction to Linear Algebra Mark Goldman Emily Mackevicius.
Chapter 9 Gauss Elimination The Islamic University of Gaza
Shootout experiment GSFMA315 at a glance 122 Sn( 40 Ar[170MeV],4n) 158 Er 12 C( 84 Kr[394MeV],4n) 92 Mo GSGT 1:Mo,Tu 2:Tu,We,Th 3:Th,Fr 4:Sa High multiplicity.
1. Systems of Linear Equations and Matrices (8 Lectures) 1.1 Introduction to Systems of Linear Equations 1.2 Gaussian Elimination 1.3 Matrices and Matrix.
Regularization of energy-based representations Minimize total energy E p (u) + (1- )E d (u,d) E p (u) : Stabilizing function - a smoothness constraint.
Oceanography 569 Oceanographic Data Analysis Laboratory Kathie Kelly Applied Physics Laboratory 515 Ben Hall IR Bldg class web site: faculty.washington.edu/kellyapl/classes/ocean569_.
1 Chapter 6 Reformulation-Linearization Technique and Applications.
Unsupervised Learning II Feature Extraction
23 Jan 2012 Background shape estimates using sidebands Paul Dauncey G. Davies, D. Futyan, J. Hays, M. Jarvis, M. Kenzie, C. Seez, J. Virdee, N. Wardle.
Singular Value Decomposition and its applications
Zhu Han University of Houston Thanks for Dr. Hung Nguyen’s Slides
New algorithms for tuning the CLIC beam delivery system
T. Chernyakova, A. Aberdam, E. Bar-Ilan, Y. C. Eldar
Parallelization of Sparse Coding & Dictionary Learning
Maths for Signals and Systems Linear Algebra in Engineering Lectures 13 – 14, Tuesday 8th November 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR)
Presentation transcript:

22 Feb 2005AGATA Week1 David Radford ORNL Signal Decomposition Algorithm for GRETINA

22 Feb 2005AGATA Week2 Introduction to the problem Candidate algorithms Recent progress –Adaptive Grid Search –Singular Value Decomposition Plans and conclusions Outline

22 Feb 2005AGATA Week3 Signal Decomposition Digital pulse processing of segment data Uses data from both hit segments and image charges Extracts multiple interaction positions & energies Must allow for at least two interactions per hit segment Uses a set of calculated basis pulse shapes Done on a per-crystal basis Ideally suited to parallel processing Requires about 90% of total CPU cycles - The major processing bottleneck - Risk: baseline design allows ~ 4 ms/crystal/CPU for decomposition

22 Feb 2005AGATA Week4 Event Processing Crystal Event Builder Segment events Crystal events Signal Decomposition Interaction points Global Event Builder Tracking 36 segments per detector 1-30 crystals Global Events Data from Auxiliary Detectors Event Building Data Flow: Analysis & Archiving

22 Feb 2005AGATA Week5 Signal Decomposition Candidate algorithms: Adaptive Grid Search Singular Value Decomposition Constrained Least-Squares / Sequential Quadratic Programming When work begun in 2003, “best” algorithm was taking ~ 7 s / segment / CPU - would require ~ 10 5 CPUs

22 Feb 2005AGATA Week6 Signal Decomposition Most hit crystals have one or two hit segments Most hit segments have one or two interactions CPU time goes as AGS : ~ 100 n SVD : ~ n SQP : ~ n for n interactions

22 Feb 2005AGATA Week7 Signal Decomposition: AGS Adaptive Grid Search algorithm: Start on a course grid, to roughly localize the interactions, then refine the grid close by.

22 Feb 2005AGATA Week8 Signal Decomposition: SVD Singular Value Decomposition algorithm: Very roughly: Full “Least Squares” matrix is underdetermined (singular). But it can be decomposed into the product of three matrices, one of which contains the correlations (eigenvalues). By neglecting the small eigenvalues, the product can be inverted. Then an approximate fit can be obtained with very little computational effort, using a precalculated SVD inverse. The more eigenvalues kept, the higher the quality of the fit.

22 Feb 2005AGATA Week9 Signal Decomposition: SVD Singular Value Decomposition algorithm (early work, LBNL): Results of SVD in three dimensions for two interactions indicated by red squares. The upper row shows obtained probability distributions taking all possible positions into account. The bottom row shows the results after limiting the radius to the regions between the green lines. The final result agrees well with the input positions.

22 Feb 2005AGATA Week10 AGS: First efforts completed in 2003: Adaptive Grid Search, followed by constrained least-squares Grid search in position only; energy fractions are fitted (see following slides) interactions per hit segment Excellent results for single-segment events : – Converges for 100% of events – Reproduces positions of simulated events to < ½ mm – Very fast; ~ 7 ms/event/CPU (2 GHz P4)

22 Feb 2005AGATA Week11 AGS + SQP Example events Blue: measured Red: fitted

22 Feb 2005AGATA Week12 Some Math

22 Feb 2005AGATA Week13 Math Cont’d

22 Feb 2005AGATA Week14 AGS Some numbers for adaptive grid search: ~35000 grid points in 1/6 crystal (one column, 1x1x1 mm) 2x2x2mm (slices 1-3) or 3x3x3 mm (slices 4-6) coarse grid gives N  600 course grid points per segment. For two interactions in one segment, have N(N-1)/2  1.8 x 10 5 pairs of points for grid search. This takes ~ 3 ms/cpu to run through. But (N(N-1)/2) 2 ~ 3.2 x combinations for two interactions in each of 2 segments; totally unfeasible! Limit N to only 64 points; then (N(N-1)/2) 2 ~ 4 x 10 6 But (N(N-1)/2) 3 ~ 8 x 10 9 combinations for two interactions in each of 3 segments; still impossible.

22 Feb 2005AGATA Week15 AGS Cont’d Adaptive grid search fitting: Energies e i and e j are constrained, such that 0.1(e i +e j )  e i  0.9(e i +e j ) Once the best pair of positions (lowest  2 ) is found, then all neighbor pairs are examined on the finer (1x1x1 mm) grid. This is 9x9 = 81 pairs. If any of them are better, the procedure is repeated. For this later procedure, the summed signal-products cannot be precalculated. Finally, nonlinear least-squares (SQP) can be used to interpolate off the grid. This improves the fit ~ 50% of the time.

22 Feb 2005AGATA Week16 AGS: Recent progress Code has been completely rewritten in C - Translated from FORTRAN - Cleaner, easier to develop and maintain - Results verified to be identical, and slightly faster Extended to handle two-segment events - Up to four interactions total - Starts with one interaction per hit segment, then adds interactions - AGS again followed by constrained least-squares - Converges for 100% of events - Excellent speed; ~ 3-8 ms/event/CPU for 1 seg; ~ ms/event/CPU for 2 seg. (2GHz P4)

22 Feb 2005AGATA Week17 SVD: DOE SBIR (Phase I) with Tech-X Corp. - Funded to investigate alternative algorithms - Started with Singular Value Decomposition - Used signal basis developed for AGS Two-step SVD: - 2 mm grid (50 eigenvalues) to localize interaction region, followed by 1 mm grid (200 e.v.) over reduced space - Works perfectly for single interaction - Currently tested for up to 3x2 interactions - Results certainly good enough for input to SQP - CPU time linear in number of interactions: ~ 6 ms/segment/CPU (2GHz G5)

22 Feb 2005AGATA Week18 2D projections of SVD amplitudes Interaction sites at (13,9,11) and (8,11,11) New SVD Results x y z y

22 Feb 2005AGATA Week19 Current Concept 1 segment: AGS + SQP 2 segments: AGS + SQP or SVD + SQP ≥ 3 segments: SVD + SQP Need to include fitting of variable event time Cylindrical coordinate system (rather than Cartesian coordinates used presently) should save time and improve accuracy - constraints programmed into SQP Need to develop good metrics for performance

22 Feb 2005AGATA Week20 To-Do List Try to include three-segment events in AGS? Continue SVD development with Tech-X Corp SVD  least-squares SVD  grid search  least-squares Replace Cartesian coordinate system with cylindrical or quasi-cylindrical coord’s (begun) Allow for variation in event start time Allow for occasional three interactions/segment? Compare reliability of AGS and SVD results Examine failure modes in detail, develop metrics Deal with irregular-hexagonal detectors

22 Feb 2005AGATA Week21 Conclusion Excellent progress made over past 12 months - AGS for two-segment events - SVD development with Tech-X - looks very promising for 2 or more segments Final algorithm speed should be sufficient - Moore’s Law over 3-4 years