Giter Site home page Giter Site logo

eegkit / edf2cfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amiyapatanaik/edf2cfs

0.0 0.0 0.0 4.56 MB

A high-performance multi-threaded C++ CLI application to convert EDF (European Data Format) files to Compressed Feature Set (CFS) format.

C++ 51.13% C 46.60% Makefile 2.27%

edf2cfs's Introduction

edf2cfs

A high-performance multi-threaded C++ CLI application to convert EDF (European Data Format) files to Compressed Feature Set (CFS) format. 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.

Patents pending (c)-2017 Amiya Patanaik [email protected]

This application has miltiple dependencies including

sigpack: C++ signal processing library http://sigpack.sourceforge.net/

tclap: Templatized C++ Command Line Parser Library,

BOOST: C++ libraries

armadillo: C++ linear algebra library

zlib: DEFLATE compression algorithm

If you have all the dependencies installed you can issue the command

	make

edf2cfs is the compiled executable for Mac-OS, to find out the usage

	./edf2cfs -h
USAGE: 

   ./edf2cfs  [-l] [-o] [-q] [-d <EDF Directory>] [-z <ER-A1 Channel
              Label>] [-x <EL-A2 Channel Label>] [-b <C4-A1 Channel Label>]
              [-a <C3-A2 Channel Label>] [--] [--version] [-h] <List of EDF
              files> ...


Where: 

   -l,  --log
     save log

   -o,  --overwrite
     over write files

   -q,  --quiet
     silent mode

   -d <EDF Directory>,  --dir <EDF Directory>
     EDF Directory

   -z <ER-A1 Channel Label>,  --er <ER-A1 Channel Label>
     ER-A1 Channel Label

   -x <EL-A2 Channel Label>,  --el <EL-A2 Channel Label>
     EL-A2 Channel Label

   -b <C4-A1 Channel Label>,  --c4 <C4-A1 Channel Label>
     C4-A1 Channel Label

   -a <C3-A2 Channel Label>,  --c3 <C3-A2 Channel Label>
     C3-A2 Channel Label

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   --version
     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.

   <List of EDF files>  (accepted multiple times)
     List of filename


   Usage: ./edf2cfs -a C3A2 -b C4A1 -x ELA2 -z ERA1 -q -o -l -d edfDir
   filename1.edf filename2.edf ... filenameN.edf

   If no channels are given, then a selection menu will be shown.

   Use -d to provide a directory path with EDF files, -q to supress output,
   -o to overwrite and -l to save log.

Both batch and single file conversion is supported

License

GPL V3

edf2cfs's People

Contributors

amiyapatanaik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.