Skip to content
Back to all 269 Research Tools & BuildsLast recorded check: 2026-11-21
Completely free to useOpen-source (OSI-approved license)Neuroscience

YASA (Yet Another Spindle Algorithm)

Created by Raphael Vallat, PhD & Matthew P. Walker, PhD · Center for Human Sleep Science, UC Berkeley (Academic Lab / University)

Open-source Python sleep staging, spindle/slow-wave detection, and polysomnography spectral analysis package

What This Tool Does

Created by Raphael Vallat, PhD at UC Berkeley (Walker Lab), YASA performs automatic AASM sleep staging from clinical polysomnography (EEG/EOG/EMG), detects sleep spindles, slow oscillations, and REM bursts, and computes overnight hypnograms.

What Makes It Useful or Distinctive

Trained and validated on over 30,000 hours of clinical polysomnography recordings from the National Sleep Research Resource.

How to Get Started Immediately

Install via `pip install yasa`.

Access, Source Licensing & Clinical Intended Use

Cost & Access Classification
Completely free to use
None; completely free to use.
Source Code & License
BSD-3-Clause
Open-source (OSI-approved license)
Intended Use & Regulatory Status
Educational & research use
Verify institutional compliance and local regulatory clearance before any patient-facing clinical use.
Technical Requirements
Local Installation / Package
Account required: No · Offline capable: Yes
Reference Scientific Publication (DOI)https://doi.org/10.7554/eLife.70092
Open Cited Paper ↗

Connect This Tool to Your Research Workflow on Trace.Science

Find collaborators experienced with YASA (Yet Another Spindle Algorithm), recruit contributors for a study using this tool, or cite it in your manuscript Methods section.

Launch & Source Links

Visit Project SiteView Source RepositoryDocumentation & Tutorials
Supported Platforms
Python
Target Audience
Biomedical researchersMedical studentsMedical AI & data scientists
Specialties
NeurologyPulmonologyPsychiatrySleep Medicine

Comparable Verified Tools

Cerebrarium

Interactive 3D human brain and neuroanatomy atlas built from research MRI and CT scans

Completely free to use · Proprietary free web educational platform (built from open research scan data)
Z-Anatomy

Open-source Blender-based 3D human anatomy atlas derived from BodyParts3D

Completely free to use · CC BY-SA 4.0 (3D models) / GPL-3.0 (Blender scripts)
HuBMAP Human Reference Atlas (HRA)

Multi-scale 3D spatial reference atlas of healthy human organs and single-cell tissue maps

Completely free to use · MIT License (UI & code) / CC BY 4.0 (Atlas models)
Allen Brain Map & 3D Brain Explorer

Multi-modal human and mouse gene expression, connectivity, and cell-type brain atlases

Completely free to use · Allen Institute Terms of Use (Data) / BSD-3-Clause (AllenSDK)