Ionic homeostasis in brain conditioning