pub struct InstantaneousModes { /* private fields */ }Expand description
Instantaneous amplitude and frequency of every mode, laid out as mode × channel × sample, with the centre frequencies of the modes they came from.
Implementations§
Source§impl InstantaneousModes
impl InstantaneousModes
pub fn new( amplitude: Array3<f64>, frequency_hz: Array3<f64>, centre_frequencies_hz: Vec<f64>, sampling_rate: SamplingRate, labels: Vec<String>, ) -> Result<Self, MethodError>
pub fn amplitude(&self) -> ArrayView3<'_, f64>
pub fn frequency_hz(&self) -> ArrayView3<'_, f64>
pub fn centre_frequencies_hz(&self) -> &[f64]
pub fn sampling_rate(&self) -> SamplingRate
pub fn labels(&self) -> &[String]
pub fn n_samples(&self) -> usize
Trait Implementations§
Source§impl Clone for InstantaneousModes
impl Clone for InstantaneousModes
Source§fn clone(&self) -> InstantaneousModes
fn clone(&self) -> InstantaneousModes
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 moreSource§impl Debug for InstantaneousModes
impl Debug for InstantaneousModes
Source§impl PartialEq for InstantaneousModes
impl PartialEq for InstantaneousModes
impl StructuralPartialEq for InstantaneousModes
Auto Trait Implementations§
impl Freeze for InstantaneousModes
impl RefUnwindSafe for InstantaneousModes
impl Send for InstantaneousModes
impl Sync for InstantaneousModes
impl Unpin for InstantaneousModes
impl UnwindSafe for InstantaneousModes
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