Wavelet and spectral preprocessing functions (pyleoclim.utils.wavelet)

AliasFilter

Performs anti-alis filter on a PSD. Experimental

assertPositiveInt

Asserts that the arguments are all positive integers

wwz_basic

Returns the weighted wavelet amplitude estimated from the original Foster method. No multiprocessing

wwz_nproc

Returns the weighted wavelet amplitude using the original method from Kirchner. Supports multiprocessing

kirchner_basic

Return the weighted wavelet amplitude (WWA) modified by Kirchner. No multiprocessing

kirchner_nproc

Returns the weighted wavelet amplitude (WWA) modified by Kirchner. Supports multiprocessing

kirchner_numba

Return the weighted wavelet amplitude (WWA) modified by Kirchner using Numba package.

kirchner_f2py

Returns the weighted wavelet amplitude (WWA) modified by Kirchner. Uses Fortran. Fastest method but requires a compiler.

make_coi

Return the cone of influence.

make_omega

Return the angular frequency based on the time axis and given frequency vector

wwa2psd

Return the power spectral density (PSD) using the weighted wavelet amplitude (WWA).

freq_vector_lomb_scargle

Return the frequency vector based on the REDFIT recommendation.

freq_vector_welch

Return the frequency vector based on the Welch’s method.

freq_vector_nfft

Return the frequency vector based on NFFT

freq_vector_scale

Return the frequency vector based on scales

freq_vector_log

Return the frequency vector based on logspace

make_freq_vector

Make frequency vector

beta_estimation

Estimate the power slope of a 1/f^beta process.

beta2HurstIndex

Translate psd slope to Hurst index

psd_ar

Return the theoretical power spectral density (PSD) of an autoregressive model

fBMsim

Select an ensemble table from a list

psd_fBM

Return the theoretical psd of a fBM

get_wwz_func

Return the wwz function to use.

prepare_wwz

Return the truncated time series with NaNs deleted and estimate frequency vector and tau

cross_wt

Return the cross wavelet transform.

wavelet_coherence

Return the cross wavelet coherence.

reconstruct_ts

Reconstruct the normalized time series from the wavelet coefficients.