Skip to main content
Have a personal or library account? Click to login
Impact of Smoothing Filters on Action Potential Waveform and Neuron-Type Classification in Cortical Neurons Cover

Impact of Smoothing Filters on Action Potential Waveform and Neuron-Type Classification in Cortical Neurons

Open Access
|Nov 2026
Read online

Figures & tables

Table 1.

Intracellular recording information.

NIDMouse LineLayerTypeHemispherefs (KHz)
1593054951Vip-IRES-Cre5AspinyRight50
2591627904Vip-IRES-Cre5AspinyRight50
3575919223Vip-IRES-Cre5AspinyRight50
4568767467Vip-IRES-Cre5Aspinyleft50
5562527850Vip-IRES-Cre5Aspinyleft50
6523478821Vip-IRES-Cre5Aspinyleft50
7569710450Rbp4-Cre_KL1005SpinyRight50
8515524026Rbp4-Cre_KL1005SpinyRight50
9507996688Rbp4-Cre_KL1005SpinyRight50
10569706189Rbp4-Cre_KL1005Spinyleft50
11515249852Rbp4-Cre_KL1005Spinyleft50
Fig. 1.

Visualization of the membrane potential (V) and its time derivatives in response to step-and-hold current and noisy current stimulation. The first row displays the membrane potential (V), the second row shows the first-time derivative (dV/dt), and the third row shows the second-time derivative (d2V/dt2). The black trace represents the first AP in a spike train, whereas the red trace represents the last AP in the same spike train.

Table 2.

Changes in AP waveform parameters after applying MM, SG, and LWS smoothing filters with different window sizes during step-and-hold stimulation.

FilterWindow sizeAmplitude (mV)Width (ms)Threshold (mV)IFWd2 rapidity (ms–1)Phase slope rapidity (ms–1) )
Spiny Excitatory Neurons
No filter-71.3 ± 5.60.75 ± 0.13−34.2 ± 4.59.4 ± 9.936.3 ± 14.3
MM20070.2 ± 5.6 *0.76 ± 0.13*−34.4 ± 3.9*5.9 ± 0.7*22.0 ± 2.8*
40066.9 ± 5.7*0.80 ± 0.12*−34.6 ± 3.9*4.8 ± 0.7*16.2 ± 1.9*
60061.8 ± 5.9*0.87 ± 0.11*−34.7 ± 3.8*4.8 ± 0.7*13.0 ± 1.7*
80055.9 ± 6.2*0.96 ± 0.10*−34.7 ± 3.8*4.8 ± 0.7*11.4 ± 1.7*
100049.9 ± 6.5*1.08 ±0.09*−34.8 ± 3.8*4.8 ± 0.7*10.6 ± 1.7*
SG20071.5 ± 5.6*0.75 ± 0.13*−34.4 ± 4.0*5.8 ± 0.9*32.2 ± 5.4*
40072.3 ± 5.7*0.75 ± 0.13*−35.9 ± 4.0*6.0 ± 0.6*25.6 ± 5.0*
60073.3 ± 6.1*0.76 ± 0.12*−36.1 ± 4.2*4.7 ± 0.3*29.3 ± 7.2
80073.5 ± 6.4*0.79 ± 0.12*−37.3 ± 4.2*4.0 ± 0.3*27.0 ± 4.9*
100072.2 ± 6.5*0.82 ± 0.11*−38.2 ± 4.2*3.8 ± 1.1*22.4 ± 3.3*
LWS20070.8 ± 5.6*0.75 ± 0.13*−34.3 ± 4.0*5.6 ± 0.8*23.7 ± 3.4*
40069.3 ± 5.6*0.77 ± 0.13*−34.4 ± 3.9*5.1 ± 0.4*17.6 ± 1.9*
60066.8 ± 5.6*0.80 ± 0.12*−34.4 ± 3.9*4.2 ± 0.3*14.3 ± 1.9*
80063.5 ± 5.7*0.83 ± 0.12*−34.4 ± 3.8*3.8 ± 0.3*12.1 ± 1.4*
100059.8 ± 5.8*0.88 ± 0.11*−34.4 ± 3.8*4.0 ± 1.4*10.3 ± 1.2*
Aspiny Inhibitory Neurons
No filter-67.8 ± 8.60.62 ± 0.15−37.5 ± 3.58.4 ± 8.135.6 ± 15.8
MM20066.0 ± 7.9*0.64 ± 0.15*−37.6 ± 3.4*6.7 ± 1.719.7 ± 4.7*
40060.93 ± 6.3*0.68 ± 0.14*−37.7 ± 3.4*6.0 ± 1.4*14.5 ± 3.6*
60054.1 ± 4.8*0.76 ± 0.12*−37.8 ± 3.4*5.9 ± 1.5*12.27 ± 3.1*
80047.0 ± 4.0*0.87 ± 0.09*−37.8 ± 3.4*5.9 ± 1.5*11.54 ± 2.9*
100040.4 ± 3.9*1.00 ± 0.07*−37.9 ± 3.4*5.9 ± 1.5*11.21 ± 2.9*
SG20068.0 ± 8.7*0.62 ± 0.15*−37.7 ± 3.5*7.1 ± 2.428.4 ± 7.7*
40068.7 ± 8.9*0.62 ± 0.15*−38.2 ± 3.6*6.2 ± 1.125.8 ± 14.1*
60068.8 ± 8.8*0.64 ± 0.14*−39.4 ± 4.0*4.9 ± 0.4*34.0 ± 15.0
80067.4 ± 7.8*0.68 ± 0.13*−40.6 ± 4.1*4.0 ± 0.3*29.5 ± 9.7*
100065.5 ± 7.5*0.72 ± 0.12*−41.3 ± 3.9*3.6 ± 0.4*25.0 ± 8.2*
LWS20067.0 ± 8.3*0.63 ± 0.15*−37.6 ± 3.4*6.0 ± 1.6*21.7 ± 4.5*
40064.6 ± 7.5*0.65 ± 0.14*−37.6 ± 3.4*5.4 ± 1.0*16.3 ± 3.2*
60060.9 ± 6.3*0.68 ± 0.14*−37.6 ± 3.4*4.5 ± 0.6*13.6 ± 2.8*
80056.6 ± 5.2*0.72 ± 0.13*−37.6 ± 3.4*3.9 ± 0.5*12.0 ± 2.3*
100052.1 ± 4.4*0.77 ± 0.12*−37.6 ± 3.4*3.4 ± 0.4*10.4 ± 1.8*

* Indicates significant differences compared with unfiltered recordings following FDR-corrected Wilcoxon signed-rank tests (p<0.05).

Table 3.

Changes in AP waveform parameters after applying MM, SG, and LWS smoothing filters with different window sizes during noise stimulation.

FilterWindow sizeAmplitude (mV)Width (ms)Threshold (mV)IFWd2 rapidity (ms–1)Phase slope rapidity (ms–1)
Spiny Excitatory Neurons
No filter-70.53 ± 6.010.76 ± 0.13−34.77 ± 3.088.29 ± 9.8935.79 ± 15.07
MM20069.50 ± 5.99*0.77 ± 0.13*−34.94 ± 3.03*5.45 ± 0.9920.70±2.93*
40066.27 ± 6.10*0.81 ± 0.12*−35.09 ±2.98 *4.58 ± 0.80*14.94 ± 2.04*
60061.34 ± 6.33*0.88 ± 0.12*−35.15 ± 2.95*4.55 ± 0.82*11.87 ± 1.98*
80055.58 ± 6.57*0.98 ± 0.11*−35.17 ± 2.95*4.54 ± 0.82*10.29 ± 1.97*
100049.74 ± 6.82*1.10 ± 0.10*−35.20 ± 2.95*4.53 ± 0.82*9.53 ± 1.93*
SG20070.73 ± 6.03*0.76 ± 0.13*−34.97 ± 3.11*6.10 ± 1.44*30.19 ± 5.52*
40071.49 ± 6.10*0.77 ± 0.13*−35.54 ± 3.13*5.72 ± 1.0123.19 ± 4.50*
60072.35 ± 6.55*0.77 ± 0.13*−36.40 ± 3.30*4.69 ± 0.43*25.37 ± 7.90*
80072.40 ± 6.90*0.80 ± 0.12*−37.50 ± 3.37*4.05 ± 0.27*24.94 ± 6.08*
100071.27 ± 7.04*0.83 ± 0.12*−38.46 ± 3.36*3.85 ± 1.05*21.30 ± 3.96*
LWS20070.08 ± 5.99*0.76 ± 0.13*−34.85± 3.05*5.51 ± 0.94*22.53 ± 3.55*
40068.61 ± 6.00*0.78 ± 0.13*−34.92 ± 3.00*4.88 ± 0.64*16.69 ± 2.04
60066.16 ± 6.07*0.81 ± 0.12*−34.93 ± 2.97*4.08 ± 0.43*13.36 ± 1.77*
80062.97 ± 6.16*0.85 ± 0.12*−34.90 ± 2.95*3.66 ± 0.42*11.33 ± 1.58*
100059.36 ± 6.24*0.90 ± 0.12*–34.86 ± 2.933.92 ± 1.54*9.74 ± 1.38*
Aspiny Inhibitory Neurons
No filter-68.10 ± 9.260.66 ± 0.16−38.85 ± 3.748.02 ± 8.1934.34 ± 15.31
MM20066.47 ± 8.69*0.67 ± 0.16*–38.94 ± 3.746.50 ± 1.84*19.26 ± 4.87*
40061.81 ± 7.08*0.72 ± 0.15*–38.98 ± 3.785.88 ± 1.37*13.72 ± 3.81*
60055.47 ± 5.24*0.79 ± 0.13*–38.98 ± 3.825.77 ± 1.50*11.37 ± 3.18 *
80048.71 ± 3.91*0.90 ± 0.11*–39.01 ± 3.855.76 ± 1.51*10.60 ± 2.91*
100042.33 ± 3.36*1.03 ± 0.08*–39.08 ± 3.845.75 ± 1.51*10.40 ± 2.87*
SG20068.31 ± 9.35*0.66 ± 0.16*−39.04 ± 3.77*7.30 ± 2.59*28.08 ± 8.10*
40068.93 ± 9.67*0.66 ± 0.16*−39.45 ± 3.92*6.15 ± 1.2922.10 ± 11.57*
60069.11 ± 9.71*0.68 ± 0.15*−40.44 ± 4.40*4.82 ± 0.47*30.97 ± 15.16*
80068.04 ± 8.810.71 ± 0.14*−41.65 ± 4.58*3.95 ± 0.32*28.25 ± 10.12*
100065.88 ± 7.56*0.76 ± 0.13*−42.59 ± 4.63*3.43 ± 0.28*22.97 ± 6.82*
LWS20067.39 ± 9.02*0.67 ± 0.16*−38.90 ± 3.73*5.82 ± 1.64*21.40 ± 4.76*
40065.18 ± 8.24*0.68 ± 0.15*−38.89 ± 3.74*5.23 ± 1.04*15.69 ± 3.43*
60061.77 ± 7.09*0.72 ± 0.15*−38.85 ± 3.77*4.35 ± 0.58*12.97 ± 2.94*
80057.71 ± 5.86*0.76 ± 0.14*–38.83 ± 3.793.76 ± 0.46*11.45 ± 2.50*
100053.45 ± 4.78*0.81 ± 0.13*–38.79 ± 3.803.35 ± 0.41*10.01 ± 1.99*

* Indicates significant differences compared with unfiltered recordings following FDR-corrected Wilcoxon signed-rank tests (p<0.05).

Table 4.

AP properties for excitatory spiny and inhibitory aspiny neurons extracted from raw data before applying smoothing methods.

No filterSpiny (n = 5)Aspiny (n = 6)
Amplitude (mV)71.3 ± 5.667.8 ± 8.6*
Width (ms)0.75 ± 0.130.62 ± 0.15*
Threshold (mV)−34.2 ± 4.5−37.5 ± 3.5*
IFWd2 rapidity (ms–1)9.4 ± 9.98.4 ± 8.1
Phase slope rapidity (ms–1)36.3 ± 14.335.6 ± 15.8

* Indicates a significant difference at p<0.05, Mann–Whitney test.

Fig. 2.

Effect of smoothing methods and window size on neuron-type classification. Comparison between excitatory spiny neurons (blue) and inhibitory aspiny neurons (red), in the same spike train.

Fig. 3.

Impact of smoothing methods and window size on the phase-space plot and the shape of the second-time derivative. Phase-space plots are shown on the left. Inset boxes provide a magnified view of the initial portion of the phase-space trajectory (dotted circle), where AP threshold and phase-slope rapidity are measured. The normalized second-time derivative (d2V/dt2) traces are shown on the right, with the y-axis normalized to its maximum value. Each row corresponds to one smoothing method: MM, LWS, and SG. The black dotted trace represents the unfiltered data (W = 0), the blue trace corresponds to a 200-point window, and the red trace corresponds to a 1000-point window.

Fig. 4.

Fraction of APs from aspiny inhibitory neurons evoked by the noisy stimulus that exhibit more than one d2V/dt2 peak after applying the three smoothing methods using window sizes ranging from 200 to 1000 points (0.2–1.0 ms). The dashed line marks the corresponding percentage in the unfiltered (raw) data (92 %).

Language: English
Page range: 315 - 325
Submitted on: Jul 24, 2026
Accepted on: Sep 23, 2026
Published on: Nov 21, 2026
Published by: Slovak Academy of Sciences, Institute of Measurement Science
In partnership with: Paradigm Publishing Services
Publication frequency: Volume open

© 2026 Ahmed A. Aldohbeyb, Suhail S. Alshahrani, Khalid A. Alhussaini, Abdulelah S. Alrebaish, Ahmad O. Alokaily, published by Slovak Academy of Sciences, Institute of Measurement Science
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.