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

The raw intensity of the peak.

The index of the peak in the sample data.

The mean intensity value of the peak.

The rms error of the peak from that mean.

The kurtosis of the peak.

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

Trait Implementations

impl<T: Clone + Copy> Clone for Peak<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy + Copy> Copy for Peak<T>
[src]

impl<T: Debug + Copy> Debug for Peak<T>
[src]

Formats the value using the given formatter.