#![doc = include_str!("../README.md")] mod periodogram; #[cfg(test)] mod test_data; pub use periodogram::{ Builder as PeriodogramDetectorBuilder, Detector as PeriodogramDetector, Periodogram, }; /// A detector of periodic signals in a time series. pub trait Detector { /// Detects the periods of a time series. fn detect(&self, data: &[f64]) -> Vec; }