mzsignal
is a library for performing low-level signal processing on
mass spectra en-route to converting a continuous profile-mode spectrum
into a centroided peak list.
The peak picking facility can be used directly with PeakPicker
which
implements a simple gaussian peak shape fitter. There are a some threshold
criteria that can be manipulated to control which fits are reported, see its
documentation for more details.
When one spectrum is insufficient, averaging the signal from multiple spectra
together can be better. The average
sub-module includes components
for merging together multiple profile spectra.
``` use std::fs; use std::io; use std::io::prelude::*;
use mzsignal;
let mut mzarray: Vec
This library depends upon ndarray-linalg
, which means it needs a LAPACK implementation
as a backend for ndarray-linalg
. These are enabled by passing one of the supported backends
as a feature
to cargo
e.g.: