Skip to main content

estimate_pseudo_voigt

Function estimate_pseudo_voigt 

Source
pub fn estimate_pseudo_voigt(x: &[f64], y: &[f64]) -> Option<Vec<f64>>
Expand description

Seed for pseudo_voigt_model: [height, centroid, fwhm, eta, background].

Eta seeds to 0.5, mirroring silx estimate_pvoigt (newpar.append(0.5)).