Home

Awesome

matcfslib

matcfslib is a MATLAB library to read, write and create compressed feature set (CFS) file/stream from raw PSG data. The CFS format is used by the Z3Score sleep scoring system (https://z3score.com). Instead of using polysomnography data in European Data Format (EDF, https://en.wikipedia.org/wiki/European_Data_Format), the Z3Score system uses CFS files. CFS files are on an average 17X smaller than corresponding EDF files. This reduces data overhead significantly. The format does not allow any user identifiable information ensuring anonymity. The specifications of the file will be made available very soon. The code is released under GPL v3. For alternative license please contact contact@z3score.com

(c)-2017 Amiya Patanaik

Installation

Just add all the folder to Matlab path

Usage

Z3Score provides a RESTful API to access the sleep scoring services. Read about the API here: https://github.com/amiyapatanaik/z3score-api Sample code using the CFS library is provided in the repository.

Important Functions

    writeCFS(fileName, EEGData, samplingRate, varargin)
    stream = streamCFS(EEGData, samplingRate, varargin)
    data = readCFS(filename)
    data = readCFS(filename)
    EDF2CFS(filepath):

License

GPL V3