Struct light_curve_feature::PeriodogramPowerFft [−][src]
pub struct PeriodogramPowerFft<T> where
T: Float, { /* fields omitted */ }
Expand description
“Fast” (FFT-based) periodogram executor
This algorithm spreads observer time series into uniform time grid using linear interpolation
and then uses FFT to obtain periodogram sums. This implementation returns estimation of
Lomb-Scargle periodogram that derives to the exact values while max_freq_factor
grows.
Asymptotic time is $O(N \log N)$, it is faster then
PeriodogramPowerDirect even for $N \gtrsim 10$.
Note that current implementation uses two-powered time grids and requires to estimate the best
FFT algorithm for each pair of grid size and working thread that can take several seconds,
especially for large grids.
The implementation is inspired by Numerical Recipes, Press et al., 1997, Section 13.8
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
fn try_into(
self
) -> Result<PeriodogramPowerFft<T>, <Self as TryInto<PeriodogramPowerFft<T>>>::Error>
fn try_into(
self
) -> Result<PeriodogramPowerFft<T>, <Self as TryInto<PeriodogramPowerFft<T>>>::Error>
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for PeriodogramPowerFft<T>
impl<T> Send for PeriodogramPowerFft<T>
impl<T> Sync for PeriodogramPowerFft<T>
impl<T> Unpin for PeriodogramPowerFft<T>
impl<T> UnwindSafe for PeriodogramPowerFft<T>
Blanket Implementations
Convert the given value into an approximately equivalent representation.
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Attempt to convert the subject to a given type.