Control of brain state transitions with a photoswitchable muscarinic agonist