Giter Site home page Giter Site logo

edf-test-generator-console's Introduction

This is a commandline tool that generates waveforms stored in the European Data Format (EDF or BDF).

website: https://www.teuniz.net/EDF-test-file-generator/


 EDF generator version 1.09 Copyright (c) 2020 - 2022 Teunis van Beelen   email: [email protected]

 Usage: edfgenerator [OPTION]...

 options:

 --type=edf|bdf default: edf

 --len=file duration in seconds default: 30

 --rate=samplerate in Hertz default: 500 (integer only)

 --freq=signal frequency in Hertz default: 10 (may be a real number e.g. 333.17)

 --wave=sine | square | ramp | triangle | white-noise | pink-noise default: sine

 --dcycle=dutycycle: 0.1-100% default: 50

 --phase=phase: 0-360degr. default: 0

 --physmax=physical maximum default: 1200 (may be a real number e.g. 1199.99)

 --physmin=physical minimum default: -1200 (may be a real number e.g. -1199.99)

 --amp=peak amplitude default: 1000 (may be a real number e.g. 999.99)

 --unit=physical dimension default: uV

 --digmax=digital maximum default: 32767 (EDF) or 8388607 (BDF) (integer only)

 --digmin=digital minimum default: -32768 (EDF) or -8388608 (BDF) (integer only)

 --offset=physical dc-offset default: 0

 --datrecs=number of datarecords that will be written into the file, has precedence over --len.

 --datrec-duration=duration of a datarecord in seconds default: 1 (may be a real number e.g. 0.25)
                   effective samplerate and signal frequency will be inversely proportional to the datarecord duration

 --signals=number of signals default: 1 in case of multiple signals, signal parameters must be separated by a comma e.g.: --rate=1000,800,133

 --merge  merge all signals into one trace, requires equal samplerate and equal physical max/min and equal digital max/min and equal physical dimension (units) for all signals

 --help

 Note: decimal separator (if any) must be a dot, do not use a comma as a decimal separator


 examples:

 edfgenerator --type=bdf --len=60 --rate=44000 --freq=1000 --wave=square --dcycle=15 --unit=V --offset=500 --physmax=5000

 edfgenerator --type=edf --len=30 --signals=5 --rate=1000,800,500,975,999 --freq=5,13,7,1,1 --wave=sine,square,ramp,pink-noise,white-noise --dcycle=50,25,75,50,50 --unit=uV,uV,uV,uV,uV --physmax=3000,3000,3000,3000,3000 --physmin=-3000,-3000,-3000,-3000,-3000 --datrec-duration=0.5

 merge 3 sine waves into one trace:

 edfgenerator --type=edf --len=30 --signals=3 --rate=1000,1000,1000 --freq=5,15,25 --wave=sine,sine,sine --unit=uV,uV,uV --amp=200,66.667,40 --physmax=3000,3000,3000 --physmin=-3000,-3000,-3000 --merge






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.