pub struct Stft<T>{ /* private fields */ }
Implementations§
source§impl<T> Stft<T>
impl<T> Stft<T>
pub fn new( n_fft: usize, hop_length: usize, window_function: WindowFunction<T>, window_periodic: bool, ) -> Self
pub fn forward( &self, input: ArrayView2<'_, T>, ) -> Result<Array3<Complex<T>>, String>
pub fn inverse( &self, input: ArrayView3<'_, Complex<T>>, ) -> Result<Array2<T>, String>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Stft<T>
impl<T> !RefUnwindSafe for Stft<T>
impl<T> Send for Stft<T>
impl<T> Sync for Stft<T>
impl<T> Unpin for Stft<T>where
T: Unpin,
impl<T> !UnwindSafe for Stft<T>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)