68
Applications of Cellular Automata in Cardiac and Ecological Systems 國國國國國國國國國 國國國 4/28/2006

Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Embed Size (px)

Citation preview

Page 1: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Applications of Cellular Automata in Cardiac and Ecological Systems

國立東華大學物理系

蕭又新4/28/2006

Page 2: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Outline: Cardiac Systems

Heart rate variability Action potential and Cardiac cells Arrhythmias and spiral waves Spiral waves described by partial differential

equations Cellular automata approach

Page 3: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Cardiac activity and ECG

Page 4: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006
Page 5: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

正常人的心率及 R-R分佈圖

食用搖頭丸的女性患者

Page 6: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Action Potential in a Ventricular Action Potential in a Ventricular Cell Cell

動作電位週期

動作電位週期

舒張區間

舒張區間

Page 7: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

APD versus DIAPD versus DI

Page 8: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Restitution Curve by ExperimentRestitution Curve by Experiment

Restitution Curve in canine endocardial muscle

Koller, Marcus L. et al. Dynamic restitution of action potential duration during electrical alternans and ventricular fibrillation. Am. J. Physiol. 275(Heart Circ. Physiol. 44): H1635-H1642, 1998.

Page 9: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

APDAPD 、、 DI and T(CL)DI and T(CL)

TDA

DRA

nn

nn

)(1

Page 10: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Restitution CurveRestitution Curve

Page 11: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Conduction BlockConduction Block

Spatially distributed action potential dynamics in a canine cardiac Purkinje fiber

Jeffrey J. Fox et al. Spatiotemporal Transition to Conduction Block in Canine Ventricle. Circ Res. 2002;90:289-296

Page 12: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Normal Rhythm and Arrhythmias

Normal sinus rhythm

60~100 beats per minute Ectopic rhythms

For examples : Ventricular tachycardia(心室頻脈 )

Ventricular fibrillation(心室顫動 )

Page 13: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Ventricular Tachycardia (VT)

Ventricular tachycardia (VT) is a tachydysrhythmia originating from a ventricular ectopic focus, characterized by a rate typically greater than 120 beats per minute and wide QRS complexes.

VT may be monomorphic or polymorphic. Nonsustained VT is defined as a run of tachycardia of less than 30 seconds duration; a longer duration is considered sustained VT.

Referencehttp://www.emedicine.com/

Page 14: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Ventricular Fibrillation (VF)

What is ventricular fibrillation? The heart beats when electrical signals move through it. Ventricular fibrillation is a condition in which the heart's electrical activity becomes disordered. When this happens, the heart's lower chambers contract in a rapid, unsynchronized way. The heart pumps little or no blood.

Page 15: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

VT and VF in Electrocardiogram

Reference: Chaos, Solitons and Fractals Vol.13 (2002) 1755.

Page 16: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Normal Rhythm

ventricle cells 2.5 days in culture 8 day old embryo 0.8 ml plating density recorded temp: 36 deg.

C each frame is

approximately 1 cm square

Reference :Optical Mapping Image Database

http://www.cnd.mcgill.ca/bios/bub/imagebase.html

Page 17: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spiral Waves

ventricle cells 2 days in culture 8 day old embryo recorded temp: 36 deg

C. each frame is approxim

ately 1 cm square

Reference :Optical Mapping Image Database

http://www.cnd.mcgill.ca/bios/bub/imagebase.html

Page 18: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spiral Waves Breakup

ventricle cells 2 days in culture 8 day old embryo 0.4 ml plating density alphaGA acid 50ul recorded temp: 36 deg C. each frame is approximately

1 cm square

Reference :Optical Mapping Image Database

http://www.cnd.mcgill.ca/bios/bub/imagebase.html

Page 19: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Experimental Results for Multi-armed Spirals in Cardiac Tissue

Reference: PNAS, vol. 101, p15530 (2004).

Page 20: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Aliev-Panfilov Model

)1()(

)1)((

2

1

2

2

2

2

bekere

r

t

r

ereaekey

e

x

ed

t

e

Page 21: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Cable TheoryCable Theory

)/(1

/

1

;

2

2

2

2

2

2

axialm

mion

ionmaxial

mcioncm

maxial

rCDx

VDCI

t

V

It

VC

x

V

r

dt

dVCIIII

Irx

V

Page 22: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Normal Rhythm and Conduction Block

Simulation results of normal rhythm and conduction block

Page 23: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spiral Waves Formation and Breakup

Page 24: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Action Potential in Cardiac Muscle

Page 25: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Cellular Automata in Cardiac Tissue

Activation state (6 time units)

Refractory state (3 time units)

Rest state Nearest-neighbor

coupling

Page 26: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Target Waves

Page 27: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spiral Waves Formation (I)

Page 28: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spiral Waves Formation (II)

Page 29: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Wave Breaks by Considering Spatial-Modulation of the Refractory Period

Page 30: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Wave Breaks Occurring by Heterogeneity :Alain Karma, PNAS 97, 5687 (2000)

Page 31: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Simulated 3D Spirals Based on MRI Images

256X256 grids for each frame

Page 32: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006
Page 33: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Enjoy Music Coming from Your Heart

Page 34: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Outline: Ecological Systems

Complexity in laboratory insect populations Extinction in spatially structured populations Cellular automata approach in a modeling

ecology: grass, rabbit, and wolf Time-domain analysis: Hurst exponent Future works: computational epidemiology

Page 35: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006
Page 36: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Laboratory Insect Populations

Page 37: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Proc. R. Lond. B 264, 481 (1997)

Page 38: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006
Page 39: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Food Chain

Page 40: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Predator-Prey Mechanism

Species: grass, rabbit, and wolf

Season effect Nearest-neighbor

and next nearest-neighbor coupling: 8 cells

50x50 cells

Page 41: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

The frame of CA (50 X 50). The components of the ecosystem.

0 ~ Carnivores ~ 10 ~ Carnivores ~ 1

0 ~ Herbivores ~ 30 ~ Herbivores ~ 3

0 ~ Plants ~ 90 ~ Plants ~ 9

Rules of Cellular Automata

Page 42: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

The next population in a cell. Time step = 1.

Value(next) = Value = Value(now)(now) + Changes + Changes

nownow nextnext

Update the Population

Page 43: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Plants dominated by season and herbivores. Roughly separating the season into two parts.

Pla.Pla.(next)(next) = Pla. = Pla.(now)(now) + Changes + Changes

{Changes Changes Summer +1 –Her.Summer +1 –Her.

Winter –Her. Winter –Her.

The Rules of Plants

Page 44: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

The affection coming from neighboring cells. Define the local sum (L) of the population

densities.

Eight Eight NeighborsNeighbors

L(i)L(i) = Value(i) + = Value(i) + Value(j)Value(j)

j = Neiborsj = Neibors

The Neighbors of a Fixed Cell

Page 45: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Her.Her.(next)(next) = Her. = Her.(now)(now) + Changes + Changes

If Pla. GE. Her. If Pla. GE. Her.

{Changes Changes

Car. = 0 ; HCar. = 0 ; H00~L(H)~H~L(H)~H11 +1 +1

Otherwise -1Otherwise -1

The Rules of Herbivores

Page 46: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Her.Her.(next)(next) = Her. = Her.(now)(now) + Changes + Changes

If Pla. LT. Her. If Pla. LT. Her.

{Changes Changes -(Her. – Pla.) – Car.-(Her. – Pla.) – Car.

The Rules of Herbivores

Page 47: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Her.Her.(next)(next) = Her. = Her.(now)(now) + Changes + Changes

{Changes Changes Her. > 0 ; CHer. > 0 ; C00~L(C)~C~L(C)~C11 +1 +1

Otherwise -1Otherwise -1

The Rules of Carnivores

Page 48: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

No wolf Summer period Complicated

fluctuations Anti-correlation in

between grass and rabbit

No extinction

Page 49: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spatiotemporal Plot for Grass Evolution

Page 50: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Considering wolf Summer period Complicated

fluctuations Positive correlation in

between rabbit and wolf

No extinction

Page 51: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spatiotemporal Plots for Grass Evolution

Page 52: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

No wolf Considering winter

effect (W=1, S+W=10) Complicated

fluctuations No extinction Anti-correlation in

between grass and rabbit

Page 53: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spatiotemporal Plots for Grass Evolution

Page 54: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Considering wolf Considering longer winter

(W=3, S+W=10) Complicated fluctuations Wolf extinction Anti-correlation in between

grass and rabbit Complicated correlation in

between wolf and rabbit

Page 55: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spatiotemporal Evolution of Grass

Page 56: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

No wolf Considering spatial

effect: uniformly distributed rabbit (R=1)

Summer period Complicated fluctuations In early stage rabbits

increase fast Rabbit extinction Anti-correlation in

between grass and rabbit

Page 57: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spatiotemporal Plots for Grass Evolution

Page 58: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

No wolf Considering spatial effect:

uniformly distributed rabbit (R=3)

Considering winter effect (W=1, S+W=10)

Complicated fluctuations Surprise! slow down rabbit

extinction Anti-correlation in between

grass and rabbit

Page 59: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spatiotemporal Plots for Grass Evolution

It might be a good way to design tiles as well as carpets!

Page 60: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Spiral Waves in Ecology: SURPRISE!

Page 61: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Random Noise and Brownian Diffusion

-4

-3

-2

-1

0

1

2

3

4

0 500 1000 1500 2000 2500 3000

-20

-10

0

10

20

30

40

50

60

0 500 1000 1500 2000 2500 3000

2

2

2exp

2

1),(

t

xx

ttxp

Gaussian random noise

Brownian trajectory

Page 62: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Hurst Exponent (I)

Page 63: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Hurst Exponent (II)

H=0.8

H=0.6

H=0.4

H=0.2

Persistent noise: H>0.5Random noise: H=0.5Anti-persistent noise: H<0.5S(f) ~ f-b, b = 2H – 1

Page 64: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Extinction Characterized by H: OK

Page 65: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Extinction Characterized by H: NOT OK

Page 66: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Computational Epidemiology

S: susceptible state (latent period)

I: Infectious state (infectious period)

R: recovery period

Page 67: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006

Measles and Vaccination

Page 68: Applications of Cellular Automata in Cardiac and Ecological Systems 國立東華大學物理系 蕭又新 4/28/2006