Circuit-based neurosurgery