You are on page 1of 122

.

2010

2010


,

,



, /

.

.

.
Neuroscan
.
.

.
.
.


.
(..
) .

:
: , , ,
,
4

Abstract

One of the greatest human mysteries is the phenomenon of sleep. The use of computing
methods and algorithms in the analysis and processing of electroencephalogram can boost the
research of brain activity. The present work presents the graphical program that was developed
and used at the Neurophysiology Unit of the University of Patras Medical School for the
support of EEG studies. The program detects specific rythms and waves during the sleep EEG
(online). The tool connects with the Neuroscan Systems that the lab uses for the sleep
experiments. The program supports several algorithms for the automatic signal analysis and the
specific rythms and waves detection. The target of the tool is to send sound stimulus in the
case of rhythm or wave detection. The user-friendly graphical interface of the tool includes all
the parameters for the experiments. The program was developed originally from scratch,
aiming to make signal processing as fast as possible. The final goal of the program is to explore
the nature of specific brain states i.e. in sleep, by probing brain reactivity at precise times after
EEG signs characterizing this brain state.

Subject Area: Electroengephalogram processing


Keywords: EEG, automatic detection, signal processing, wave, rythm, real time


............................................................................................................................. 4
ABSTRACT.............................................................................................................................. 5
1: ....................................................................................................... 12
1.1 ........................................................................................ 12
1.2 ................................................................................................................................................... 13
1.3 ............................................................................................................................................... 13

2: EEG ...................................................................................... 15
2.1 ............................................................................................ 15
2.2 ............................................................................................................... 19
2.2 .................................................................................................................................. 20
2.3 ...................................................................................................... 23
2.4 ...................................................................................................................................... 27
2.5 ............................................................................................................................................. 31
2.6 ......................................................................................................... 35

3: ......................................................... 42
3.1 ............................................................................................ 43
3.2 (ON-LINE) ........................................................................................................................... 45
3.3 .......................................................................................................................................... 45
3.4 ............................................................................................................... 45
3.5 ....................................................................................................................................... 46
3.6 ................................................................................................................. 46
3.7 .............................................................................................................................................. 46
3.8 ............................................................................................................................................. 46
3.8 ...................................................................................................................... 47

4 ................................................................................................... 48
4.1 ................................................................................................................................. 48
4.2 ............................................................................................................................................ 49
4.2.1 .......................................................................................... 49
4.2.2 ......................................................................... 51
4.3 .................................................................................................................................... 55
4.4 ........................................................................................................................................................... 59
4.5 TTL ............................................................................................ 60
4.5.1 ................................................................................................... 60
4.5.2 bit .................................................................................................................. 61
4.5.3 Scan PC ................................................................................. 62
4.6 .................................................................................................. 64
4.7 ......................................................................................................................................... 66

5: ....................................................................... 68
5.1 ................................................................................................................................. 68
5.2 ............................................................................................................................ 69
5.2.1 (Acquire Settings) .................................................................................................. 70

5.2.2 Stimuli Settings .......................................................................................................................................... 76


5.3 (OFFLINE MODE) .............................................................................................................. 78
5.4 (ONLINE MODE) ...................................................................................... 82
5.4.1 ...................................................................................................... 84
5.5 ....................................................................................................................................... 88
5.6 / ACQUIRE ................................................................................................. 89
5.7 ......................................................................................................................................... 90
5.8 ........................................................................................................................ 91

6: ....................................................................................................... 94
6.1 ................................................................................................................................... 94
6.2 .......................................................................................................................................................... 96

7: .................................................................................................... 108
7.1 ............................................................................................................................................ 108
7.2 ......................................................................................................................... 112
7.3 .................................................................................................................................... 114

................................................................................................................... 115


1: . , ,
. ............................................................................................16
2: .
, (Kandel. 2000). ........17
3: (Kandel. 2000). ....................................................................................................18
4:
.
,
.
,
.

() (Kandel. 2000). ...............................................................................................................18
5: .......................................................................................21
6:) ) 10-20.

. C) To 10-20 (extended International 10-20 System) (Levin K.H. 2000). .24
7: averaging
(1-100) .
........................................................................................................27
8: () , ..............................27
9: . ........................................28
10: . EOG = electro-oculogram; EMG = electromyogram;
EEG = electroengephalographym. (Kandel. 2000) ........................................................................................28
11: (
) ................................................................................................................................................................29
12: .
0.2 sec. .........................................................................................................................................................31
13: . ..............................................33
14: Client - Server . 2
. ......................................44
15: ................................................................................48
16: .............................................................................51
17:
. ......................................................................................................................................58
18: ............................................................................................................................61
19: Scan-PC ...............................................................................63
20: .............................................................................................................69
21: Acquire Settings - ............................................................................................71
22: . .........................................................................................................72
23: EEG .........73
24: -3mV 200msec. ........................73
25: ................................74
26: fSpindle: 4 (
1.2sec ) ..................................................75
27: 26 ( 5
)........................................................................................................................................................76

28: . .......................................................77
29: fani03_marked.cnt ...................................................................79
30: . ............................................................................80
31: . ...........................................................81
32: Server Acquire. .......................................................................................82
33: Server Acquire.........................................................................................................83
34: NeuroPez Acquire. ...........................................83
35: .............................................................................84
36: (
0) .................................................................................................................................................................85
37: . .....................................................87
38: . .........................................................92
39: Acquire Neuroscan ...............................................................................................93
40: (11/06/2010, 17.00) ................................95
41: Acquire Trigger..........................................................96
42: Acquire Settings
. Stimuli Settings
. .......................................................................................................................................97
43: . .......................................................................................98
44: Acquire Settings .
Stimuli Settings .
....................................................................................................................................................................99
45: . ..........................................................................................................100
46: (fSpindles) .........................................................101
47: 2 K-Complex . ....................102
48: K-Complex . ..............................103
49: 3 ..................................................................................104
50: 4 ..................................................................................105
51: K-Complexes. ......................................................................................106
52: K-Complex 2. ..........................................................................................107
53: ( ) .............................................109
54: 53 ...............................................110
55: ( ) ' .......................110
56: 55 ...............................................111


1: . ..........................................................30
2: ..................................................................................................................36
3: .....................................................................................................41
4: client server. ..................................54
5: 1 D5 .........................................................62
6: 0 D5 .........................................................62
7: . .................................................................................67
8: ......................................91

CNT

CNT

EDF

European Data Format:

EEG

Electroencephalogram

EMG

Electromyography

EOG

Electrooculography

EPs

Evoked Potentials

EPSPs

Excitatory Post-Synaptic Potentials ()

FIR

Finite Impulse Response

ICA

Independent Component Analysis

IEEE

Institute of Electrical and Electronics Engineers

IPSPs

Inhibitory Post-Synaptic Potentials ()

PSP

Post-Synaptic Potential ()

qEEG

quantitative EEG

REM

Rapid Eye Movements

RN

reticular nucleus

STFT

Short Time Fourier Transform

TCP/IP

Transmission Control Program/Internet Protocol =


Internet
10

TTL

Transistor Transistor Logic

Binary,

11

1:

1.1
,
,
.
.
(
)
.
.
,
, .
.

,
(Rechtschaffen 1998).


.

.
. ,
.
.
.
() (Electroencephalogram EEG)



12

.

.

, ,
. ,
() ()
.
.


, (ERPs).

1.2



,
.
(.. ) (.. K - Complex)
.

.

1.3
( NeuroPez)
.

.
13


.

.
: 2

. ,
.
3
NeuroPez.

. 5
. 6,
. , 7,


.

14

2: EEG

().
.
,
.
,

.

2.1
.
.

.
,
, ( 1). ,
.
. ,

.

15

1: . , ,
.

,
, ,
.
,
, ()
(Post Synaptic Potential PSP). (Excitatory Post
Synaptic Potentials EPSPs) (Inhibitatory Post Synaptic Potentials IPSPs).

.
,
16

.

.
,
, , .

V V, (Eshel Y. 1995).

( ( 2))
( ).

2: .
, (Kandel. 2000).

(
3)
,
,

(Kandel E.R. 2000), (Law 1993), (Sun,
et al. 1996).

17

3: (Kandel. 2000).

4
.

4:
.
,
.
,

18

.
() (Kandel. 2000).



. Hans Berger
(Berger 1929) 1929
. ,
.



,
.

2.2
(Hobson, 2009;
Horne 1988; Siegel, 2009). ,
.
. 1945,
.
,
.
(
) ( )
.
Moruzzi Magoun (Moruzzi, 1949)

.

19

,
.
1950 Nathaniel Kleitman , Eygene
Aserinsky William Dement
,
(Aserinsky and Kleitman 1953).
(REM sleep: Rapid Eye Movements)
(Non REM sleep).
.

.

,
.

NREM R
(Steriade and McCarley, 2005; Hobson, 2009; Zu and Zee, 2010).

( NREM REM, Ioannides et al., 2009)
(Kokkinos and Kostopoulos, 2010),
(Born, 2010)
(Kostopoulos, 2009) (Kyung and Douglass,
2010).
2.2


.
( )
( ) ( 5).


20

.

.
(1-4 NREM),

.
,
.
,
, .

5:

.
, ,
.
. ,

( ).


(ERP).
,


.
,

.
21

( NREM)
(EMG)
(EOG)
(Rechtschaffen and Kales. 1968).
,
( ) .

22

2.3

.
, 0,1V
200V, .

(volume conduction)
( 2)
(
).

.

, , .
-
.

5k.
(Ag) (AgCl) .


.
International System 10-20
( 6). 20%
10%
2
.
. Fp, F, C, T,O A fontopolar, frontal,
central, temporal, occipital auricular.
.
z .
23

6:) ) 10-20.
. C) To
10-20 (extended International 10-20 System) (Levin K.H. 2000).


.

( 10-20 ) (.. ).
.

24


.
.

.

: , ().

,
, .

.
100

.

,
(de Munck et al., 1988)
(Papadelis et al., 2009;
Ioannides and Kostopoulos, 2008).

20 V
( Faraday),
/.
: ,
(.. )
,

(.. ). .

, .
25

.

.
msec msec sec.
, .
( )
,
,
.
()
(averaging)
.
.

.

(single trial EP) (Zouridakis G. 1997; Ioannides and
Kostopoulos, 2008).

26

7: averaging
(1-100) .

2.4


(Ogilvie 2001).

.
,
( )
( 8).

8: () ,


: (1-3Hz 200V), (4-7 Hz
100V), (8-11Hz 30V) (18-25 Hz 30V) ( 9).

5 (Niedermeyer,
2004).
27

9: .

Loomis
1930 (Loomis, Harvey and Hobart 1935).
Aserinsky Kleitman 1950
(Aserinsky and Kleitman 1953). o REM non-REM .
REM
,
. Non REM
,
. Non-REM
.
.
Non REM
. ( 10).
.

10: . EOG = electro-oculogram; EMG = electromyogram; EEG


= electroengephalographym. (Kandel. 2000)

1.
. ,
28

,
(20-40 V 10 Hz)
.
2. .
.
(K complexes) (spindles)
11.
.
(12-17 Hz) ,
500ms.
.

11: ( )

3. 3 30% (75V).
.
4. 4 .
. 3 4 .
REM
. .
.
.

, .
REM 3 4.

29

REM Non REM .


1 4.
. 70-80
3 2 REM
5-10 .
Non REM REM 90-110
. 4
. 3 4 REM
.
.
.
1.

5-10%

45-60%

3 4

20-25%

REM

20-30%

1: .

30

2.5
1935 Loomis
(Loomis, Harvey and Hobart 1935) 13 Hz
,

(Cote K.A. 2000). Non REM
2. 500 ms
(Rechtschaffen A 1968).
.

.
. , (Dijk 1995). 12

.

12: .
0.2 sec.

31

.

.

4 -
.
(Ficca G. 2000).
1,5 3 (Louis J. 1992).

3 . 3

(Louis J. 1992).

.
.
. ,

.
(Nicolas A. 2001) (Pivik R.T. 1999).

. .
.
,
(Halasz 2005).
.
. '
.

. (Steriade M. 1988; Steriade and
McCarley, 2005)).
32


.

( 13).

12-14 Hz

.
.
,
. (Steriade and Deschene,
1984) (Steriade M. 1988).

13: .

.

33

2 . ,
.
(F. M.
De Gennaro L. 2000). .
.
,
. ,
.
.
(Diekelmann and Born
2010


.
,
,
.
14 Hz,
12 Hz.
.

. 12 Hz
14
Hz .

10-16 Hz. ,
(sigma power)
11.5-16.0 Hz
10-16 Hz (O. Erogul, et al. 1999, Zeithofer, et al. 1997, Zygierewiscz 2000, Zygierewicz J. 1999).

34

,
, .

(LORETA).
13 Hz,
(precuneus), 13 Hz (Zeitlhofer J 2001).

(F. M. De Gennaro L. 2000).

12-14 Hz
.

. ,

( , , ,
, ).

2.6


(data reduction)
.

.
.
( 2)
.
.


.
35

/
1.

2.

(artifacts)

3.

REM Non - REM

4.

5.

6.

7.

8.

9.

10.

11.

12.

13.

(
)

14.



2:


. (Agrawal R. 2001),
(Himanen 2000), (Roberts S. 1992), (artifacts) (Schlogl A.
1999), REM Non - REM
36

(Kokkinos V 2009 ) (Roth C. 1999) (Tagaya H. 2000),


(Hazarika N. 1997) ,
(Sun, . 1996),
(D. R. Ogilvie 2001)
(Akin A. 1998), (Caspary O.
1996), (Contreras D. 2000), (Finelli L.A. 2001 ), (Gath I. 1996), (Gorur D. 2002).
.

. ,


.
.
:

. ,
.

Kohonen
(Roberts and Tarassenko 1992).
Kalman 10.
(epochs)
.
( feedforward
backpropagation networks)
wavelet (Oropesa E. 1999). ,
70-80% .
.
(supervised learning) (Agrawal R. 2001).
k-means clustering
.
37


.
, ,
( Auto regressive ),
, ,
. 80%
.
,
,
(F. M. De Gennaro L. 2000), (Tagaya H. 2000)+, (Sun M. 1996),
(Nicolas A.
2001)*41+, * (Akgul T. 2000), (Caspary O. 1996), (O.
Erogul, et al. 1999), (Zygierewiscz 2000), (Zygierewicz J. 1999),

.

.

.

. ( Kruskal Wallis)

,
.
(Nicolas A. 2001).
2 (Akgul T. 2000)

.


.
38

FFT

(idiopathic epilepsy, cryptogenic epilepsy symptomatic partial epilepsy)
(Clemens B. 2000).

.
.
.

.
,
(Zygierewiscz 2000).
90%
(Zygierewicz J. 1999).
. (Woertz M. 1999)
3 1 Chebyscheff
. , (Akin A. 1998)
wavelet. wavelets
Teager Energy (O. Erogul, et al. 1999).

. 1980 Campbell
72%
(Campbell K. 1980).
( 99%) 2
,
.
, 3,
.
.
( 80% ).

39

.

. ,

(2500 samples/sec)
(.. 300 samples/sec)
/

(period
amplitude analysis). .

(matched filtering).

, -
.

(demodulation)

(phase-locked loop).
4

,
Fourier .
(wavelet transform) matching
pursuit,
. , ,
Gabor, Dirac
Fourier,

,
Fourier .
.
5

(clustering) - .
(bandpass filter)

40

,
.
6

(artificial neural networks).


,
. ,

.
3:



.
.

.
(.. )

.


.

41

3:



.

.

. ,
( Faraday).
.
Acquire Neuroscan1,


. ,
, ( )
. ,

, .
.


.
, :
1.
, .
2. .

www.neuroscan.com

42

3. .
4.
.
5.
event.
6.
SCAN.
7. .
8. .

3.1

Neuroscan.
.
(SCAN) .
.
.
:
a. SCAN
. SCAN
client server. (
14) SCAN
(server)
(client).
TCP
.
(header)
(
client)
43

. client

.

14: Client - Server . 2


.

b. (on line).
.


.


flickering. ,
,
zoom in zoom out .
c.
.

.
d. (offline).
Neuroscan .CNT.
format
.BIN (
binary).
2 . T
44

(offline)
()
.

3.2 (on-line)


.
(, , )
( K- , ) .
FFT (Fast Fourier Transform)


. ( FFT)
.

.

3.3

. ,
(
)
.

3.4

.
CNT
45

.

.

3.5

.


.

3.6
. ,

.
.

.
.

3.7
(, , )


.

3.8

.
46


. ,
( msec)
.
.

3.8

.
MATLAB C++. MATLAB
,
,
,
. C++
.
C++

. C++
MATLAB .
Microsoft Visual Studio 6.0
.

47

4


.

15. NeuroPez SCAN.
EEG
STIM Pc .

15:

4.1
,
.

48

.
.
.

.
.
C++
Windows 32-bit.
Windows 2000, Windows XP (32-bit), Windows Vista (32-bit)
Windows 7 (32-bit).

C++ .

2.

4.2


.
.

4.2.1

. .CNT .BIN.

( dll)
(www.mitov.com). PlotLab.

49

Neuroscan Acquire

.CNT. CNT . (header)
.
(..
, ,...)

( , ,..) 3.
CNT
. CNT
(event table) .
.

CNT EDF
.4


.
data.bin.
CNT

. BIN .
(28 bytes) ,
(event channels), ,
block ( bits)
5. (blocks)

Neuroscan . manual Data File Header


Information Appendix C
4
http://www.edfplus.info
5

BIN
NetReaderDlg.h

50

, .
.
.
.
( )
.

4.2.2

.
Neuroscan,

Neuroscan ( 16).

1. EEG data

NeuroPez

Neuroscan

2. TTL
pulse
2.sound
d
Sleeping
Subject

16:

Neuroscan NeuroPez
TCP/IP client server. NeuroPez
(client) Neuroscan (server).
NeuroPez
51

Neuroscan,
NeuroPez
ScanPC .
.
10Base T 10Mbps.
( ) 62
2 byte (=2 * 8 bits)
:
10*1024*1024/2*8*62 =10570Hz
2500Hz
.
, NeuroPez
Status .

. (
) :
( ) * * (2 bytes)
2 bytes 16bit .
62 2500Hz
Status :
62 * 2500 * 2 = 310.000 bytes / sec = 302 Kbps
TCP/IP Internet (IP Address)
4 , 0 255.
192.168.72.4.
.
( port)
.
NeuroPez Neuroscan
IP:Port.
.
52

Acquire NeuroPez
Neuroscan.
:
1. ( control codes)
2. ( AST setup files)
3. (EEG event codes, EDF)
,

(impedance measurement) .
. .
. To Packet ID string 4

CTRL

- control code

FILE

- file packet

DATA

- data packet

Packet ID Code

Request

Body size

string

CTRL

Value

Meaning

Value

Description

General

Request for Version

Closing Up Connection

Start Acquisition

Stop Acquisition

Start Impedance

Change Setup

Control Code

Server Control 1
Code

53

5
3

DC Correction

Request for EDF Header

Request for AST Setup File

Request to Start Sending Data

Request to Stop Sending Data

Client Control 1
Code

FILE

Setup file

Neuroscan AST Format

DATA

Information

Version Information

Standard EDF Header

Basic Header

Neuroscan 16-bit Raw Data

Neuroscan 32-bit Raw Data

EEG data

4: client server.

,
(general and server control codes), .

(general and client control codes).
.

.
:
1. ACQUIRE server TCP socket ( Server Name
Port).
2. Request for EDF Header.
3. DATA packet EDF Header
.
54

4. Request to Start Sending Data.


5. DATA packets 16 32bit EEG data. ,
.
6. Request to Stop Sending Data.
7. Closing Up Connection.
8. ACQUIRE server TCP socket.

. .
.
TTL
.
ACQUIRE . ,
Offline.
ACQUIRE G .CNT

4.3


.
(FIR Finite Impulse Respond)
( Filter Taps)6.



.
.
The Scientist and Engineers Guide to Digital Signal Processing
(http://www.dspguide.com/) Steven W. Smith.
,
.
rippling attenuation .
. ,

55

,
.
( rippling attenuation
). (N - 1) / (2 * Fs), N
Taps Fs .
2500Hz 1024 Filter Taps
20ms. 512 Filter Taps
. FFT
Hamming Window .
:
1. Band Pass ():

.
2. Band Stop:
.
3. High Pass ():
.
4. Low Pass ():
.
5. No Filter: .
.

.

.
.

56


, .
Baseline removal
.
.
.
.
,
( 5 ).

.

.
.
( )
.
.

,
.
.
(shifting) 17.

57

17:
.

,
zero phase digital filtering7.
.
,
.

.

.
online

.

Matlab
filtfilt.m

58

4.4
.
,
.
, .
,
.
( )
. :
1. : .
. Y
(negative up) .
-70mV
( <-70mV).
Vertex.
2. :
.

.
.
.

( ).
- .
3. :
.

59

(zero crossing) .

.
.
.
4. :
.
,

.

4.5 TTL
Neuroscan
(TTL Signal)
Scan .
Acquire triggers
. Acquire
triggers .

4.5.1
PC 40 ,
,
USB. ,
/ .
, Centronics, IEEE 1284, D female 25 :

60

18:

8 ( 2 9) 2,4 5,5 Volt 1


-0,5 0,4 Volt 0.
2 9,
0 1.
0 (00000000) 255 (11111111).
byte bit
, bit .

4.5.2 bit
, ,
bit,
1 true 0 false.
, 157 OR 23 = 159 : 10011101 OR 00010111 =
10011111. , 157 AND 23 = 21 : 10011101 AND 00010111 =
00010101. , 8
data. 1 D5:
D7 D6 D5 D4 D3 D2 D1 D0
OR 0

D7 D6 1

D4 D3 D2 D1 D0

61

5: 1 D5

, data 8 ,
1 Dn ( 0n7) : data OR
2n.
0 D5:
D7 D6 D5 D4 D3 D2 D1 D0
AND 1

D7 D6 0

D4 D3 D2 D1 D0

6: 0 D5

, 0 Dn ( 0n7)
: data AND (255 - 2n).
byte bit.

4.5.3 Scan PC 8
TTL Scan PC
(Stim device). Scan PC
19.

Neuroscan . manual
Overview Info Appendix B, 67

62

19: Scan-PC

Trigger Bits D0-D7


Acquire event
.
TTL 1-10msec.
0Volt 0, 5Volt bit 1.
bit 0 2, bit 1 3,
bit 2 4 . bit 0
Acquire 1. bit 1 2.
bit 0 bit 1 3.
bits event 255.
18-21
Response bits. Response bits
,
.

Scan PC.
.

byte:

63

0 0 1 0 0 0 0 0
(
Windows) 32 (=25).
bit 7
5 Volt Scan
.
TTL .
.

.
.
TTL
.

. (
WAV) , ,
.

4.6

. .
100 .
5
sec.
. .
, 4
. .
( ,
, 4 , ) :
64

t = t + tband pass filter + tsignal matching + t


,
t = / . ,
100
2500Hz 100/2500 = 0.04sec = 40msec.
tband pass filter =
filter taps (
2500Hz 512
10msec)
tsignal matching

1msec .
.
t = Windows

.

.
.
.
( msec). ,
,
.
,
50msec.
500msec.
, 50msec
,
.

65

4.7
.

.
.

.
( 7).
.

CTabDialogApp

.
.

CTabby

Tabs
,
Tab
.

CNetReaderDlg

(Main
Window). .

CTabTwoDialog

Tab (Acquire
Settings). .

CTabThreeDialog

Tab (Stimuli
Settings). .

CAcqMessage

CAquireTransport

Client Server

66

CAcqMessage.
CAdvancedScopeDlg

offline .

COnlineScopeDlg

online .

CTracer

CTrigger


TTL.

7: .

67

5:

.
NeuroPez NeuroScan (
) Pez (
).
.
(offline mode)

.
.
: (offline mode)
(online mode).

5.1
( 20)
, .

Neuroscan
. Acquire Settings
(..
). Stimuli Settings
. ,
.

68

20:

5.2

.

. Acquire Settings
Stimuli Settings
.

.
Save Settings .
.

69

5.2.1 (Acquire Settings)


.

( ).

(
) . ,
.

.
,
.
Neuroscan.
Fp1.

70


.
BandPass,
BandStop, HighPass, LowPass
.

.

,


.



.

21: Acquire Settings -


. (Band Pass,Band Stop, High Pass,
Low Pass, No Filter)
.
. .
.
.
.
, Vertex.

71


:
I.

(Amplitude Threshold):

( negative up).
Cz,
-15V.
.
. To 512 Filter taps.

22: .


.
.
-11V
3. .

.

72

23: EEG

II.

(Above Threshold for


given Time):
.

. 24
5 -3V
200msec 14-16Hz.

24: -3mV 200msec.


.
.
25
73

-15V ( )
200msec Fp1.


15mV


-15mV
200ms

25:

Check to detect Fast Spindles:


. ,
13-16Hz 4 .


.

.
( 2500Hz)
.
:
i.


. ,

.

ii.

,
13 16 Hz .

74

iii.

.
.

.
.
13-16 Hz
13 16
62,5msec 71msec.

iv.


.
.

fani01_marked.cnt.

(64 Filter Taps)


.
.
.
27 .

26: fSpindle: 4 (
1.2sec )

75

27: 26 ( 5
)

v.

,
Neuroscan.

5.2.2 Stimuli Settings




. Choose file

. wav.
.

. msec
.
Save Settings.
.
.

76


TTL


TTL



.
.

28: .

Stimuli Settings
Scan PC.
.
,
( Scope Window in msec).

.

, .
.
FFT
. .
Save
77

Settings
.
5.3 (Offline mode)

Load File.. .
.
.

Neuroscan.

.
Fourier
.
( Fp1)
.

14-16Hz. FFT
, FFT .

.
. ( )
.
Step .

.
.
.

.

78

.
Fz 15-20 sec Cz
15-20 sec.

29: fani03_marked.cnt

.
markers
.
/ .
79

Legend
. ,
Choices . Logarithmic Y
Y . , Logarithmic X
X . Vertical -

. , Negative
Up Y
.

(zoom in & zoom out).
.
.
. ,

.

30: .


.

. (
play) .
( )
.
.

.
bitmap .

, ,
80

.

.

,
.

31: .

81

5.4 (online mode)


Acquire Neuroscan .
Acquire Start
Acquire as Server ( S ).

. : IP Address Port.
.
.
(NeuroPez).
, 4.4
.
.

32: Server Acquire.

82

33: Server Acquire.

NeuroPez.
Acquire, 33.
NeuroPez
Acquire IP Address 127.0.0.1 localhost
.
(.. IP Address = 10.0.1.190 Port=4000).

Port Acquire

IP Address
Acquire





Server

34: NeuroPez Acquire.


35.

83

35:

5.4.1
Server Acquire
IP Port NeuroPez Connect
. Server
( , ,...) Status.

(

) Acquire Scan PC Scan PC

NeuroPez. Status
. ,

Save.
data.bin.
Server (

Acquire) NeuroPez.

84

36: ( 0)

NeuroPez

. offline
. FFT
.
9. .
Server
.

Stimuli Settings
Scope Window in msec

85


. :
.
( Acquire Settings).

.
.
Server
. .
.
.
Acquire Settings.
Filter
Low Filter High Change Band Pass Filter.

.
Negative Up.
Y . ,
.
(
, , ,
, ,...)
. .
Acquire Settings
.. ,

.
Server.
NeuroPez Acquire,
.
86


Scan PC.

37: .

87

5.5
( .exe)
Windows.
NeuroPez.exe .

Electrodes_Labels.txt
Neuroscan. setup
( Quick-Cap32.ast). Acquire
Edit > Channel Layout.
.
.
Windows
( dll).
C:\Windows\system32\ system32
dlls. :
-

inpout32.dll,

VCLLoader.dll,

stlpmt45.dll,

OpenWirePkgCB6.bpl,
SignalLabBasicPkgCB6.bpl,
stlpmt45.dll,

borlndmm.dll,
rtl60.bpl,

CC3260MT.DLL,

SignalLabAdditionalPkgCB6.bpl,

SignalLabPkgCB6.bpl,

TimingLabBasicPkgCB6.bpl,

GdiPlus.dll,

vcl60.bpl,

SignalLabScopePkgCB6.bpl,
vcljpg60.bpl,

vclx60.bpl,

VCSignalLabPkgCB6.bpl:
.

88

5.6 / Acquire
.
Acquire :
1. Acquire Server.
2. NeuroPez
Connect.
3. Acquisition Server.
4. recording Server.
recording Server,
NeuroPez.
Acquisition Server,
NeuroPez.
.
NeuroPez
Server ( Disconnect) . NeuroPez
Server.
Server Acquire
.

89

5.7


.
( CNT),
.
.
Cz ,
.

.
. ,
.

. online spindle detection
.
100% . ,

( 0.5sec 1sec
).

.


.
. ,
(60 80 msec
fspindles) ( 1 2,45
).
.
90


3 Cz . 64
107 fspindles 59,8%. , 93 147
( 63% false positives).
marked-fanis-

marked-fanis-

marked-fanis-

marked-fanis-

marked-fanis-

marked-fanis-

sleep01.cnt

sleep02.cnt

sleep03.cnt

sleep04.cnt

sleep05.cnt

sleep06.cnt

25

24

16

20

20

107

NeuroPez 45

25

20

28

20

19

147

17

14

10

12

64

28

23

18

11

93

8:

5.8

( )


.
Neuroscan. .

SCAN Neuroscan
.
AMPINST
.
> >Scan4.4 Amplifier
Install. Select an amplifier ( 38).
Amp Simulator. Finished
.
91

SynAmps. SCAN
.

38: .

Scan.

Neuroscan.

Acquire.

Acquire.
. Edit > Select File
. , server S
.
client server

Acquire CNT , client


. Acquire
.
.
92

39: Acquire Neuroscan

93

6:



.
.
.

,
.
K-Complexes, ,
Vertexes, . ,

.

6.1
25 ,
.
.

.
.
64
,
.
0.05 500 Hz 2500Hz.
30
.

94

40: (11/06/2010, 17.00)

,
, .
NeuroPez
.
:
1. UTP Router
NeuroPez.

NeuroScan NeuroPez.
2. Trigger .


.
Trigger box C
(audio). Acquire Edit
> Overall Parameters Tab Triggers, 207 Hold value
.

95

41: Acquire Trigger.

3. ,

.
.


.
Matlab.
1000 Hz, ,
.

Remote Administrator v2.2 . ,

x (baseline correction).

6.2

.
.
(
) 42.
96

HEOG
-700V 200msec.

42: Acquire Settings


. Stimuli Settings
.

Flying Circus
. 43
HEOG
.
.
.

97

43: .

.

, , .

8 12 Hz 512
.

98

44: Acquire Settings .


Stimuli Settings .

99

45: .


. .
2,
.
46.
Acquire Settings 13 16 Hz.
3 -10
mV . ,
Cz .

100

46: (fSpindles)

2
, 3 4
(.. ). (
false positives).
( 500 msec). 47
2.

101

47: 2 K-Complex .

,
. ,
.
, ,
.
102

48: K-Complex .

2
.
,
,
.
103

.
.


.
.
2, 3 4
.

Subject00-1-207-12-347.345

CZ

66

67

68

69
Time (s)

70

71

uV

180

72

49: 3

104

Subject00-1-207-56-1484.656

CZ

330

331

332

333
Time (s)

334

335

uV

160

336

50: 4

, ,
0.5 1
75 V.
K complexes 51.
200 msec
-75V.
Fz.

105

51: K-Complexes.

2
.
, .

.
,
4Hz, K-complexes
.
-75V,
.

106

52: K-Complex 2.

107

7:
Neuropez.


. ,
. ,

.

7.1


client server .

(impedance
values) (.. ,
).

, .

,
.
.
4.8

:
t = t + tband pass filter + tsignal matching + t

NeuroPez
108

(event)
offline NeuroPez
.

92.519sec, 53.

53: ( )

offline
92.392 sec.
92.519 92.392 = 127msec
.

109

54: 53

55: ( ) '

55 148.676 sec.
NeuroPez
110

148.570 sec ( 56).


148.676 148.570 = 102msec .

56: 55

,
. .
,
.
,
.
.
,
.
,

.

.
,
,
.
,
.
111


.
, ,
.
. ,

7.2

.

. ,
,

.

NeuroPez
.
1. .


( , KComplex,
spindles, Vertex, -,..).
2. .

,
.

112

3. Online Offline mode.


,

.
4. .
(
msec), .
,

(.. 250Hz)
(.. 2500Hz).
,

NeuroPez.
,
. ,

,
.

113

7.3

.
:
.
,
.
, , REM, ,
. (
)
. ,
64-bit
.
,
. ,

.




.

.

114


Agrawal R., Gotman J. "Computer assisted sleep staging." IEEE Trans. On Biomedical
Engineering, Vol. 48, No. 12. 2001. 1412-1423.
Akgul T., Sun M., Sclabassi R., Cetin A.E. "Characterization of sleep spindles using higher order
statistics and spectra." IEEE Trans. On Biomedical Engineering, Vol. 47, No.8. 2000. 997-1009.
Akin A., Akgul T. "Detection of sleep splindles by discrete wavelet transform." Proceedings of
the IEEE 24th Annual Northeast Bioengineering Conference, 1998: 15-17.
Aserinsky, E., and N. Kleitman. "Regularly occurring periods of ocular motility and concomitant
phenomena duting sleep." 1953: 361-375.
Berger, H. "ber das Elektrenkephalogramm des Menschen." Arch. f. Psychiatr.vol. 87, 1929:
527-570.
Born J. Slow-wave sleep and the consolidation of long-term memory. World J Biol Psychiatry.
2010 Jun;11 Suppl 1:16-21.
Campbell K., Kumar A., Hofman W. "Human and automatic validation of a phase locked loop
spindle detection system." Electroencephal Clin Neurophysiol, Vol. 48. 1980. 602-605.
Caspary O., Nus P., Devillard F. "Spectral analysis methods applied to sleep spindles." Proc.
ICSPAT. Boston, 1996. 374-378.
Clemens B., Menes A. "Sleep spindle asymmetry in epileptic patients." Clinical Neurophysiology,
Vol.111. 2000. 2155-2159.
Contreras D., Destexhe A., Sejnowski T.J., Steriade M. "Spatiotemporel patterns of spindle
oscillations in cortex and thalamus." Journal of Sleep Research, Vol. 9, 2000: 19-26.
Cote K.A., Epps T.M., Campbell K.B. "The role of the spindle in human information processing of
high density stimuli during sleep." Journal of Neuroscience, Vol. 9, 2000: 19-26.
De Gennaro L., Ferrara M., Bertini M. "Topographical distribution of spindles: Variations
between and within NREM sleep cycles." Sleep Research Online 3(4), 2000: 155-200.
De Gennaro L., Ferrara M., Bertini M.,. "Effect of slow wave sleep deprivation on topographical
distribution of spindles." Behavioral Brain Research, No. 116, 2000: 55-59.
de Munck J.C., Van Dijk B.W., and Spekreijse H. "Mathematical Dipoles are Adequate to
Describe Realistic Generators of Human Brain Activity." IEEE Transactions on Biomedical
Engineering, vol. 35, 1988: 960 966.
115

Diekelmann S, Born J. The memory function of sleep. Nat Rev Neurosci. 2010 Feb;11(2):114-26.
Dijk, D. J. "EEG slow waves and sleep spindles: windows on the sleeping brain." Behavioral Brain
Research. 1995. 109-116.
Erogul, O, C. Guler, Y. Bahadirlar, and H. Aydin. "A method for detection and analysis of the
spindles in sleep EEG." National Meeting of Biomedical Engineering. Kayseri, Turkey, 1999. 3.
Erogul, O., C. Guler, Y. Bahadirlar, and H. Aydin. "Parametric analysis of the sleep spindles by
using matching pursuit method." National Meeting of Biomedical Engineering. Kayseri, 1999.
Eshel Y., Witman S. L., Rosenfeld M., and Abboud S. "Correlation Between Skull Thickness
Asymmetry and Scalp Potential Estimated by a Numerical Model of the Head." IEEE
Transactions on Biomedical Engineering, vol 42 (IEEE Transactions on Biomedical Engineering),
1995: 242 249.
Ficca G., Fagioli I., and Salzarula P. "Sleep organization in the first year of life: Development
trends in the quiet sleep-paradoxical sleep cycle." J Sleep Res,Vol. 9, 2000: 1-4.
Finelli L.A., Achermann P., Borbely A.A. "Individual fingerpirnts in human sleep EEG
topography." Neurophychopharmacology, Vol. 25, 2001 : 57-62.
Gath I., Inbar G.F. Advances in Processing and Pattern Analysis of biological signals. New York:
Plenium Press, 1996.
Gorur D., Halici U, Aydin H., Ongun G., Ozgen F., Lebllebicioglu K. "Sleep spindles detection
using short time Fourier transform and neural networks." Proc. IJCNN. Hawaii, 2002. 16311636.
Halasz. "K-complex, a reactive EEG graphoelement of NREM sleep: an old chap in a new
garment." Sleep Medicine reviews (Elsevier ed.), 2005.
Hazarika N., Chen J.Z., Tsoi A.C., Sergejew A. "Classificationn of EEG signals using wavelet
transform." Signal Processing, Vol.59, 1997: 61-72.
Himanen. A New Visual Adaptive Scoring System for Sleep Recordings. Development and
Application of the Multiple Sleep Latency Test. PhD Thesis, Tampere University, 2000.
Hobson JA. REM sleep and dreaming: towards a theory of protoconsciousness. Nat Rev
Neurosci. 2009 Nov;10(11):803-13.
Horne. Why We Sleep: The Functions of Sleep in Humans and Other Mammals. New York:
Oxford Univ. Press, 1988.
Ioannides A. and Kostopoulos GK 2008 Real-time tomography from magnetoencephalography
(MEG)? Experimental and theoretical challenges, possible physiological basis and evidence from
116

the analysis of real data. International Journal of Bioelectromagnetism Vol. 10, No. 1, pp. 37
51.
Ioannides A., Kostopoulos GK, Liu L., Fenwick PB, MEG Identifies Dorsal Medial Brain
Activations during Sleep. Neuroimage, 2009, vol. 44(2): 455-468.77.
Kandel E.R., Schartz J.H., Jessell T.M.,. Principles of Neural Science,4th ed. McGraw Hill
Professional Publishing, 2000.
Kokkinos V, Koupparis A, Stavrinou, G.K.Kostopoulos. "The Hypnospectrogram: an EEG power
spectrum based means to concurrently overview the macroscopic and microscopic architecture
of human sleep." Journal of Neuroscience Methods, 2009 : 185(1):29-38.
Kokkinos V, Kostopoulos GK, Human non-rapid eye movement stage II sleep spindles are
blocked upon spontaneous K-complex coincidence and resume as higher frequency spindles
afterwards, J Sleep Res 2010; [Epub ahead of print].
Kostopoulos G K Brain Mechanisms Linking Epilepsy to Sleep. In: Philip A. Schwartzkroin, editor
Encyclopedia of Basic Epilepsy Research, Vol 3. Oxford: Academic Press; 2009. pp. 1327-1336.
Kyung Lee E, Douglass AB. Sleep in psychiatric disorders: where are we now? Can J Psychiatry.
2010 Jul;55(7):403-12.
Law, S.K. "Thickness and resistivity variations over the upper surface of the human skull."
1993: 99 109.
Levin K.H., Luders H.O. Comprehensive Clinical Neurophysiology. USA: Saunders Company,
2000.
Loomis, Al, En. Harvey, and Ga Hobart. "Potential rhythms of the cerebral cortex during sleep."
Science,81, 1935: 597-8.
Louis J., Zhang J.X., Revol M., Debilly and Challamel M.J. "Ontogenesis of nocturnal organization
of sleep spindle: a longitudinal study during the first 6 months of life." Electroencephal Clin
Neurophysio, Vol. 83, 1992: 289-296.
Moruzzi G, Magoun HW. "Brain stem reticular formation and activation of the EEG."
Electroencephalogr Clin Neurophysiol 1, 1949: 455-473.
Nicolas A., Petit D., Rompre S., Montplaisir J. "Sleep spindle characteristics in healthy subjects
of different age groups." Clinical Neurophysiology Vol. 112,, 2001: 521-527.
Niedermeyer E, Sleep and EEG. In Electroencephalography: Basic principles, clinical applications
and related fields, eds E. Niedermeyer and F.H. Lopes Da Silva, 4th edition, 174-188, Lippincott,
Williams and Wilkins, 2004.
Ogilvie. "The process of falling asleep." Sleep Medicine Reviws,Vol. 5, 2001: 247-270.
117

Ogilvie, D. R. "The process of falling asleep." Sleep Medicine Reviws, Vol. 5, 2001: 247-270.
Oropesa E., Cycon H.L., Jobert M. Sleep stage classification using wavelet transform and neural
network. TR-99-008, International Computer Science Institute, 1999.
Papadelis C, Poghosyan V, Fenwick PB, Ioannides AA. MEG's ability to localise accurately weak
transient neural sources. Clin Neurophysiol. 2009;120(11):1958-70.
Pivik R.T., Joncas S., Busby K.A., , , pp. "Sleep Spindles and Arousal: The effects of Age and
sensory stimulation." Sleep Research Online, Vol .2, 1999: 89-100.
Rechtschaffen A, Kales A. A Manual of Standardized Terminology, Techniques and Scoring
System and Sleep Stages of Human Subjects. Los Angeles: University of California Brain
Information Service, 1968.
Rechtschaffen A. 1998. Current perspectives on the function of sleep. Perspect Biol Med
41:359390.
Roberts S., Tarassenko L. "Analysis of the sleep EEG using a multilayer network with spatial
organization." IEEE Proceedings-F, Vol.139, 1992: 420-425.
Roberts, S., and L. Tarassenko. "Analysis of the sleep EEG using a multilayer network with
spatial organization." 1992: 420-425.
Roth C., Achermann P., Borbely A. "Alpha activity in the human REM sleep EEG: topography and
effect of REM sleep deprivation." Clinical Neurophysiology, Vol. 110, 1999: 632-635.
Schlogl A., Anderer P., Roberts S.J., Pregenzer M., Pfurtscheller G. "Artefact detection in sleep
EEG by the use of Kalman filtering." Proceeding of the EMBEC 99, 1999: 1648-1649.
Siegel JM. The neurobiology of sleep. Semin Neurol. 2009;29(4):277-96.
Steriade M., and Llinas R.R. "The functional states of the thalamus and the associated neuronal
interplay." Physiological Reviews, vol. 68. 1988. 649 742.
Steriade M and McCarley RW Brain control of wakefulness and sleep. 2005 Springer.
Steriade, M., A. D. McCormick, and J. T. Sejnowski. "Thalamocortical Oscillations in the Sleeping
and Aroused Brain." 1993: 679 685.
Steriade, M., and Deschene. "The thalamus as a neuronal oscillator." Brain Research Review,
1984: 1 63.
Sun M., Qian S., Yan X., Baumann S., Xia X., Dahl R., Ryan N., Sclabassi R. "Localizing functional
activity in the brain through time-frequency analysis and synthesis of the EEG." 1996: 13021311.

118

Sun, M., S. Qian, X. Yan, S. Baumann, X. Xia, and R. Dahl. "Localizing functional activity in the
brain through time-frequency analysis and synthesis of the EEG." Proceeding of the IEEE, Vol.84,
1996: 1302-1311.
Tagaya H., Tranchsel L., Murck H., Antonijevic I., Steiger A., Holsboer F., Friess E. "Temporal EEG
dynamics of non-REM sleep episodes in humans." Brain Research 861, 2000: 233-240.
Woertz M., Schogl A., Trenker E., Rappelsberger P., Pfurtscheller G. "Spindle filter optimization
with receiver operating characteristics curver." Proceedings of the EMBEC. 1999. 480-481.
Zeithofer, J., G. Gruber, P. Anderer, and P. Asenbaum. "Topographic distribution of sleep
spindles in young healthy subjects." Journal of Sleep Research, 1997: 149-155.
Zeitlhofer J, Anderer, G. Klosch, G. Gruber, E. Trenker, RD. Pascual- Marqui, MJ. Barbanoj, P.
Rappelsberger, B. Saletu. "Low-resolution brain electromagnetic tomography revealed
simultaneously active frontal and parietal sleep spindle sources in the human cortex."
Neuroscience, 103, 2001.
Zouridakis G., Jansen B.H., Boutros N.N.,. "A fuzzy clustering approach to EP estimation." IEEE
Transactions on Biomedical Engineering, vol. 44, 1997: 673-680.
Lu BS, Zee PC. Neurobiology of sleep. Clin Chest Med. 2010;31(2):309-18.
Zygierewicz J., K.J. Blinowska, P.J. Durka, W. Szelenberger, S. Niemcewicz, W. Androsiuk. "High
resolution study of sleep spindles." Clinical Neurophysiology. 1999. 110:2136-2147.
Zygierewiscz, J. Analysis of sleep spindles and a model of their generation, PhD thesis. Warsaw
University, 2000.

119

You might also like