use crate::config::*;
#[derive(Copy, Clone, PartialEq, Debug)]
#[cfg_attr(
feature = "python-bindings",
gen_stub_pyclass_complex_enum,
pyclass(get_all, set_all, from_py_object)
)]
pub enum ApsMode {
AllAveraging {},
ExponentialWeighting {
tau: Flt,
},
Spectrogram {},
}
impl Default for ApsMode {
fn default() -> Self {
ApsMode::AllAveraging {}
}
}
#[cfg(feature = "python-bindings")]
#[cfg_attr(feature = "python-bindings", pymethods, gen_stub_pymethods)]
impl ApsMode {
#[inline]
fn __eq__(&self, other: &Self) -> bool {
self == other
}
}