calculate_wavelets¶
- calculate_wavelets(sfreq: float, f_high: float, f_low: float, n_samples: int, k0: int = 6)[source][source]¶
Calculate Morlet wavelets for a range of frequencies.
- Parameters:
- Returns:
daughter (
ndarray) – The wavelets.period (
ndarray) – The periods.
Examples
>>> daughter, period = calculate_wavelets(1000, 100, 2, 1000) >>> daughter.shape (29, 1001) >>> period.shape (29,)