pub struct Estimate {
pub step: f64,
pub magnitude: Vec<f64>,
}Expand description
One averaged spectral estimate: a bin step, and a magnitude per bin.
Deliberately not a Spectrum. Welch’s method has no phase to report, and
a spectrum carrying an invented zero imaginary part would reconstruct to
something that was never measured.
Fields§
§step: f64The frequency distance between neighbouring bins, in Hz.
magnitude: Vec<f64>The amplitude of each bin, from DC upwards.
Trait Implementations§
impl StructuralPartialEq for Estimate
Auto Trait Implementations§
impl Freeze for Estimate
impl RefUnwindSafe for Estimate
impl Send for Estimate
impl Sync for Estimate
impl Unpin for Estimate
impl UnsafeUnpin for Estimate
impl UnwindSafe for Estimate
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