Enum light_curve_feature::periodogram::PeriodogramPower [−][src]
#[non_exhaustive] pub enum PeriodogramPower<T> where
T: Float, { Fft(PeriodogramPowerFft<T>), Direct(PeriodogramPowerDirect), }
Expand description
Periodogram execution algorithm
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tuple Fields of Fft
0: PeriodogramPowerFft<T>
Tuple Fields of Direct
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.
Performs the conversion.
fn power(
&self,
__enum_dispatch_arg_0: &FreqGrid<T>,
__enum_dispatch_arg_1: &mut TimeSeries<'_, T>
) -> Vec<T>
fn try_into(
self
) -> Result<PeriodogramPowerDirect, <Self as TryInto<PeriodogramPowerDirect>>::Error>
fn try_into(
self
) -> Result<PeriodogramPowerDirect, <Self as TryInto<PeriodogramPowerDirect>>::Error>
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 PeriodogramPower<T>
impl<T> Send for PeriodogramPower<T>
impl<T> Sync for PeriodogramPower<T>
impl<T> Unpin for PeriodogramPower<T>
impl<T> UnwindSafe for PeriodogramPower<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.