pub struct Peaks {
pub indices: Vec<usize>,
pub peak_heights: Option<Vec<f64>>,
pub left_thresholds: Option<Vec<f64>>,
pub right_thresholds: Option<Vec<f64>>,
pub plateau_sizes: Option<Vec<usize>>,
pub left_edges: Option<Vec<usize>>,
pub right_edges: Option<Vec<usize>>,
pub prominences: Option<Prominences>,
pub widths: Option<Widths>,
}Expand description
The result of find_peaks: the indices of the peaks, and the properties computed while
selecting them (only those the options required, as in SciPy).
Fields§
§indices: Vec<usize>§peak_heights: Option<Vec<f64>>§left_thresholds: Option<Vec<f64>>§right_thresholds: Option<Vec<f64>>§plateau_sizes: Option<Vec<usize>>§left_edges: Option<Vec<usize>>§right_edges: Option<Vec<usize>>§prominences: Option<Prominences>§widths: Option<Widths>Trait Implementations§
impl StructuralPartialEq for Peaks
Auto Trait Implementations§
impl Freeze for Peaks
impl RefUnwindSafe for Peaks
impl Send for Peaks
impl Sync for Peaks
impl Unpin for Peaks
impl UnsafeUnpin for Peaks
impl UnwindSafe for Peaks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more