Struct light_curve_feature::features::Periodogram[][src]

pub struct Periodogram<T, F> where
    T: Float
{ /* fields omitted */ }
Expand description

A number of features based on Lomb–Scargle periodogram

Periodogram $P(\omega)$ is an estimate of spectral density of unevenly time series. Periodogram::new’s peaks argument corresponds to a number of the most significant spectral density peaks to return. For each peak its period and “signal to noise” ratio is returned.

$$ \mathrm{signal~to~noise~of~peak} \equiv \frac{P(\omega_\mathrm{peak}) - \langle P(\omega) \rangle}{\sigma_{P(\omega)}}. $$

Periodogram can accept another dyn FeatureEvaluator for feature extraction from periodogram as it was time series without observation errors. You can even pass one Periodogram to another one if you are crazy enough

  • Depends on: time, magnitude
  • Minimum number of observations: 2 (or as required by sub-features)
  • Number of features: $2 \times \mathrm{peaks}~+…$

Implementations

Set frequency resolution

The larger frequency resolution allows to find peak period with better precision

Multiply maximum (Nyquist) frequency

Maximum frequency is Nyquist frequncy multiplied by this factor. The larger factor allows to find larger frequency and makes PeriodogramPowerFft more precise. However large frequencies can show false peaks

Define Nyquist frequency

Extend a feature to extract from periodogram

New Periodogram that finds given number of peaks

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Should return the vector of feature values or EvaluatorError

Should return the vector of feature values and fill invalid components with given value

Get feature evaluator meta-information

Should return the vector of feature names. The length and feature order should correspond to eval() output Read more

Should return the vector of feature descriptions. The length and feature order should correspond to eval() output Read more

Should return the size of vectors returned by eval() and get_names()

Should return minimum time series length to successfully find feature value

Performs the conversion.

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Serialize this value into the given Serde serializer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The error type produced by a failed conversion.

Convert the given value into an approximately equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an approximately equivalent representation.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Approximate the subject with the default scheme.

Approximate the subject with a specific scheme.

Approximate the subject to a given type with the default scheme.

Approximate the subject to a given type with a specific scheme.

Convert the subject to a given type.

Attempt to convert the subject to a given type.

Attempt a value conversion of the subject to a given type.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The error type produced by a failed conversion.

Convert the given value into the subject type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the subject into the destination type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the given value into an exactly equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an exactly equivalent representation.