Multi-function electrodes for inducing and quantifying spinal cord plasticity