smart_lorentz_gauss 2.0.0 copy "smart_lorentz_gauss: ^2.0.0" to clipboard
smart_lorentz_gauss: ^2.0.0 copied to clipboard

outdated

Searches (picks, detects) peaks (maximum values) in one- or two-dimensional arrays. The data in the arrays may be noisy, i.e. be the result of measurements.

Smart Lorentz Gauss #

What the package can do for you #

This package provides functionalities to compute an n-dimensional mixed Lorentz-Gauss line shape, also called an n-dimensional Pseudo-Voigt function. Typically such functions occur in spectroscopic data originating from electro-magnetic radiation. The function can for example be used for fitting or deconvolution of such data.

The major API functionalities #

  • class LorentzGauss

This example constructs a LorentzGauss shape with the given height, center, width, and Gaussian fraction.

LorentzGauss lg = new LorentzGauss.fromPars(height, [center], [width], [0.2]);

This example would compute the value of the above shape value at position x.

double val = lg.getValueAt(x]);

Detailed API

Please view the detailed API documentation in the API reference of this package (sidebar at the right of this page).

Using this package #

You need Dart 2.0 or later.

Import the package using:

  • import 'package:smart_arrays_peaks/smart_arrays.dart_peaks';

smart_arrays_base: Basic functions for 1D and 2D arrays

smart_arrays_compress: Compress 1D and 2D arrays to a smaller size

smart_arrays_peaks: Pick peaks in 1D and 2D array.

0
likes
0
pub points
4%
popularity

Publisher

verified publisherhiveright.tech

Searches (picks, detects) peaks (maximum values) in one- or two-dimensional arrays. The data in the arrays may be noisy, i.e. be the result of measurements.

Homepage

License

unknown (LICENSE)

Dependencies

build_runner, build_web_compilers, pedantic

More

Packages that depend on smart_lorentz_gauss