AP_analysis
Description
# extract the AP
To analyze the action potential, run the "code_FIcurve_extract_abf.m" to extract the AP.
The code will extract the ".abf" documents, rename the documents to "N*-*.abf" (for example, C1-1.abf)
"fidx=dir('*.abf')" is the path of your folder, change the "current folder" to your destination folder in MATLAB
modify the "StimAmp_DP" to [initial stimulate current: Incremental current: final stimulate current]
modify the "TimeStim" to [start time : end time]
run the code, you will get the ".mat" documents
# analyze the AP
run the "Code_FIcurve_statistic_abf.m"
modify the "Fidx{1}=dir('DATA_C*.mat')" to "Fidx{1}=dir('DATA_"the group 1 name"*.mat')"
modify the "Fidx{2}=dir('DATA_C*.mat')" to "Fidx{1}=dir('DATA_"the group 2 name"*.mat')"
modify the "GroupName" to match the "Fidx{1}" and "Fidx{2}"
"Num" and "NPlusMinus" identify which curve you want to analyze, the trial evoking "Num-NPlusMinus to Num+NPlusMinus" APs will be analyzed. For example, if the Num=10, the NPlusMinus=4, the trial evoking 6-14 APs will be analyzed.
"thAP" identify which AP in the trial you want to analyze. For example, if thAP=1, the first AP in the trial will be analyzed.
run the code, results will be established to "Results_Statistic.xls".
Files
Files
(100.1 kB)
| Name | Size | |
|---|---|---|
|
md5:fa081d6f859c6f32d9aefdb5ae6fae1c
|
54.4 kB | Download |
|
md5:041c11dea10921d05ed5f556bbd70212
|
2.4 kB | Download |
|
md5:8909186ecd73f905668d2e0b60bfad78
|
1.8 kB | Download |
|
md5:264ef128071359846cf57960581a4f6c
|
13.3 kB | Download |
|
md5:2f34d95e521995a28f497b0e4b7494ab
|
13.8 kB | Download |
|
md5:03cdbb4aa61edd0611d740311b0875a4
|
5.2 kB | Download |
|
md5:d8a31e9adc4f72e82aa72fd2846b2774
|
462 Bytes | Download |
|
md5:17ccb8ebe95518a0441962a2577f372b
|
8.8 kB | Download |