Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Current clamp ramp

We will cover how to interpret the ramp current injections in this chapter. You may notice there was no ramp current injection analysis chapter. That is because you already have all the tools to analyze ramp current injections so we will just focus on interpreting the data. There is some “analysis”.

Source
Loading...
Loading...

First we are going to load our data and define our analysis variables.

The first thing to do is look through your data just to see what it looks like. For reference the data in this tutorial is from MSN in the DMS of an adult mouse.

  • The recorded data is usually in mV, as is the case for this data.

  • There is a short baseline of about 300 ms before the current injection starts.

  • There is a ramp current injection that starts a 0 pA and goes up to 300 pA.

  • There is a point where the cell will spike.

  • There are 4 repeates or sweeps.

  • The voltage the cell shows before the spiking occurs is nonlinear. This is important because resistance is not linear even though our analysis makes the assumption that it is. With the ramp current injection this becomes very clear. Not all cells show as strong a nonlinear change in voltage as MSNs. Some cells like PV interneurons do not spike with slow ramp current injections due to depolarization block.

Source
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Cell In[4], line 2
      1 # Initial data
----> 2 source = ColumnDataSource(data={"x": x_array, "y": msn_dict[1]["array"]})
      3 
      4 # Create a plot
      5 plot = figure(

KeyError: 1

To begin analyzing the data we should first create a ramp pulse. Many papers will define the ramp by the start current injection which is usually 0 up to the final current injection and then how fast the current injection occurs.

We can do a similar analysis as in Current clamp square pulse: Part 1 to find peaks and the spike threshold. However, for this analysis we are going to focus on analyzing the first spikes only so that we can get rheobase and the membrane resistance. However, to find rheobase we will need to find the spike threshold.

Finding spike threshold

We can use a similar method, the third derivative to find the spike threshold as we did in the square pulse chapter. First we find the peaks then use that to find the first spike threshold.

First we should check to make sure our spike threshold looks good. I will skip plotting the pyramidal neurons for now.

Source

Next we can calculate rheobase. For ramp current injections, rheobase is the current at which the spike threshold occurs.

Next we will plot the current vs the δV\delta V. To calculate δV\delta V we can baseline the acquisition by subtracting the mean of the baseline or by subtracting the minimum value. One important thing is that membrane resistance becomes nonlinear as the neuron gets close to the spike threshold. Another thing is that in this MSN, the membrane resistance increases linearly as we get farther from the baseline membrane voltage. To show that the relationship between membrane resistance and current, thus membrane resistance, becomes nonlinear. To show that we will run a regression for a small portion of the ramp current injection, from 0 pA to 50 pA. We will also compare the MSN to a layer 5 pyramidal cell.

Source
Source

You will notice two things. One is that the both MSNs and pyramidal neurons deviate a lot from the regression line the closer they get to the spike threshold. You will also notice that MSNs deviate even earlier even though their rheobase is a little bit higher. The reason is that MSNs have the inwardly rectifying potassium channels that close as the neuron gets closer to the spike threshold thus driving up the input resistance and increasing the rate of voltage change.

We can also calculate the instantaneous membrane resistance. I skip the first 1 ms second of the ramp when calculating the instantaneous resistance since there is a lot of noise.

Source

You will notice that the slope we measured previously does not fit the MSNs instantaneous resistance very well where as the pyramidal cell has a better fit.

Lastly, lets look at how the instantaneous membrane resistance tracks with the membrane voltage.

Source

We can see that similar to what we saw with the current injection, the membrane resistance also increases with membrane voltage.

Now what if I told you this feature of increasing resistance is really just an “artifact”. It is important to remember that the more open channels a cell has the lower its resistance should be. However, that strongly depends on the type of current. The current from the voltage-gated sodium channels adds on to our injected current because the voltage-gated sodium channels allow positive current the cell and we are injecting positive current. So even though conductance increases due to sodium channels opening and true membrane resistance should decrease, our membrane resistance looks higher because the sodium channel current is adding onto the current injection. Lastly, this brings us to an important aspect of neural function. There is the “physical” membrane resistance which is primarily determined by the number of open channels in the membrane. We could find this by blocking all the voltage-gated channels. Then there is the “functional” resistance which is directly related to conductance. Conductances can be positive or negative thus adding or subtracting to our current injection. The “functional” resistance depends on the current membrane voltage and the speed at which the membrane voltage is changing.