pub struct RenormalizationGroup<'a> { /* private fields */ }Expand description
Renormalization-group-style analysis: coarse-grain the time series at different scales to find where symmetry breaking first appears.
Implementations§
Source§impl<'a> RenormalizationGroup<'a>
impl<'a> RenormalizationGroup<'a>
Sourcepub fn new(data: &'a [(f64, f64)]) -> Self
pub fn new(data: &'a [(f64, f64)]) -> Self
Create an RG analyser for a drift time series (time, drift).
Sourcepub fn coarse_grain(&self, block_size: usize) -> Vec<(f64, f64)>
pub fn coarse_grain(&self, block_size: usize) -> Vec<(f64, f64)>
Coarse-grain the data by averaging over blocks of block_size.
Sourcepub fn find_breaking_scale(&self) -> Option<f64>
pub fn find_breaking_scale(&self) -> Option<f64>
Find the coarse-graining scale (as block size) where drift becomes monotonically increasing, indicating symmetry breaking.
Trait Implementations§
Source§impl<'a> Clone for RenormalizationGroup<'a>
impl<'a> Clone for RenormalizationGroup<'a>
Auto Trait Implementations§
impl<'a> Freeze for RenormalizationGroup<'a>
impl<'a> RefUnwindSafe for RenormalizationGroup<'a>
impl<'a> Send for RenormalizationGroup<'a>
impl<'a> Sync for RenormalizationGroup<'a>
impl<'a> Unpin for RenormalizationGroup<'a>
impl<'a> UnsafeUnpin for RenormalizationGroup<'a>
impl<'a> UnwindSafe for RenormalizationGroup<'a>
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