Offline series resistance correction

버전 1.1.0.2 (4.24 KB) 작성자: Christian Keine
Performs offline series resistance correction/compensation of recorded currents
다운로드 수: 39
업데이트 날짜: 2020/10/13

Matlab(tm) function to perform offline series resistance correction/compensation of recorded currents based on "Traynelis SF (1998) Software-based correction of single compartment series resistance errors. J Neurosci Methods 86:25–34.".

During whole-cell voltage-clamp experiments, the resistance across the patch pipette (series resistance) can introduce considerable errors on the amplitude and kinetics of the recorded currents. While in most cases a large portion of this error can be corrected online by the patch-clamp amplifier, the remaining Rs can lead to erroneous estimation of currents. This is especially important if the amount of uncompensated Rs changes during the recording or differs between experiments. A simple software-based solution allows for the correction of the remaining Rs after the experiment for linear current-voltage relationships (e.g. AMPA-R mediated currents; see original publication for details).

How to use:
Input arguments:
data: trace of recorded currents, can be either single vector or multiple traces organized in an array or cell. When the input is an array, the function assumes that the shorter dimension represents the different trials/recordings, i.e. an array of the size 10,000x10 will be treated as 10 recordings with 10,000 data points each

Rs: uncompensated series resistance during the recordings in Ohm, i.e. if an Rs of 10 MOhm during the recording was compensated 50% by the amplifier, the uncompensated Rs is 5 MOhm (= 5e6 Ohm)

Cm: Membrane capacitance during the recording in Farad (e.g. 10 pF = 10e-12 F)

Vhold: holding potential during the recording in Volts (e.g. -60 mV = 0.06 V)

Vrev: reversal potential of the recorded current in Volts (e.g. 10 mV = 0.01 V)

SR: sampling rate of the recording in Hz (e.g. 50 kHz = 50e3 Hz)

fraction [optional, default=1]: fraction of the remaining Rs which should be compensated (0-1), e.g. 1 if all the remaining Rs should be compensated

To execute call function as RsCorrection(data, Rs, Cm, Vhold, Vrev, SR, 'fraction', fraction)

Output:
object containing the following properties:
- dataRaw: unprocessed data input
- dataCorrected: data trace after Rs correction, format is identical to input (i.e. array or cell)
- options: structure of input parameters: Rs, Cm, Vhold, Vrev, SR, and fraction

인용 양식

Christian Keine (2024). Offline series resistance correction (https://github.com/ChristianKeine/offline_series_resistance_correction), GitHub. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2018b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Electrophysiology에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.1.0.2

picture added

1.1.0.1

updated description

1.1

updated to class and input check added

1.0.1

added information

1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.