pub struct CoherenceResult<T> {
pub coherence: Vec<Vec<T>>,
pub phase: Vec<Vec<f64>>,
pub cross_power: Vec<Vec<Complex<T>>>,
pub power1: Vec<Vec<T>>,
pub power2: Vec<Vec<T>>,
pub scales: Vec<T>,
pub time: Vec<T>,
pub sampling_freq: T,
}Expand description
Result of wavelet coherence computation
Fields§
§coherence: Vec<Vec<T>>Coherence matrix [scales x time], values in [0, 1]
phase: Vec<Vec<f64>>Phase difference matrix [scales x time], values in [-π, π]
cross_power: Vec<Vec<Complex<T>>>Cross-wavelet power (complex) [scales x time]
power1: Vec<Vec<T>>Wavelet power spectrum of first signal [scales x time]
power2: Vec<Vec<T>>Wavelet power spectrum of second signal [scales x time]
scales: Vec<T>Scale values used
time: Vec<T>Time points
sampling_freq: TSampling frequency
Trait Implementations§
Source§impl<T: Clone> Clone for CoherenceResult<T>
impl<T: Clone> Clone for CoherenceResult<T>
Source§fn clone(&self) -> CoherenceResult<T>
fn clone(&self) -> CoherenceResult<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for CoherenceResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for CoherenceResult<T>where
T: RefUnwindSafe,
impl<T> Send for CoherenceResult<T>where
T: Send,
impl<T> Sync for CoherenceResult<T>where
T: Sync,
impl<T> Unpin for CoherenceResult<T>where
T: Unpin,
impl<T> UnwindSafe for CoherenceResult<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more