pub struct LyapunovCalculator {
pub n_exponents: usize,
pub perturbation_magnitude: f64,
pub renormalization_interval: usize,
pub dt: f64,
}Expand description
Lyapunov exponent calculator for chaos detection
Fields§
§n_exponents: usizeNumber of exponents to calculate
perturbation_magnitude: f64Perturbation magnitude for tangent vectors
renormalization_interval: usizeRenormalization interval
dt: f64Integration time step
Implementations§
Source§impl LyapunovCalculator
impl LyapunovCalculator
Sourcepub fn calculate_lyapunov_exponents<F>(
&self,
system: F,
initial_state: &Array1<f64>,
total_time: f64,
) -> IntegrateResult<Array1<f64>>
pub fn calculate_lyapunov_exponents<F>( &self, system: F, initial_state: &Array1<f64>, total_time: f64, ) -> IntegrateResult<Array1<f64>>
Calculate Lyapunov exponents using tangent space evolution
Sourcepub fn calculate_largest_lyapunov_exponent<F>(
&self,
system: F,
initial_state: &Array1<f64>,
total_time: f64,
min_separation: f64,
max_separation: f64,
) -> IntegrateResult<f64>
pub fn calculate_largest_lyapunov_exponent<F>( &self, system: F, initial_state: &Array1<f64>, total_time: f64, min_separation: f64, max_separation: f64, ) -> IntegrateResult<f64>
Calculate largest Lyapunov exponent using Wolf’s algorithm
Sourcepub fn estimate_lyapunov_from_timeseries(
&self,
timeseries: &Array1<f64>,
embedding_dimension: usize,
delay: usize,
) -> IntegrateResult<f64>
pub fn estimate_lyapunov_from_timeseries( &self, timeseries: &Array1<f64>, embedding_dimension: usize, delay: usize, ) -> IntegrateResult<f64>
Estimate Lyapunov exponent from time series using delay embedding
Auto Trait Implementations§
impl Freeze for LyapunovCalculator
impl RefUnwindSafe for LyapunovCalculator
impl Send for LyapunovCalculator
impl Sync for LyapunovCalculator
impl Unpin for LyapunovCalculator
impl UnwindSafe for LyapunovCalculator
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 more