1 Magnetics measurements in NCSX: SVD/PCA methods-I Neil Pomphrey, Ed Lazarus Stellarator Theory Teleconference Sep. 23, 2004.

Slides:



Advertisements
Similar presentations
Face Recognition Sumitha Balasuriya.
Advertisements

On an Improved Chaos Shift Keying Communication Scheme Timothy J. Wren & Tai C. Yang.
Alignment Visual Recognition “Straighten your paths” Isaiah.
3D Geometry for Computer Graphics
Mutidimensional Data Analysis Growth of big databases requires important data processing.  Need for having methods allowing to extract this information.
An Introduction to Multivariate Analysis
Tensors and Component Analysis Musawir Ali. Tensor: Generalization of an n-dimensional array Vector: order-1 tensor Matrix: order-2 tensor Order-3 tensor.
Dimensionality Reduction PCA -- SVD
Principal Component Analysis (PCA) for Clustering Gene Expression Data K. Y. Yeung and W. L. Ruzzo.
PCA + SVD.
1er. Escuela Red ProTIC - Tandil, de Abril, 2006 Principal component analysis (PCA) is a technique that is useful for the compression and classification.
Response Surface Method Principle Component Analysis
Chapter 24 Gauss’s Law.
© 2003 by Davi GeigerComputer Vision September 2003 L1.1 Face Recognition Recognized Person Face Recognition.
Principal Component Analysis
Principal component analysis (PCA)
III–2 Magnetic Fields Due to Currents.
Chapter 24 Gauss’s Law.
The Terms that You Have to Know! Basis, Linear independent, Orthogonal Column space, Row space, Rank Linear combination Linear transformation Inner product.
Basic Concepts and Definitions Vector and Function Space. A finite or an infinite dimensional linear vector/function space described with set of non-unique.
Exploring Microarray data Javier Cabrera. Outline 1.Exploratory Analysis Steps. 2.Microarray Data as Multivariate Data. 3.Dimension Reduction 4.Correlation.
Separate multivariate observations
Engineering Mechanics: Statics
CS 485/685 Computer Vision Face Recognition Using Principal Components Analysis (PCA) M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
Face Recognition Using Neural Networks Presented By: Hadis Mohseni Leila Taghavi Atefeh Mirsafian.
Principal Component Analysis (PCA) for Clustering Gene Expression Data K. Y. Yeung and W. L. Ruzzo.
SVD(Singular Value Decomposition) and Its Applications
The Tutorial of Principal Component Analysis, Hierarchical Clustering, and Multidimensional Scaling Wenshan Wang.
Chapter 2 Dimensionality Reduction. Linear Methods
Principal Components Analysis BMTRY 726 3/27/14. Uses Goal: Explain the variability of a set of variables using a “small” set of linear combinations of.
TITLE RP1.019 : Eliminating islands in high-pressure free- boundary stellarator magnetohydrodynamic equilibrium solutions. S.R.Hudson, D.A.Monticello,
Xin He, Yashwant Malaiya, Anura P. Jayasumana Kenneth P
CSE554AlignmentSlide 1 CSE 554 Lecture 5: Alignment Fall 2011.
A Singular Value Decomposition Method For Inverting Line Integrated Electron Density Measurements in Magnetically Confined Plasma Christopher Carey, The.
Texture. Texture is an innate property of all surfaces (clouds, trees, bricks, hair etc…). It refers to visual patterns of homogeneity and does not result.
Principal Component Analysis Bamshad Mobasher DePaul University Bamshad Mobasher DePaul University.
N– variate Gaussian. Some important characteristics: 1)The pdf of n jointly Gaussian R.V.’s is completely described by means, variances and covariances.
Descriptive Statistics vs. Factor Analysis Descriptive statistics will inform on the prevalence of a phenomenon, among a given population, captured by.
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2013.
CHAPTER 5 SIGNAL SPACE ANALYSIS
Marketing Research Aaker, Kumar, Day and Leone Tenth Edition Instructor’s Presentation Slides 1.
Principal Components Analysis. Principal Components Analysis (PCA) A multivariate technique with the central aim of reducing the dimensionality of a multivariate.
Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.
A NOVEL METHOD FOR COLOR FACE RECOGNITION USING KNN CLASSIFIER
Last update Heejune Ahn, SeoulTech
Introduction to Linear Algebra Mark Goldman Emily Mackevicius.
PCA vs ICA vs LDA. How to represent images? Why representation methods are needed?? –Curse of dimensionality – width x height x channels –Noise reduction.
Principle Component Analysis and its use in MA clustering Lecture 12.
TITLE Stuart R.Hudson, D.A.Monticello, A.H.Reiman, D.J.Strickler, S.P.Hirshman, L-P. Ku, E.Lazarus, A.Brooks, M.C.Zarnstorff, A.H.Boozer, G-Y. Fu and G.H.Neilson.
Principal Component Analysis (PCA)
Principal Component Analysis (PCA)
Basic Theory (for curve 01). 1.1 Points and Vectors  Real life methods for constructing curves and surfaces often start with points and vectors, which.
Central limit theorem revisited Throw a dice twelve times- the distribution of values is not Gaussian Dice Value Number Of Occurrences.
Principal Components Analysis ( PCA)
Central limit theorem - go to web applet. Correlation maps vs. regression maps PNA is a time series of fluctuations in 500 mb heights PNA = 0.25 *
Multivariate statistical methods. Multivariate methods multivariate dataset – group of n objects, m variables (as a rule n>m, if possible). confirmation.
54th Annual Meeting of the APS Division of Plasma Physics, October 29 – November 2, 2012, Providence, Rhode Island 3-D Plasma Equilibrium Reconstruction.
Unsupervised Learning II Feature Extraction
Methods of multivariate analysis Ing. Jozef Palkovič, PhD.
PRINCIPAL COMPONENT ANALYSIS(PCA) EOFs and Principle Components; Selection Rules LECTURE 8 Supplementary Readings: Wilks, chapters 9.
EEE 431 Computational Methods in Electrodynamics
Mini-Revision Since week 5 we have learned about hypothesis testing:
Linear Algebra Review.
Exploring Microarray data
Finite difference code for 3D edge modelling
Dimension Reduction via PCA (Principal Component Analysis)
Statistical Methods For Engineers
Multivariate Analysis: Theory and Geometric Interpretation
Principal Component Analysis
Presentation transcript:

1 Magnetics measurements in NCSX: SVD/PCA methods-I Neil Pomphrey, Ed Lazarus Stellarator Theory Teleconference Sep. 23, 2004

2 Introduction A variety of magnetic diagnostics (MD’s) will be installed in NCSX and used for Shape Control (during shots) Equilibrium Reconstruction (between shots) 1) Define a method for selecting a “good” set of MD’s (optimizes the invertible information) 2) How much info. is available directly from external MD signals? – more than tokamaks? This presentation is a partial coverage of topic 2.

3 Target Function on Control Surface (CS) A database of VMEC equilibria (many hundreds) is being generated with a wide range of shapes and profiles. B-fields from each of the equilibria are calculated on a single “Control Surface” (CS) that lies 1cm outside the envelope of all equilibria. These are distributions, b j (  ), j = 1…N eq Magnetic signals d j (x d ) are also calculated for each candidate diagnostic using V3RFUN and V3POST. The b j (  ) are targets for the d j (x d ). If the targets are reproduced with adequate precision the MD’s should provide sufficient information for control and equilibrium reconstruction!

4 The Equilibria in the Database have a wide variety of shapes A surface is defined (the “Control Surface”, CS) which encloses all plasmas in the database. It lies 1cm outside of the envelope of all equilibria. The B  from each equilibrium is calculated by V3RFUN/V3POST and stored for analysis. CS

5 Current Profiles in Database (last 3 digits of AC profile id shown) Profiles with (s) > 0 for all s (last 3 digits of AC id shown) Profiles with (s) changing sign at some s

6 Pressure Profiles in Database Profiles with P_edge = 0 (last 3 digits of AM id shown) Profiles with P_edge finite

7 Equilibrium Database Parameters B t (T) I p (kA) I p (kA)  (%) 4.0   dge  axis (cm) R 0 (cm) A R 0 (cm) Waist  =0 (cm) height  =0 (cm) height  =  (cm) Waist  =  (cm)

8 Data Preparation and Expansion in EOF’s For each equilibrium, labelled by index j, calculate B  on a uniform mesh of M points on the CS. (This is b j (  ) Store the signal as an M-element column vector x j. Data from N eq equilibria naturally forms an MxN eq matrix, X. Each column of X (B  signal on the CS) has an exact expansion as a linear combination of min(M,N eq ) orthogonal patterns (called Empirical Orthogonal Eigenfunctions (EOFs) The EOFs are eigenfunctions of the correlation matrix C = X X T. The calculation of EOFs is most conveniently done by Singular Value Decomposition of X

9 SVD: X MxN eq = U MxM W MxN eq V T N eq xN eq equivalent to x j =  (V jk w k ) u k ≡  Z k (j) u k Note: x j ( l ) =  Z k (j) u k, minimizes  ||x j – x j ( l ) || Singular Value Decomposition (SVD), Principal Components, and EOF’s k th column of U: Empirical Orthogonal Functions (EOFs). j th column of X Score for j th observation on k th Principal Component (PC) k=1 l M M

10 Interpretation of Principal Components Since x j =  Z k (j) u k, orthonormality of the EOFs => x j u k = Z k (j) k=1 M LHS is essentially an overlap integral. For X = matrix of B  signals, Principal Component ”score” Z k (j) = ∫∫d  d  B  (j) (  ) u (k) (  ) measures importance of k th EOF in determining the shape of j th equilibrium signal on the CS.

11 Interpretation (Cont) SVD on X = U W V T can be interpreted as a variable transformation X := Z = U T X (= WV T ) Z 1j = U 11 X 1j + U 21 X 2j + U 31 X 3j + … (= W 1 V j1 ) Z 2j = U 12 X 1j + U 22 X 2j + U 32 X 3j + … (= W 2 V j2 ) Z 3j = U 13 X 1j + U 23 X 2j + U 33 X 3j + … (= W 3 V j3 ) … … … … … … etc … … … … … … … … The U ij are weights which measure the contribution of each of the original variables to the variance of the data in the transformed coordinates  means for selection/rejection of candidate magnetic diagnostics.

12 Find 8 significant singular values, corresponding to 8 independent, orthogonal, patterns of B  on the CS. The 8 patterns are to be expected because we have 8 equilibrium coil current groups (M1-3, TF, PF3-6). s.v. index Log10 [w(k)/w(1)] s.v. index Log10 [w(k)/w(1)] equilibria in database Singular Value Analysis of Vacuum Signal (B  Total - B  Plasma ) on Control Surface

13 Correlation EOF’s for Vac. Signal on CS (#s 1, 2) EOF 1 Min=-3.33e-02, Max=+3.32e-02 Phi=0 cut Phi=60 deg cut Phi=0 cutPhi=60 deg cut Theta (degrees) Phi(0  120) Theta(0  360)) EOF(theta,phi=0) EOF(theta,phi=60) EOF(theta,phi=0) EOF 2 Min=-8.11e-02, Max=+6.08e-02

14 SVD Analysis of B  Plasma Log10 [w(k)/w(1)] s.v. index Log10 [w(k)/w(1)] s.v. index 0.0 [W(k+1) – w(k)] / w(1) s.v. index First 2 dominant patterns of B  plasma contribute 94.5% of total variance. Next 3 contribute an additional 4.0%. Speculate 2, and possibly up to 5, combined moments of p(s) and (s) may be measurable Significant break in slope after 2 nd s.v. Second break here after 5 Saturation => no significant additional contribution to variance from adding more patterns

15 How many independent pieces of information (PC’s) are available from the Data Matrix? Several procedures (mainly ad hoc) Broken Stick Rule: Retain principal components for which L(k) = (w k /w 1 ) 2 > 1/N  j -1 (expected length of k th longest segment of a stick of unit length broken at random into N segments) Average Based: Retain PC’s for which w k 2 > 0.7 Cumulative Variance Based: Retain as many PC’s as necessary to bring the cumulative variance of the retained PC’s up to some desired value, say 95% of the total variance – i.e., find k such that  w j 2 /  w j 2 > 0.95 j=k N j=1 kN

16 Correlation EOF’s for Plasma Signal on CS (#s 1, 2) More structure (shorter wavelength) seen here than for vacuum signal – simply distance attenuation? Theta(0  360)) EOF 1 Min=-3.86e-02, Max=+6.47e-03 EOF 1 Min=-4.28e-02, Max=+4.52e-02Phi=0 cut Phi=60 deg cut Theta (degrees) Phi(0  120)

17 PC Scores (All Equilibria) Z 3 (j) Z 2 (j) Z 1 (j) Z 3 (j) Z 1 (j) Z 2 (j) Each dot represents a particular equilibrium. All equilibria in the 07/15/04 database are shown. As an attempt to discover what properties of the equilibria are responsible for the dominant B  signal patterns, try color coding.

18 PC2 vs PC1 with Color Coding for Various Plasma Properties Sort by color on J.B profile shape (only profiles with J.B > 0 everywhere) Sort by color on P profile shape (only profiles with Pedge = 0) Would like to see a separation of colors along one or other of the axes, thereby associating a particular pattern of B  with a profile parameter variation. A sensible guess for the appropriate profile parameters for color separation are l i /2 and  pol

19 Current and Pressure Profiles in Database

20 PC2 vs PC1 with Color Coding for Various Plasma Properties Sort by color on value of  Sort by color on value of I p  and I p not individually responsible for the two dominant B  patterns.

21 Why should we think any of this is possible? Because of results obtained from a similar analysis using equilibria from the plasma flexibiliity studies made in preparation for the CDR. There, we had a much more limited set of equilibria, but with the advantage of systematic variation of profiles and plasma parameters.

22 As a test case, consider magnetic measurements for 2 groups of equilibria where the current profile is varied at fixed I p and . 1 st group: 6 equilibria where is varied in core region (red) 2 nd group: 2 equilibria where current is added to the edge (blue) S Can we detect current profile variation from external magnetic measurements?

23 PCA provides a method for distinguishing equilibria - The B  -matrix on the CS is analysed by Singular Value Decomposition. X = U W V T - According to this decomposition, the columns of U (denote by u k ) provide a basis for the expansion of any of the field patterns (columns of X) on the CS. -The u k are called Empirical Orthogonal Functions (EOF’s) and the coefficients of the {u k } are called Principal Components. - A linear combination of the first few EOF’s can describe much of the variation in the data. A 2D scatterplot of the first two PC’s of the B  -matrix data corresponding to the 8 equilibria in the J-profile scan distinguishes equilibria where the current profile was varied in the core (red cluster) and equilibria where edge current was added (blue cluster). Cluster Plot of PC2 vs PC1 for J-Profile Scan Z 1 (j) Z 2 (j) J in core region was varied for these equilibria J at edge was varied for these equilibria

24 Therefore if analysis of the B  signals on the CS can distinguish between these equilibria, it is mainly due to the profile variation, not the consequent shape variation. Note: The plasma boundary shape variation is very small between these 8 equilibria

25 -The B  pattern change is subtle. - Principal Component Analysis (PCA) can distinguish the equilibria.  =0.0  = S  =0.5  =0.0 B  signals on Control Surface for equilibria with different -profile shapes (fixed I p and  )

26 Projection onto plane of the leading 2 principal components separates an I p -  equilibrium sequence Z 1 (j) Z 2 (j)  IpIp I p =0.kA 44.kA 87.5.kA 135.kA 174.kA 23 equilibria with constant (s) and p(s) profiles

27 Difference between B ┴ signals on CS for  =0.0 and  =0.5