pub struct ScatteringTransform { /* private fields */ }Expand description
The scattering transform engine.
Implementations§
Source§impl ScatteringTransform
impl ScatteringTransform
Sourcepub fn new(config: ScatteringConfig, signal_length: usize) -> FFTResult<Self>
pub fn new(config: ScatteringConfig, signal_length: usize) -> FFTResult<Self>
Create a new scattering transform for signals of a given length.
§Arguments
config- Scattering configurationsignal_length- Length of input signals
Sourcepub fn filter_bank(&self) -> &FilterBank
pub fn filter_bank(&self) -> &FilterBank
Access the underlying filter bank.
Sourcepub fn transform(&self, signal: &[f64]) -> FFTResult<ScatteringResult>
pub fn transform(&self, signal: &[f64]) -> FFTResult<ScatteringResult>
Compute the scattering transform of a real-valued signal.
Returns scattering coefficients organized by order.
Trait Implementations§
Source§impl Clone for ScatteringTransform
impl Clone for ScatteringTransform
Source§fn clone(&self) -> ScatteringTransform
fn clone(&self) -> ScatteringTransform
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 Freeze for ScatteringTransform
impl RefUnwindSafe for ScatteringTransform
impl Send for ScatteringTransform
impl Sync for ScatteringTransform
impl Unpin for ScatteringTransform
impl UnsafeUnpin for ScatteringTransform
impl UnwindSafe for ScatteringTransform
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