pub trait AlignmentOutput {
// Required methods
fn mean(&self) -> &[f64];
fn mean_srsf(&self) -> &[f64];
fn aligned_data(&self) -> &FdMatrix;
fn gammas(&self) -> &FdMatrix;
fn converged(&self) -> bool;
fn n_iter(&self) -> usize;
}Expand description
Common interface for alignment results, enabling interchangeable alignment methods in downstream analysis (elastic FPCA, regression, etc.).
Required Methods§
Sourcefn aligned_data(&self) -> &FdMatrix
fn aligned_data(&self) -> &FdMatrix
The aligned curves (n × m).