Coverage for src/sleepless/configs/datasets/EDF/sc_filtered.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.4.2, created at 2024-04-04 17:28 +0200

1# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <contact@idiap.ch> 

2# 

3# SPDX-License-Identifier: GPL-3.0-or-later 

4"""Sleep-EDF (expanded) dataset for sleep analysis. 

5 

6The database includes 197 all night PSGs recording in 2 subsets (SC and ST): 

7 

8ST contains 44 PSG (9-hours-night) of 22 Caucasian (between 18-79 years old), 

9healthy (without medication) but with difficulty to fall asleep. 

10 

11SC contains 153 PSG (20 hours) of 78 Caucasian (between 25-101 years old), 

12healthy (without medication) 

13 

14In this protocol all the raw data have been filtered with a pass band filter [0.3,30] Hz. 

15 

16* Reference: [SLEEP_EDF-2018]_ 

17* Protocol ``sc-filtered``: 

18 

19 * Train split: 97 (from Sc subset) 

20 * Validation split: 28 (from SC subset) 

21 * Test split: 28 (from SC subset) 

22""" 

23 

24from . import raw 

25 

26dataset = raw.subsets("sc-filtered") 

27 

28dataset_as_test = { 

29 "edf_sc_train": dataset["train"], 

30 "edf_sc_validation": dataset["validation"], 

31 "edf_sc_test": dataset["test"], 

32}