Deployment of MONALISA algorithms and data inside LiCAS analysis framework Jack Hobbs 14/07/08 Java 14/07/08 slide 1.

Slides:



Advertisements
Similar presentations
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Advertisements

Learning the Language of Linear Algebra John Hannah (Canterbury, NZ) Sepideh Stewart (Oklahoma, US) Mike Thomas (Auckland, NZ)
Chapter 8: Long-Term Dynamics or Equilibrium 1.(8.1) Equilibrium 2.(8.2) Eigenvectors 3.(8.3) Stability 1.(8.1) Equilibrium 2.(8.2) Eigenvectors 3.(8.3)
Graphing Linear Equations In Slope-Intercept Form.
CPSC 322 Introduction to Artificial Intelligence October 29, 2004.
Week 1 LSP 120 Joanna Deszcz.  Relationship between 2 variables or quantities  Has a domain and a range  Domain – all logical input values  Range.
Multiple regression analysis
Ch 7.8: Repeated Eigenvalues
Deployment of MONALISA algorithms and data inside LiCAS analysis framework Jack Hobbs 22/07/08 Java 22/07/08 slide 1.
Deployment of MONALISA algorithms and data inside LiCAS analysis framework Jack Hobbs 21/08/08 Java 21/08/08 slide 1.
Symmetric Definite Generalized Eigenproblem
Bellevue University CIS 205: Introduction to Programming Using C++ Lecture 1: Getting Started by George Lamperti & BU Faculty.
Mr Barton’s Maths Notes

Graphing Linear Equations Section 1.2. Lehmann, Intermediate Algebra, 3ed Section 1.2 Consider the equation. Let’s find y when So, when, which cab be.
3D Graphics Goal: To produce 2D images of a mathematically described 3D environment Issues: –Describing the environment: Modeling (mostly later) –Computing.
Table of Contents Compound Linear Inequalities: Solving Algebraically Example: Algebraically solve, - 5 < 2x + 3  8. First break the compound inequality.
Introduction Solving inequalities is similar to solving equations. To find the solution to an inequality, use methods similar to those used in solving.
Unit Four - Functions 8.F.1 Understand that a function is a rule that assigns exactly one output to each input. The graph of a function is the set of ordered.
At St. Catherine’s we have written our own framework for teaching mathematics which has now been updated in line with the new curriculum. This allows.
Dominant Eigenvalues & The Power Method
Table of Contents Solving Linear Systems of Equations - Calculator Methods Consider the following augmented matrix... The rows can be written as... Row.
Extending Year 6 Key Skills to develop 1.Tackling a multi-stage problem 2.Hypothesising and then checking for accuracy 3.Expressing ideas clearly in written.
Introduction As we have already seen, exponential equations are equations that have the variable in the exponent. Some exponential equations are complex.
+ Review of Linear Algebra Optimization 1/14/10 Recitation Sivaraman Balakrishnan.
An introduction to R: get familiar with R Guangxu Liu Bio7932.
22 Feb 2005AGATA Week1 David Radford ORNL Signal Decomposition Algorithm for GRETINA.
A Level Computing#BristolMet Session Objectives U2#S9 MUST identify operators and operands SHOULD describe different types of operator COULD Create an.
Algebra 1-semester exam review By: Ricardo Blanco.
Deployment of MONALISA algorithms and data inside LiCAS analysis framework Jack Hobbs 06/08/08 Java 14/08/08 slide 1.
TURN ALGEBRA EXERCISES into COMMON CORE PRACTICE TASKS.
Ch 9.5: Predator-Prey Systems In Section 9.4 we discussed a model of two species that interact by competing for a common food supply or other natural resource.
Lecture 23 The Spherical Bicycle II 1 The story so far: We found the constraint matrix and the null space matrix We “cheated” a little bit in assessing.
Testing and Debugging Version 1.0. All kinds of things can go wrong when you are developing a program. The compiler discovers syntax errors in your code.
MATLAB Harri Saarnisaari, Part of Simulations and Tools for Telecommunication Course.
CMSC 1041 Algorithms II Software Development Life-Cycle.
Deployment of MONALISA algorithms and data inside LiCAS analysis framework Jack Hobbs 07/07/08 Java 07/07/08 slide 1.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
General Algorithms for Common Business Problems Simple Program Design Third Edition A Step-by-Step Approach 10.
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
Slide 1 Lesson 77 Offsetting Rates CP.4 Determine the offset for non-proportional relationships involving rates or ratios and represent them with lines.
th grade math Coordinate Graphing. Objective To graph and label points in a coordinate plane. Why? To know how to correctly read a graph and an.
LINEAR FUNCTIONS AND THEIR GRAPHS NC GOAL 4.01 Use linear functions or inequalities to model and solve problems; justify results. Solve using tables, graphs,
Employing the LiCAS analysis framework for MONALISA a.k.a. the "Java" project.
Lesson 2.8 Solving Systems of Equations by Elimination 1.
Use Flowchart modeling to design and create an interactive quiz to be run on Powerpoint. Start Question Click to start the quiz Correct Incorrect, try.
Algebra – Solving Systems of Linear Inequalities Objective: Students will solve systems of linear inequalities by graphing.
Trees Example More than one variable. The residual plot suggests that the linear model is satisfactory. The R squared value seems quite low though,
Copyright © 2013 Pearson Education, Inc. Section 3.2 Linear Equations in Two Variables.
Polynomials CHAPTER 5. Chapter – MODELING POLYNOMIALS.
1 Lecture 24: Controlling the Uncontrollable Building the Unbuildable How do we deal with this uncontrollable system? Can we extend the method of Zs to.
Row Reduction on Excel Michael D. Smith Lycoming College January 8, 2016.
Physics 114: Lecture 16 Least Squares Fit to Arbitrary Functions
Solving Systems of Linear Equations by Substitution
MapReduce “MapReduce allows us to stop thinking about fault tolerance.” Cathy O’Neil & Rachel Schutt, 2013.
Eigenfaces (for Face Recognition)
ENGG 1801 Engineering Computing
Three Dimensional Systems of Linear Ordinary Differential Equations
Bryan Burlingame 28 November 2018
CS105 Introduction to Computer Concepts Intro to programming
An Introduction to S-parameters
Graphing Linear Equations
Common Core #12 Part 2 Tell me everything you know about the graph:
Lecture 13 Teamwork Bryan Burlingame 1 May 2019.
Algebra 1B Chapter 4 Notes.
Diagonalization Prepared by Vince Zaccone
CS105 Introduction to Computer Concepts Intro to programming
Linear Equations & Graphing
Presentation transcript:

Deployment of MONALISA algorithms and data inside LiCAS analysis framework Jack Hobbs 14/07/08 Java 14/07/08 slide 1

The End of Last Week’s Work The File Reader classes were corrected to work. A main method was created to test the file interrogation and reading. On the first attempt it failed. I corrected some more errors and tested again. It failed again. There were no more errors in my code. This was a problem. Java 14/07/08 slide 2

The Problem The Core was written with a different problem in mind. A method for inspecting one of the HashMaps was not general enough. A HashMap is effectively a two column table, linking keys to data. For my file reader to work in the way it was written, the Core had to be edited to get rid of the error. Java 14/07/08 slide 3

The Detailed Problem Java 14/07/08 slide 4 HashMap > When interrogating the inner HashMap, the Core is expecting only one DataTypeKey paired to one Vector of DataWindows. With the multi-column problem I was solving, there were four D.T.K.s. This meant if I wanted the data for a given D.T.K., unless it happened to be the first in the HashMap, then the Core could not find the data.

The Core Paul and John agreed the Core should be fixed. Paul and I worked on a copy of the Core, correcting little errors all over the Core and generally tidying it up. I ran out of simple fixes to do, so I moved on to the next problem… Java 14/07/08 slide 5

Java 14/07/08 slide 6 Having spent last week reading in data it was time to do something with that data. Andrew has been plotting his 2 photodiode data columns and fitting ellipses to the distributions. The maths was outlined in a couple research paper along with example code. The code is written in MATLAB which implements old FORTRAN code to do some fairly complicated matrix algebra. Having seen the code and the linear algebra it seemed quite a big task. Analysis

Java 14/07/08 slide 7 Ellipse Fitting JAVA has no concept of a matrix built in. I was not going to spend a long time teaching it. Either I had to reference the MATLAB code in JAVA (completely negating the point of programming in JAVA) Or I had to find a matrix algebra package which had been already written. Google directed me towards a package called JAMA which seems to have all of the functionality I need.

Java 14/07/08 slide 8 Ellipse Fitting SC S a = λ C a S SIs the “Scatter” matrix – this originated from input data. C CIs the “Constraint” matrix – this originated from the requirement that the shape we are fitting is an ellipse. aIs a vector of conic constants which define the ellipse. where a x 2 + b xy + c y 2 + d x + e y + f = 0 C -1 SI (C -1 S) a = λ I a C -1 S λIs an eigenvalue of the matrix (C -1 S).

Ellipse Fitting The last property needed to determine the vector of conic constants was a property of the eigenvalue λ. The research paper proved that λ has only one negative value and this was the one we are looking for. Now it is simple: we just need to work out the eigenvalues and eigenvectors of a 6 x 6 matrix. JAMA takes care of the hard work so the program is relatively simple, a fraction of the size of the file reader. Java 14/07/08 slide 9

Next Week Tidy up and finalise the Ellipse fitter. Feed the ellipse fitter some data to test it and fix any errors. (The Core will need to be fixed first) Get working on the Carré phase extraction algorithm detailed in Paul Coe’s thesis. Java 14/07/08 slide 10