Skip to content

AMikroulis/simplified-test-pulse-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If you are running this for the first time, run the check packages.py first, to check if any packages are missing.

The analysis.py will open the main script to process the HEKA/abf files.



Requirements
Needs the voltage command trace as well as the current trace to be saved in the files.
For ABF files:
A folder with .abf files.

For HEKA files:
A folder with .dat files, and their corresponding .inf files (you get the .inf file from PatchMaster Replay menu)


A negative-going test pulse in voltage-clamp and at a sampling rate of at least 10 kHz is expected. If your protocol is different, you can change the fitting parameters in the tp.py file. Reaching the steady-state by the end of the pulse is essential for the analysis.
The test pulse results include the following, for the median sweep and for individual sweeps:
- estimated resting membrane potential (RMP)
- estimated input resistance including the series resistance (Rin)
- estimated series resistance (Rs)
- estimated capacitance (Cm)

For the inward/outward currents, the following are calculated for every voltage step:
- positive peak amplitude
- negative peak amplitude
- baseline current (steady-state)
- Na current estimate
- fast K current estimate
- slow K current estimate



Operation

  1. select the file type (HEKA/Axon)
  2. click Scan
  3. select the folder with the recordings
  4. switch to the 2nd tab (test pulse)
  5. select the protocol name for the test pulse and the channel for the current trace
  6. check the box for TP on the top right
  7. add a log note or custom name for the results folder if needed (boxes on the right side)
  8. click run and confirm the folder with the data files
  9. wait (it will say “finished” when it’s done).

Results are placed in the same folder with the recordings, as: a HTML overview file, a CSV file with the tabulated results, a folder with results and intermediate processing step files for each recording.


Copyright 2018-2022 Apostolos Mikroulis, Eliška Waloschková.
DOI
This software is provided under terms of the zlib license.