Trait gmt_lom::OpticalMetrics
source · pub trait OpticalMetrics {
// Required methods
fn n_item(&self) -> usize;
fn time_wise(&self, n_sample: Option<usize>) -> Vec<f64>;
// Provided method
fn items(&self) -> Chunks<'_, f64>
where Self: Deref<Target = Vec<f64>> { ... }
}
Expand description
Trait for the LOM optical metrics
A simple trait looking at the number of items in the TipTilt, SegmentTipTilt and SegmentPiston metrics