<HTML>
<HEAD>
<TITLE>Re: [Eeglablist] automated detection of slow wave sleep periods in intracranial EEG</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Athena-<BR>
<BR>
Unfortunately, the only strongly reliable way to pull out periods of slow wave sleep is to score this data by hand, marking every epoch that you want to include.  Although there are some automated sleep scoring algorithms out there, reliability is generally not great, and I am not aware of any automated scoring method which has been applied to intracranial data. In EEGLab, the simplest thing to do would be to manually highlight and delete all non slow-wave periods using the artifact rejection tool (</SPAN><FONT SIZE="4"><SPAN STYLE='font-size:13.0px'>Tools > Reject continuous data)</SPAN></FONT><SPAN STYLE='font-size:12.0px'>.  Alternatively, you could use an outside program to classify each 30sec epoch according to sleep stage, and then use the “select data” function to select a list of time periods that were classified as slow wave sleep — but I am not aware of any existing script for doing this type of sleep scoring in MatLab/EEGLab — does anyone else know of something?  <BR>
<BR>
Best,<BR>
Erin Wamsley<BR>
<BR>
<BR>
Erin J. Wamsley, Ph.D.<BR>
Instructor, Harvard Medical School<BR>
330 Brookline Avenue E/FD 862<BR>
Boston MA 02215<BR>
617.667.8486<BR>
<BR>
<BR>
<BR>
On 2/23/11 8:33 AM, "Athena Lemesiou" <a.lemesiou@ucl.ac.uk> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi All,<BR>
 <BR>
I have recently started my PhD and I am very new to EEGLab and Matlab in general so please forgive my ignorance.<BR>
 <BR>
I have a lot of intracranial EEG data from which I only want to look at slow wave sleep periods. Is this something that can be done through EEGlab? If not, is anyone aware of any scripts written in Matlab for this purpose?<BR>
 <BR>
Any help/feedback is very much appreciated.<BR>
 <BR>
Best wishes,<BR>
Athena<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
Erin J. Wamsley, Ph.D.<BR>
Instructor, Harvard Medical School<BR>
330 Brookline Avenue E/FD 862<BR>
Boston MA 02215<BR>
617.667.8486<BR>
 <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>