pub struct MultichannelSeries { /* private fields */ }Expand description
Equally sampled signals, laid out as channels × samples.
Implementations§
Source§impl MultichannelSeries
impl MultichannelSeries
pub fn new( data: Array2<f64>, sampling_rate: SamplingRate, labels: Vec<String>, ) -> Result<Self, SignalError>
pub fn data(&self) -> ArrayView2<'_, f64>
pub fn sampling_rate(&self) -> SamplingRate
pub fn labels(&self) -> &[String]
pub fn n_channels(&self) -> usize
pub fn n_samples(&self) -> usize
pub fn duration_s(&self) -> f64
Trait Implementations§
Source§impl Clone for MultichannelSeries
impl Clone for MultichannelSeries
Source§fn clone(&self) -> MultichannelSeries
fn clone(&self) -> MultichannelSeries
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 MultichannelSeries
impl Debug for MultichannelSeries
Source§impl PartialEq for MultichannelSeries
impl PartialEq for MultichannelSeries
impl StructuralPartialEq for MultichannelSeries
Auto Trait Implementations§
impl Freeze for MultichannelSeries
impl RefUnwindSafe for MultichannelSeries
impl Send for MultichannelSeries
impl Sync for MultichannelSeries
impl Unpin for MultichannelSeries
impl UnwindSafe for MultichannelSeries
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