Options
All
  • Public
  • Public/Protected
  • All
Menu

fir-filter

The MIT License code style: prettier manpm npm semantic-release Commitizen friendly

An Implementation of Finite Impulse Response filter algorithm, this implementation is the re-written of https://sestevenson.wordpress.com/implementation-of-fir-filtering-in-c-part-1/.

Documentation

Installation

npm i fir-filter

Quick Start

import FirFilter from 'fir-filter';

const firFilter = new FirFilter([-0.1, 0.2, 0.1]);

// filter a serials
firFilter.filter([1]);
firFilter.filter([2]);
firFilter.filter([0.5, 0.3]);

// filter another serials
firFilter.reset();
firFilter.filter([5, 4, 2, 8]);

Development

# test
npm run test:watch
# build
npm run build

Index

Classes

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc