Description Usage Arguments Details Value
Find a charging interval of given current channel.
1 2 3 4 5 6 7 8 9 10 11 | FindChargeInterval(abf, epoch = FindMemtestEpoch(abf, dac = dac, type =
"step"), dac = GetWaveformEnabledDAC(abf),
episode = FindStepEpisode(abf, epoch = epoch, dac = dac),
current_channel = GetFirstCurrentChan(abf), peak_window = 3L,
diff_window = 5L, dy = NULL)
FindDischargeInterval(abf, epoch = FindMemtestEpoch(abf, dac = dac, type
= "step"), dac = GetWaveformEnabledDAC(abf),
episode = FindStepEpisode(abf, epoch = epoch, dac = dac),
current_channel = GetFirstCurrentChan(abf), peak_window = 3L,
diff_window = 5L, dy = NULL)
|
abf |
an abf object. |
epoch |
epoch to locate the interval. |
dac |
DAC channel of waveform. |
episode |
an episode to locate the interval. |
current_channel |
current channel. |
peak_window |
a window to locate peak. |
diff_window |
a window to calculate slope. |
dy |
1st derivatives of current channel within the epoch. |
This function finds an interval of an episode that fits charging/discharging behaviour of an RC circuit. Since abf object records descrete data points, FindChargeInterval() may have numeric stability issues in some extreme cases. Increase peak_window and diff_window usually solves them. The default values of peak_window, diff_window are tested and should work most of the time. You can also provide a pre-calculated 1st derivative using argument dy. Please note that dy should only contains points within the epoch instead of a whole sweep.
an interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.