# How to voltage clamp a neuron?

**URL:** https://brian.discourse.group/t/how-to-voltage-clamp-a-neuron/407
**Category:** Support
**Created:** [18 June 2021 12:27 UTC](https://brian.discourse.group/t/how-to-voltage-clamp-a-neuron/407 "2021-06-18T12:27:55Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![schmitts](https://yyz2.discourse-cdn.com/free1/user_avatar/brian.discourse.group/schmitts/32/191_2.png) [@schmitts](https://brian.discourse.group/u/schmitts)
#### Post date: [18 June 2021 13:18 UTC](https://brian.discourse.group/t/how-to-voltage-clamp-a-neuron/407/5 "2021-06-18T13:18:54Z")

</div>

I want to sweep the membrane potential and check that the plasticity rule does what it’s supposed to do. On second thought it’s [Plotting of arbitrary functions - #2 by mstimberg](https://brian.discourse.group/t/plotting-of-arbitrary-functions/399/2) again, but it’s somehow not so nice that I cannot test against my “full model”. It would be good if I don’t have to replace the neuron dynamics equations.

---

_[View the full topic](https://brian.discourse.group/t/how-to-voltage-clamp-a-neuron/407)._
