560 likes | 696 Views
1: Tutorial for ASSC9 24 June 2005 Part 2. New developments in EEG research Part 2. Spatial analysis in four steps. Walter J Freeman University of California at Berkeley http://sulcus.berkeley.edu. 2: Steps in spatial EEG Analysis. Steps in spatial EEG Analysis:
E N D
1: Tutorial for ASSC9 24 June 2005 Part 2 New developments in EEG research Part 2. Spatial analysis in four steps Walter J Freeman University of California at Berkeley http://sulcus.berkeley.edu
2: Steps in spatial EEG Analysis Steps in spatial EEG Analysis: Electrode design 2. Spatial spectral analysis 3. Spatial pattern classification 4. Location of frames in time
3: John von Neumann 1 Early on I.T. was repudiated by the key designer of the serial digital computer: “Whatever the language of the brain is, it cannot fail to differ considerably from what we consciously and explicitly consider as mathematics.” The Computer and the Brain New Haven: Yale UP, 1952 Jancsi von Neumann 1904-1958
4: John von Neumann 2 “Brains lack the arithmetic and logical depth that characterize our computations… .” “We require exquisite numerical precision over many logical steps to achieve what brains accomplish in very few short steps.” John von Neumann
Step One: Spatial sampling vs. spatial function Step One in spatial EEG Analysis: Electrode design Clinical arrays give spatial samples; Widely spaced. Sparse sampling gives temporal modular signals. High-density arrays give spatial patterns: Closely spaced. High resolution gives access to spatial patterns. Walter J Freeman University of California at Berkeley
Scalp EEG Blink artifact
Standard clinical montage Standard 10-20 montage for clinical scalp EEG recording Referential Bipolar
Structural MRI with 64 electrodes WJF courtesy of Jeff Duyn at NIH and Thomas Witzel at MIT
Scalp recording with high density linear array Extracranial arrays This photographic montage shows the pial surface of my ‘brain in a vat’, pro-jected to the scalp. Gyri are light, sulci dark. EEG were from 64 electrodes. From Freeman et al. 2003 Walter J Freeman University of California at Berkeley
Step Three: Spatial spectral analysis Step Two in spatial EEG analysis: Spatial spectra The electrode spacing corresponds to the digitizing step in time: 3 ms gives practical Nyquist frequency = 125 Hz. A sample rate of 3.33/cm (3 mm interval) on the scalp gives the practical Nyquist frequency: 1.0 cycle/cm. The spatial power spectral density PSDx gives the basis for choosing the optimal spatial sample interval. The PSDt is from 1000 steps, averaged over 64 EEGs. The PSDx is from 64 channels, averaged over 1000 steps. Walter J Freeman University of California at Berkeley
Temporal spectra from frontal scalp From Freeman et al. 2003
Spatial spectrum of the gyri-sulci & EEG From Freeman et al. 2003 Walter J Freeman University of California at Berkeley
Comparison of scalp and intracranial PSDx The pial PSDx is 1/f, but the scalp PSDx is not, due to impedances of dura, skull and scalp, yet a prominent peak persists @ .1-.3 c/cm. From Freeman et al. 2003
Explain the spatial spectral peak at the frequency of gyri A peak appears only if the beta-gamma waves are synchronous over long distances (to 19 cm).
Decomposition of spatial spectrum by temporal pass band From Freeman et al. 2003
A temporal pulse has the spatial frequency of the gyri. From Freeman et al. 2003
Needs to be met by use of the Hilbert transform • The Hilbert transform is needed to detect and measure the temporal pulse in EEG activity. • A wide electrode array is needed to detect pulses. • Temporal band pass filtering is needed to reduce spurious phase slip. • An objective criterion is needed to set the filter in the beta or gamma range. A tuning curve is constructed using the cospectrum between unfiltered alpha and the SDx of the phase.
Numerical instability of Hilbert transform without filtering Noise and nonlinearity in broad-spectrum signals give the appearance of random walk or a Markov process known as ‘phase slip’. Band pass temporal filtering is essential to make sense of the data.
Construction of tuning curves for optimized band pass filters
Partial synchronization across the frontal area Co-spectra of raw EEG vs. phase SDx From Freeman, Burke & Holmes, 2003 Walter J Freeman University of California at Berkeley
Comparison of CAPD in the beta and gamma ranges From Freeman, Burke & Holmes, 2003 Walter J Freeman University of California at Berkeley
Spatial filtering to clarify analytic phase differences Band 12-30 Hz From Freeman, Burke & Holmes, 2003 Walter J Freeman University of California at Berkeley
Step Three: pattern classification Step Three in spatial EEG analysis: Pattern classification • Analysis of olfactory bulbar EEGs reveals repeated state transitions induced by respiration. • The gamma activity is generated by global interactions, so that the same wave form appears on all channels with intracranial recording. • The spatial patterns of amplitude modulation of the carrier wave form are modified by training.
An inhalation triggers a statetransition to an attractor in a landscape. A stimulus selects a category of input.
Electrode arrays on rabbit neocortex and olfactory parts Cognitive-related EEG information is in the spatial domain. Left hemisphere of the rabbit brain. Squares show 8x8 electrode arrays. Circles show modal and 95% diameter activity domains.
Spatial patterns of EEG Each new pattern of neural activity has the form of amplitude modulation (AM) of an aperiodic carrier wave in the beta or gamma range. AM patterns change under classical and operant conditioning.
Stepwise discriminant analysis Each frame gives a point in 64-space. Multiple frames are projected into 2-space for classification, here by stepwise discriminant analysis. Similar patterns give clusters of points.
Distribution of classificatory information Classificatory information is spatially distributed. Correct classification depends on the number of channels, not their locations. No channel is more or less important than any other. The spatial density of information is uniform, despite variation in content.
Karl Lashley Lashley’s Dilemma ‘Generalization is one of the most primitive basic functions of organized nervous tissue.’ … ‘Here is the dilemma. Nerve impulses are transmitted through definite cell-to-cell connections. Yet all behavior is determined by masses of excitation. … The problem is universal in activities of the nervous system.’ Karl Lashley (1942) His dilemma is resolved by neurodynamics.
AM patterns lack invariance with respect to stimuli. AM pattern classification in serial conditioning.
Comparisonof EEGs from paleocortex and neocortex Visual cortical EEGs give 1/f power spectral densities. From Barrie, Freeman & Lenhart, 1996
Spatial patterns, visual cortex Above: 64 EEGs unfiltered. Right: Contour plots of gamma amplitude at three latencies.
Algorithm for binary classification by Euclidean distance 1. Collect 40 trials artifact-free: 20 reinforced = CS+; 20 not reinforced = CS-. 2. Divide into 10 each training cases and test cases and calculate centers of gravity of training cases in 64-space. 3. Find the distance of each test case to the nearest centroid, and tabulate which cases are correct or incorrect. 4. Cross-validate by reversing test and training sets. 5. Estimate the binomial probability of the level of correct classification having occurred by chance.
Classification of AM patterns in the beta range p = .01 p = .05
Define a new measure for pattern stability • Define a new measure for pattern stability: • De is the Euclidean distance between successive points in N-space given by the square of the analytic amplitude, after normalization of frame amplitude to • unit variance at each step. • De tends to maintain low values during high values of analytic amplitude.
Relation of De to analytic amplitude Increased amplitude follows pattern stabilization.
A new measure of synchrony is the ratio of variances Frequency = 23.4 Hz Pass band = 20-50 Hz Window = 2 cycles, 86 ms 1/Re = Mean of the SDt / SDt of the mean
Compare Re and De Pattern stability follows onset of phase synchrony.
The sequence of a cortical state transition • Step 1: The phase of gamma oscillation is re-set, as shown by the jump and plateau in SDt. • Step 2: The cortical oscillations are re-synchronized, as shown by the rise in Re (fall in 1/Re). • Step 3: The rate of change in spatial pattern falls rapidly, as shown by the decrease in De. • Step 4: The analytic amplitude increases to a peak, as shown by the rise in A2(t).
Step Four: location of frames Step Four in spatial EEG analysis: Location of frames The Hilbert transform provides two forms of useful information. • Analytic phase locates frames in time, in which linearity and stationarity hold to good approximation; • Analytic amplitude gives: 1. Evidence for the level of stability of AM patterns, 2. The identity of AM patterns within frames, 3. The intensity of cortical transmission.
Nonlinear mapping [Sammon, 1969] Nonlinear mapping [Sammon, 1969] • • Define an initial plane by the 2 axes with largest variance by PCA • • Calculate the N(N - 1)/2 Euclidean distances between the points in 64-space and between the points in 2-space • • Define an error function by the normalized differences between the two sets of distances • • Minimize the error by steepest gradient descent • Classification [Barrie, Holcman and Freeman [1999] • • Define the number of clusters; label the N points by membership • • Calculate the center of gravity for the points in each cluster • • For every point find the Euclidean distance to closest center of gravity • • Classify as 'correct' or 'incorrect' • • Display the points and draw a line between clusters
Classification using tuning curve and 3x64 frames • An optimal threshold for selecting frames based on some measure of amplitude is found by systematic change in threshold while re-calculating goodness of classification.