Phase determination with and without deep learning | Synapse