Struct peakbag::Peak [] [src]

pub struct Peak<T: Copy> {
    pub amplitude: T,
    pub index: usize,
    pub mean: f64,
    pub rms: f64,
    pub kurtosis: f64,
    pub height_above_background: f64,
}

A peak in the waveform data.

Fields

amplitude

The raw intensity of the peak.

index

The index of the peak in the sample data.

mean

The mean intensity value of the peak.

rms

The rms error of the peak from that mean.

kurtosis

The kurtosis of the peak.

height_above_background

The height of the peak above a background level, as defined by the first and last points in the peak.

Trait Implementations

Derived Implementations

impl<T: Debug + Copy> Debug for Peak<T>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<T: Copy + Copy> Copy for Peak<T>

impl<T: Clone + Copy> Clone for Peak<T>

fn clone(&self) -> Peak<T>

fn clone_from(&mut self, source: &Self)