| Algorithm 1: Time delay determination | |
| Input: one-dimensional time series S = {xi}; time delay max value τmax; iteration number N | |
| Output: best time delay τ* | |
| 1 | |
| 2 | for i = 1: N |
| 3 | time delay τ = i × τmax/N |
| 4 | time delayed system Q = {xi+τ} |
| 5 | |
| 6 | |
| 7 | |
| 8 | end for |
| 9 | τ* |