This repo contains Python code for processing and running analysis on polysomnography data.
Run pip install -r requirements.txt to install dependencies.
Parameters:
thresholds: WASO window durations to includeduration: Whether to calculate WASO durationfrequency: Whether to calculate WASO frequencycols2drop: Columns to drop from the dataframethreads: Number of threads to use for parallel processing