pyhctsa.operations.correlation.compare_min_ami¶
-
pyhctsa.operations.correlation.compare_min_ami(y, bin_method=
'std1', num_bins=10)¶ Assess the variability in the first minimum of automutual information (AMI) across binning strategies.
This function computes the first minimum of the automutual information function for a time series using various histogram binning strategies and numbers of bins. It summarizes how the location of the first minimum varies across these different coarse-grainings. The first minimum is taken to be the lag at the first change in the sign of the slope of the AMI, so it is a local maximum if the AMI first rises. If the slope never changes sign, the maximum lag considered is used.
- Parameters:¶
- Returns:¶
Dictionary containing statistics on the set of first minimums of the automutual information function.
nprompeaksis the number of prominent peaks (local maxima) of the first-minimum lag as a function of the number of bins: peaks that rise at least 5% of the range of the lags above the higher of the valleys on either side of them, so a small fluctuation does not add a peak.- Return type:¶
dict