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§

source

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

Implementations on Foreign Types§

source§

impl<'a, 'b: 'a, T: CentroidLike> AsPeakShapeModel<'a, 'b> for &T

source§

fn as_peak_shape_model( &'b self, fwhm: f32, shape: PeakShape ) -> PeakShapeModel<'a>

Implementors§