A state space modeling approach to real-time phase estimation | Synapse