# Citation If you use this code, please cite **both the paper and the software**. A `CITATION.cff` at the repository root also lets GitHub render a "Cite this repository" button. ## Paper ```bibtex @unpublished{gagliardi2026protosleepnet, title = {Prototype-based interpretable sleep staging with physiologically meaningful sub-stage pattern discovery}, author = {Gagliardi, Guido and Garcia Ciudad, Javier and Micca, Letizia and Kornum, Birgitte Rahbek and Gilat, Moran and Alfeo, Antonio Luca and Cimino, Mario G. C. A. and De Vos, Maarten}, year = {2026}, doi = {10.21203/rs.3.rs-9169987/v1}, note = {Under review at npj Digital Medicine. Research Square preprint} } ``` ## Software ```bibtex @software{protosleepnet, title = {ProtoSleepNet: prototype-based interpretable sleep staging}, author = {Gagliardi, Guido}, year = {2026}, version = {1.0.0}, url = {https://github.com/guidogagl/protosleepnet} } ``` :::{note} Author list, ORCIDs, the publication year and the Zenodo software DOI are filled in at acceptance — see `CITATION.cff` for the current, machine-readable record. ::: ## Built on physioex This work builds on [physioex](https://github.com/guidogagl/physioex) v2.0.0, which provides the model, data loaders, preprocessing, splits, seeds and metrics. ```bibtex @software{physioex, title = {PhysioEx: a Python library for explainable sleep staging}, author = {Gagliardi, Guido}, version = {2.0.0}, url = {https://github.com/guidogagl/physioex} } ``` License: MIT.