pub struct TurningPointsFeatures<F> {Show 48 fields
pub total_turning_points: usize,
pub local_minima_count: usize,
pub local_maxima_count: usize,
pub peak_valley_ratio: F,
pub average_turning_point_distance: F,
pub upward_changes: usize,
pub downward_changes: usize,
pub directional_change_ratio: F,
pub average_upward_magnitude: F,
pub average_downward_magnitude: F,
pub directional_change_std: F,
pub longest_upward_sequence: usize,
pub longest_downward_sequence: usize,
pub average_upward_sequence_length: F,
pub average_downward_sequence_length: F,
pub momentum_persistence_ratio: F,
pub average_peak_amplitude: F,
pub average_valley_amplitude: F,
pub peak_amplitude_std: F,
pub valley_amplitude_std: F,
pub peak_valley_amplitude_ratio: F,
pub extrema_asymmetry: F,
pub major_trend_reversals: usize,
pub minor_trend_reversals: usize,
pub average_major_reversal_magnitude: F,
pub average_minor_reversal_magnitude: F,
pub trend_reversal_frequency: F,
pub reversal_strength_index: F,
pub turning_point_regularity: F,
pub turning_point_clustering: F,
pub turning_point_periodicity: F,
pub turning_point_autocorrelation: F,
pub turning_point_volatility: F,
pub stability_index: F,
pub noise_signal_ratio: F,
pub trend_consistency: F,
pub double_peak_count: usize,
pub double_bottom_count: usize,
pub head_shoulders_count: usize,
pub triangular_pattern_count: usize,
pub upper_half_turning_points: F,
pub lower_half_turning_points: F,
pub turning_point_position_skewness: F,
pub turning_point_position_kurtosis: F,
pub multiscale_turning_points: Vec<usize>,
pub scale_turning_point_ratio: F,
pub cross_scale_consistency: F,
pub hierarchical_structure_index: F,
}Expand description
Comprehensive turning points analysis features
Fields§
§total_turning_points: usizeTotal number of turning points in the series
local_minima_count: usizeNumber of local minima (valleys)
local_maxima_count: usizeNumber of local maxima (peaks)
peak_valley_ratio: FRatio of peaks to valleys
average_turning_point_distance: FAverage distance between consecutive turning points
upward_changes: usizeNumber of upward directional changes
downward_changes: usizeNumber of downward directional changes
directional_change_ratio: FRatio of upward to downward changes
average_upward_magnitude: FAverage magnitude of upward changes
average_downward_magnitude: FAverage magnitude of downward changes
directional_change_std: FStandard deviation of directional change magnitudes
longest_upward_sequence: usizeLongest consecutive upward sequence length
longest_downward_sequence: usizeLongest consecutive downward sequence length
average_upward_sequence_length: FAverage length of upward sequences
average_downward_sequence_length: FAverage length of downward sequences
momentum_persistence_ratio: FMomentum persistence ratio (long sequences / total sequences)
average_peak_amplitude: FAverage amplitude of local maxima
average_valley_amplitude: FAverage amplitude of local minima
peak_amplitude_std: FStandard deviation of peak amplitudes
valley_amplitude_std: FStandard deviation of valley amplitudes
peak_valley_amplitude_ratio: FPeak-to-valley amplitude ratio
extrema_asymmetry: FAsymmetry in peak and valley distributions
major_trend_reversals: usizeNumber of major trend reversals (large directional changes)
minor_trend_reversals: usizeNumber of minor trend reversals (small directional changes)
average_major_reversal_magnitude: FAverage magnitude of major reversals
average_minor_reversal_magnitude: FAverage magnitude of minor reversals
trend_reversal_frequency: FTrend reversal frequency (reversals per unit time)
reversal_strength_index: FReversal strength index (cumulative reversal magnitude)
turning_point_regularity: FRegularity of turning point intervals (coefficient of variation)
turning_point_clustering: FClustering tendency of turning points
turning_point_periodicity: FPeriodicity strength of turning points
turning_point_autocorrelation: FAuto-correlation of turning point intervals
turning_point_volatility: FVolatility around turning points (average local variance)
stability_index: FStability index (inverse of turning point frequency)
noise_signal_ratio: FNoise-to-signal ratio around turning points
trend_consistency: FTrend consistency measure
double_peak_count: usizeNumber of double peaks (M patterns)
double_bottom_count: usizeNumber of double bottoms (W patterns)
head_shoulders_count: usizeHead and shoulders pattern count
triangular_pattern_count: usizeTriangular pattern count (converging peaks/valleys)
upper_half_turning_points: FProportion of turning points in upper half of range
lower_half_turning_points: FProportion of turning points in lower half of range
turning_point_position_skewness: FSkewness of turning point vertical positions
turning_point_position_kurtosis: FKurtosis of turning point vertical positions
multiscale_turning_points: Vec<usize>Turning points at different smoothing scales
scale_turning_point_ratio: FScale-dependent turning point ratio
cross_scale_consistency: FCross-scale turning point consistency
hierarchical_structure_index: FHierarchical turning point structure
Trait Implementations§
Source§impl<F: Clone> Clone for TurningPointsFeatures<F>
impl<F: Clone> Clone for TurningPointsFeatures<F>
Source§fn clone(&self) -> TurningPointsFeatures<F>
fn clone(&self) -> TurningPointsFeatures<F>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<F: Debug> Debug for TurningPointsFeatures<F>
impl<F: Debug> Debug for TurningPointsFeatures<F>
Source§impl<F> Default for TurningPointsFeatures<F>where
F: Float + FromPrimitive,
impl<F> Default for TurningPointsFeatures<F>where
F: Float + FromPrimitive,
Auto Trait Implementations§
impl<F> Freeze for TurningPointsFeatures<F>where
F: Freeze,
impl<F> RefUnwindSafe for TurningPointsFeatures<F>where
F: RefUnwindSafe,
impl<F> Send for TurningPointsFeatures<F>where
F: Send,
impl<F> Sync for TurningPointsFeatures<F>where
F: Sync,
impl<F> Unpin for TurningPointsFeatures<F>where
F: Unpin,
impl<F> UnwindSafe for TurningPointsFeatures<F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.