Archetypal oscillator for smooth and discontinuous dynamics | Synapse