pub struct Cwt { /* private fields */ }Implementations§
Source§impl Cwt
impl Cwt
Sourcepub fn new(
grid: FrequencyGrid,
omega0: f64,
rectify: bool,
) -> Result<Self, MethodError>
pub fn new( grid: FrequencyGrid, omega0: f64, rectify: bool, ) -> Result<Self, MethodError>
grid gives the frequencies to analyse (its bin centres); omega0 is the Morlet
wavenumber (6 in Torrence & Compo). With rectify, power is divided by scale
(Liu, Liang & Weisberg 2007).
Sourcepub fn fourier_factor(&self) -> f64
pub fn fourier_factor(&self) -> f64
Fourier period of scale 1, λ.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cwt
impl RefUnwindSafe for Cwt
impl Send for Cwt
impl Sync for Cwt
impl Unpin for Cwt
impl UnwindSafe for Cwt
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