This application allows users to import EEG signals in EDF format and view both the raw and filtered signals alongside a spectral analysis. Users can easily identify and highlight sleep spindles by drawing rectangles over the filtered signal. Each selected spindle region is instantly highlighted, and the start and end times are automatically recorded in a comprehensive table. For convenience, all recorded spindle data can be exported as a CSV file, facilitating further analysis and reporting. This tool is perfect for researchers and clinicians seeking precise, user-driven spindle scoring.
- Run Manual_Sleep_Spindle_Scorer.mlappinstall to install the app
- Select the Manual Sleep Spindle Scorer App Icon under the Apps tab wihin MATLAB
or
- Make sure downloaded files are within your path
- Run Manual_Sleep_Spindle_Scorer.mlapp
MathWorks Products (https://www.mathworks.com)
Requires MATLAB® release R2024b or newer
- Signal Processing Toolbox™
- Image Processing Toolbox™
- Parallel Computing Toolbox™
- Statistics and Machine Learning Toolbox™
- Open the App: Launch the app after installation.
- Import EEG File: Click the folder icon under "EEG File" or navigate to
File > Load EEG
to import an EDF file. - Select Channel: Use the channel dropdown next to the folder icon to choose the desired channel.
- Identify Spindles:
- Click "Select Spindle" and draw a rectangle over the region of interest in the filtered signal axes.
- Once positioned correctly, click "Set Spindle" to highlight the region and populate the table.
- Repeat: Continue selecting and setting spindles as needed.
- Export Results: Ensure the Scorer's Name is filled in, then go to
File > Export Results
to save a CSV file. - Save/Load Project (Optional):
- Use
File > Save Project
to save the current workspace as a .mat file, including loaded files and highlighted spindles. - Use
File > Load Project
to reload a saved .mat file.
- Use
European Data Format (EDF)
The license is available in the License.txt file in this GitHub repository.
Copyright 2025 The MathWorks, Inc.