pub struct TFResult {
pub times: Vec<f64>,
pub frequencies: Vec<f64>,
pub coefficients: Array2<Complex64>,
pub sample_rate: Option<f64>,
pub transform_type: TFTransform,
pub metadata: HashMap<String, f64>,
}Expand description
Result of a time-frequency transform
Fields§
§times: Vec<f64>Time points (in samples or seconds if sample rate is provided)
frequencies: Vec<f64>Frequency points (in normalized units or Hz if sample rate is provided)
coefficients: Array2<Complex64>Time-frequency representation (complex coefficients)
sample_rate: Option<f64>Sample rate (if provided)
transform_type: TFTransformTransform type
metadata: HashMap<String, f64>Metadata about the transform
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TFResult
impl RefUnwindSafe for TFResult
impl Send for TFResult
impl Sync for TFResult
impl Unpin for TFResult
impl UnwindSafe for TFResult
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