pub struct Rows { /* private fields */ }Expand description
Rows chosen from the form, the grid and the profile alone: each sample is its own instant’s value, so any span reads what one whole span reads there.
Implementations§
Source§impl Rows
impl Rows
pub fn of( form: &ClosedForm, grid: Grid, profile: &Profile, ) -> Result<Rows, CollapseError>
Sourcepub fn of_spectral_sum_or_point(
sum: &SpectralSum,
written: Option<&ClosedForm>,
(grid, profile): (Grid, &Profile),
reads: &dyn Reads,
) -> Result<Rows, CollapseError>
pub fn of_spectral_sum_or_point( sum: &SpectralSum, written: Option<&ClosedForm>, (grid, profile): (Grid, &Profile), reads: &dyn Reads, ) -> Result<Rows, CollapseError>
Each ref a series term holds read as the form reads names; written reads none.
pub fn width(&self) -> usize
Sourcepub fn label(&self, profile: &Profile) -> Label
pub fn label(&self, profile: &Profile) -> Label
How exact these rows are, stated once for every sample they write.
Sourcepub fn lines(&self) -> Option<Vec<f64>>
pub fn lines(&self) -> Option<Vec<f64>>
The lines a row of lines sums, each lane’s, as hertz; None for any other row.
Sourcepub fn bytes(&self) -> usize
pub fn bytes(&self) -> usize
What its direct sums hold, roughly; a written form’s programs count nothing.
Sourcepub fn summed_lines(&self) -> Vec<f64>
pub fn summed_lines(&self) -> Vec<f64>
The lines every direct sum of this row adds, as hertz.
Sourcepub fn on_period(self, n: i64, bin: &dyn Fn(f64) -> Option<i64>) -> Rows
pub fn on_period(self, n: i64, bin: &dyn Fn(f64) -> Option<i64>) -> Rows
Each direct sum repeating after n samples, every line on a bin bin names, summed
over that period by one transform where Period takes it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rows
impl RefUnwindSafe for Rows
impl Send for Rows
impl Sync for Rows
impl Unpin for Rows
impl UnsafeUnpin for Rows
impl UnwindSafe for Rows
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