This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

integral-transforms
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

integral-transforms

NPM version build status Test coverage npm download

A tool for line broadening through integral transforms.

Installation

$ npm i integral-transforms

Usage

import { getTransform } from 'integral-transforms';

const signal = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.4, 0.3, 0.2, 0.1, 0];

const broadedSignal = getTransform(signal, { kernelLength: 7 });
// [0.04, 0.12, 0.24, 0.53, 0.80, 1, 0.80, 0.53, 0.24, 0.12,0.04]

Arguments

  • array: Matrix containing the inputs.

Options

  • shape: Define the shape of the kernel (default: 'triangular').
  • kernelLength: Set up the length of the kernel to perform the convolution (default: 7).

Shapes

Shape Status
Triangular
Gaussian
Lorentzian

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i integral-transforms

Weekly Downloads

0

Version

0.0.0

License

MIT

Unpacked Size

28.6 kB

Total Files

52

Last publish

Collaborators

  • josoriom