Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of...

29
Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for mathematical physics and applied mathematics Joint work with Petr Šeba M 3 Q, Bressanone February 26, 2007

Transcript of Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of...

Page 1: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Analysis of Medical Time Series Using Methods of Mathematical

Physics

Jan Kříž

Department of physics,University of Hradec Králové

Doppler Institute for mathematical physics and applied mathematics

Joint work with Petr Šeba

M3Q, Bressanone February 26, 2007

Page 2: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MOTIVATION

YES !!!YES !!!

Is analysis of medical time series Is analysis of medical time series a suitable topic for M a suitable topic for M33Q school-conference?Q school-conference?

MM33Q: Q: Mathematical Methods in Quantum Mechanics

We exploit mathematical methods commonly used in quantum mechanics for data processing, namely:

• Differential geometry: Differential geometry: quantum waveguides theory• Maximum likelihood estimation:Maximum likelihood estimation: quantum state

reconstruction• Random matrix theory: Random matrix theory: quantum billiards

Page 3: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MOTIVATION

Why do we do this?Why do we do this?

Page 4: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MOTIVATION

Why do we do this?Why do we do this?

Quantum mechanics: no tradition in HK

Medical research has been provided inHK for more than fifty years.

Page 5: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

Force plateForce plate

Measured are the three force and three momentum components, i.e. 6-dimensional multivariate time series

Page 6: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

Page 7: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

Page 8: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

For a reclining subject the motion of the internal masses within the body has a crucial effect.

Measured ground reaction forces contain information on the blood mass transient flow at

each heartbeat and on the movement of the heart itself. (There are also other sources of the internal mass motion that cannot be suppressed, like the stomach activity etc, but they are much

slower and do not display a periodic-like pattern.)

Page 9: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Multivariate signal – processprocess: multidimensional time-parameterized curve.

Measured channels: projections of the curve to given axes.

Measured forces and moments (projections) depend on the position of the pacient on the bed and on the position of the heart inside the body. The measured process remains unchanged.

Characterizing the curve: geometrical invariants.

Differential geometry & human cardiovascular dynamics measured by force

plate

Page 10: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

Curvatures - Curvatures - Geometrical invariants of a curveGeometrical invariants of a curve

The main message of the differential geometry: It is more natural to describe local properties of the curve in terms of a local reference system than using a global one like the euclidean coordinates.

Frenet frameFrenet frame is a moving reference frame of orthonormal vectors which are used to describe a

curve locally at each point.

Page 11: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

To see a “Frenet frame” animationclick here

Page 12: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

Relation between the local reference frame and its changes

Curvatures are invariant under reparametrization and Eucleidian transformations!

Therefore they are geometric properties of the curve. On the other hand, the curve is uniquely (up to Eucleidian

transformations) given by its curvatures.

Frenet – Serret formulaeFrenet – Serret formulae

Page 13: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

5 curvatures were evaluated from 6 force plate signals.

Starting point of cardiac cycle: QRS complex of ECG. Length of the cycle: approximately 1000 ms

The mean over cardiac cycles was taken.

P-wave(systola of atria)

Q -wave

R-wave

S-wave

T-wave(repolarization)

QRS complex(systola of ventricles)

Differential geometry & human cardiovascular dynamics measured by force

plate

Page 14: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plate

Page 15: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & human cardiovascular dynamics measured by force

plateQuestion of interpretationQuestion of interpretation

The curvature maxima correspond to sudden changes of the curve, i.e. to rapid changes in the direction of the

motion of internal masses within the body.

The curvature maxima are associated with significant mechanical events, e.g. rapid heart expand/contract

movements, opening/closure of the valves, arriving of the pulse wave to various aortic branchings,...

The hypothesis was “proven“ by comparison of measurements using force plate and cardiac

catheterization.

Page 16: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Cardiac Catheterization involves passing a catheter (= a thin flexible tube) from the groin or the arm into the heart

produces angiograms (x-ray images)

can measure pressures in left ventricle and aorta

Page 17: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Differential geometry & quantum waveguides theory

• Exner, Seba, J. Math. Phys. 30 (1989), 2574-2580.

• Duclos, Exner, Rev. Math. Phys. 7 (1995), 73-102.

• Krejcirik, JK, Publ. RIMS 41 (2005), 757-791.

Curvatures play a crucial role in spectral properties of Curvatures play a crucial role in spectral properties of quantum waveguidesquantum waveguides

Page 18: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

EEG = electroencephalographyEEG = electroencephalography measures electric potentials on the scalp

(generated by neuronal activity in the brain)

MLE & human multiepoch EEG

Page 19: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Evoked potentialsEvoked potentials= responses to the external stimulus (auditory,

visual, etc.) sensory and cognitive processing in the brain

MLE & human multiepoch EEG

Page 20: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MLE & human multiepoch EEG

Page 21: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Basic concept of MLE Basic concept of MLE (R.A. Fisher in 1920’s)

• assume pdf f of random vector y depending on a parameter set w, i.e. f(y|w)

• it determines the probability of observing the data vector y (in dependence on the parameters w)

• however, we are faced with inverse problem: we have given data vector and we do not know parameters

• define likelihood function l by reversing the roles of data and parameter vectors, i.e. l(w|y) = f(y|w).

• MLE maximizes l over all parameters w• that is, given the observed data (and a model of

interest), find the pdf, that is most likely to produce the given data.

MLE & human multiepoch EEG

Page 22: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Baryshnikov, B.V., Van Veen, B.D. and Wakai R.T., IEEE Trans. Biomed. Eng. 51 ( 2004), p. 1981 – 1993.

Experiment: Experiment: even, odd numbers recognition63 – channel EEG device 100 epochs

Assumptions: Assumptions: response is the same across all epochs,noise is independent from trial to trial,it is temporally white, but spatially colouredit is normally distributed with zero mean

MLE & human multiepoch EEG

Page 23: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Experiment: Experiment:

MLE & human multiepoch EEG

Page 24: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

N … spatial channels , T … time samples per epochJ … number of epochs ( N=63, T=666, J=100)

data for j-th epoch: Xj = S + Wj ... N x T matrix

Estimate of repeated signal S in the form

S=HS=HCCTT

C … known T x L matrix of temporal basis vectors, known frequency band is used to construct C

H … unknown N x P matrix of spatial basis vectors … unknown P x L matrix of coefficients

Model is purely linear, spatiallModel is purely linear, spatially-y-temporalltemporallyy nonlocal nonlocal

MLE & human multiepoch EEG

Page 25: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

Filtering and averaging1. Filter data (4th order Butterworth filter with passband 1-20 Hz)2. Average data over all epochs- local in both temoral and spatial dimension

MLE & human multiepoch EEG

Commonly used methodCommonly used method

Page 26: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MLE & human multiepoch EEG

Results: channels 57-60Results: channels 57-60

Page 27: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MLE & human multiepoch EEG

Results: channels 25-28Results: channels 25-28

Page 28: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MLE & human multiepoch EEG

ResultsResults

Page 29: Analysis of Medical Time Series Using Methods of Mathematical Physics Jan Kříž Department of physics, University of Hradec Králové Doppler Institute for.

MLE & human multiepoch EEG

Hradil, Řeháček, Fiurášek, Ježek, Maximum Likelihood Methods in Quantum Mechanics, in Quantum State Estimation, Lecture Notes in Physics (ed. M.G.A. Paris, J. Rehacek), 59-112, Springer, 2004.

MLE MLE & quantum state reconstruction& quantum state reconstruction