Trait mzsignal::reprofile::AsPeakShapeModel
source · pub trait AsPeakShapeModel<'a, 'b: 'a> {
// Required method
fn as_peak_shape_model(
&'b self,
fwhm: f32,
shape: PeakShape
) -> PeakShapeModel<'a>;
}
Expand description
Convert something into a PeakShapeModel
with a given width parameter
Required Methods§
sourcefn as_peak_shape_model(
&'b self,
fwhm: f32,
shape: PeakShape
) -> PeakShapeModel<'a>
fn as_peak_shape_model( &'b self, fwhm: f32, shape: PeakShape ) -> PeakShapeModel<'a>
Convert something into a PeakShapeModel
with a given width parameter fwhm
and a specific PeakShape