SSWTConfig

Struct SSWTConfig 

#[non_exhaustive]
pub struct SSWTConfig { pub wavelet: Box<dyn ContinuousWavelet>, pub scales: Vec<f64>, pub sampling_freq: f64, pub num_freq_bins: usize, pub freq_range: (f64, f64), pub gamma: Option<f64>, pub log_freq_bins: bool, }

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
§wavelet: Box<dyn ContinuousWavelet>§scales: Vec<f64>§sampling_freq: f64§num_freq_bins: usize§freq_range: (f64, f64)§gamma: Option<f64>§log_freq_bins: bool

Implementations§

§

impl SSWTConfig

pub fn with_wavelet(self, wavelet: Box<dyn ContinuousWavelet>) -> Self

pub fn with_scales(self, scales: Vec<f64>) -> Self

pub fn with_sampling_freq(self, fs: f64) -> Self

pub fn with_num_freq_bins(self, n: usize) -> Self

pub fn with_freq_range(self, range: (f64, f64)) -> Self

pub fn with_gamma(self, gamma: Option<f64>) -> Self

pub fn with_log_freq_bins(self, log: bool) -> Self

Trait Implementations§

§

impl Debug for SSWTConfig

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

§

impl Default for SSWTConfig

§

fn default() -> Self

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

§

impl<T> From<T> for T

§

fn from(t: T) -> T

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

§

impl<T> IntoEither for T

§

fn into_either(self, into_left: bool) -> Either<Self, Self>

§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

§

impl<T> Pointable for T

§

const ALIGN: usize

§

type Init = T

§

unsafe fn init(init: <T as Pointable>::Init) -> usize

§

unsafe fn deref<'a>(ptr: usize) -> &'a T

§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

§

unsafe fn drop(ptr: usize)

§

impl<T> Same for T

§

type Output = T

§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

§

fn is_in_subset(&self) -> bool

§

fn to_subset_unchecked(&self) -> SS

§

fn from_subset(element: &SS) -> SP

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,