API Docs for: 2.0.0

Class oneEuroFilter

Class defined in: src/node-1euro.js:50

Class describing a filter

Object oneEuroFilter( freq, mincutoff, beta, dcutoff )
src/node-1euro.js:50
Parameters:
  • freq <Number>

    Data update rate

  • mincutoff <Number>

    Minimum cutoff frequency

  • beta <Number>

    Cutoff slope

  • dcutoff <Number>

    Cutoff frequency for derivate


Returns: <Object>

an object representing a filter

Bool fileExists( filename )
sabi.js/server.js:310

Test if file is exists

Parameters:
  • filename <String>

    name of the file to be tested


Returns: <Bool>

true if exists

String mkdirParent( dirPath )
sabi.js/server.js:263

Creates recursively a series of folders if needed (synchronous function and throws error)

Parameters:
  • dirPath <String>

    path to be created


Returns: <String>

null or directory created