Tutorials#

Step-by-step guides for common YASA workflows.

Quickstart

A walkthrough of YASA’s core features using real PSG data: loading recordings, working with hypnograms, spectral analysis, and event detection.

Quickstart
Working with Hypnograms

Learn how to create, manipulate, analyze, and visualize sleep hypnograms using the Hypnogram class introduced in YASA 0.7.

Working with Hypnograms
Migrating to the Hypnogram class

Coming from YASA 0.6? Step-by-step patterns for updating code that used integer arrays and the old standalone functions to the new Hypnogram API.

Migrating to the Hypnogram class