TurningPointsResult.n_cycles# property TurningPointsResult.n_cycles: int[source]# Completed peak-to-peak cycles, one fewer than the number of peaks. Example >>> import numpy as np >>> t = np.arange(120.0) >>> TurningPoints().date(np.sin(2 * np.pi * t / 40)).n_cycles 2