Period determination using phase dispersion minimization | Synapse