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: T
The raw intensity of the peak.
index: usize
The index of the peak in the sample data.
mean: f64
The mean intensity value of the peak.
rms: f64
The rms error of the peak from that mean.
kurtosis: f64
The kurtosis of the peak.
height_above_background: f64
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]
fn clone(&self) -> Peak<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more