ROPE: a novel method for real-time phase estimation of complex biological rhythms | Synapse