advertisement
8. Digital Filters
In digital signal processing a system is something that operates on one or more inputs to produce one or more outputs. A digital filter is defined as a system (in the case of Clampfit, a software algorithm) that operates on digitized data to either pass or reject a defined frequency range. The objective of digital filtering is to remove undesirable frequency components from a digitized signal with minimal distortion of the components of interest.
There will be instances when it is necessary to filter experimental data after they have been digitized. For example, you might want to remove random noise or line frequency interference from the signal of interest. To this end, Clampfit offers several types of digital filters.
The lowpass filters include Bessel (8-pole), boxcar, Butterworth (8-pole), Chebyshev (8pole), Gaussian, a single-pole RC and an 8-coincident-pole RC. The highpass filters include Bessel (8-pole) and 8-coincident-pole RC. The Gaussian and boxcar filters are finite impulse response (FIR) filters while the Bessel, Butterworth, Chebyshev and RC
filters are infinite impulse response (IIR) filters (see following section: “Finite vs. Infinite
A notch filter is available to reject a narrow band of frequencies and an electrical interference filter is provided to reject 50 or 60 Hz line frequencies and their harmonics.
FINITE VS. INFINITE IMPULSE RESPONSE FILTERS
Digital filters can be broadly grouped into finite impulse response (FIR) filters and infinite impulse response (IIR) filters. FIR filters are also referred to as nonrecursive filters while
IIR filters are referred to as recursive filters.
The output of FIR filters depends only on the present and previous inputs. The general
“recurrence formula” for an FIR filter, which is used repeatedly to find successive values of
y
, is given by:
y n
=
M
∑
k
= 0
b k x n
–
k
pCLAMP 10 User Guide — 1-2500-0180 Rev. A
131
132
8. Digital Filters
where
y n
is the output value for the
nth
point
x
and
b k
is the
kth
of
M
filter coefficients. In the case of the Gaussian and boxcar filters in Clampfit, the
M
points ahead of the current point are also used, giving a general recurrence formula of:
y n
=
k
M
=
∑
–
M b k x n
–
k
where the filter width is 2(
M +
1
)
points.
The disadvantage of FIR filters is that they can be computationally inefficient as they might require several tens, hundreds or even thousands of coefficients depending on the filter characteristics.
The advantages are that FIR filters are inherently stable because there is no feedback and they possess ideal linear phase characteristics, exhibiting no phase distortion. That is, all frequency components passing through the filter are subject to the same pure time delay.
On the other hand, the output of IIR filters depends on one or more of the previous output values as well as on the input values. That is, unlike FIR filters, IIR filters involve feedback. The general recurrence formula for an IIR filter is given by:
y n
=
N
∑
j
= 1
a j y n
–
j
+
M
∑
k
= 0
b k x n
–
k
where
a
and
b
are the
N
and
M
filter coefficients, where
a
represents the feedback coefficients. Note that the value of
y
for a given point
n
depends on the values of previous outputs
y n–1
to
y n–N
as well as the input values
x
.
The major advantage of IIR filters is that they are computationally more efficient, and therefore much faster, than FIR filters. The disadvantages are that IIR filters can become unstable if the feedback coefficients are unsuitable, and recursive filters cannot achieve the linear phase response that is characteristic of FIR filters. Therefore, all IIR filters introduce a phase delay to the filtered data.
The problem of potential instability of IIR filters is solved in Clampfit by limiting the cutoff frequencies for all filter types to a range where the response is always be stable (see
“Cutoff Frequency Limitations” on page 154). However, the phase delay is not corrected.
The Nyquist rate (see “The Sampling Theorem in Clampfit” on page 15) has important
consequences for digital filtering in that the maximum analog frequency that a digital system can represent is given by:
f h
=
1
2T where
T
is the minimum sampling interval and
f h
is the Nyquist frequency.
pCLAMP 10 User Guide — 1-2500-0180 Rev. A
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 11 New Features
- 12 AxoScope
- 12 MiniDigi 1
- 13 pCLAMP Documentation
- 15 Overview of User Guide
- 16 Utility Programs
- 16 History of pCLAMP
- 17 Definitions
- 20 Data Acquisition Modes
- 21 Terms and Conventions in Electrophysiology
- 25 The Sampling Theorem in Clampfit
- 26 Optimal Data Acquisition
- 28 File Formats
- 31 pCLAMP Quantitative Limits
- 35 Computer System
- 37 Software Setup and Installation
- 38 Digitizer Configuration in Clampex
- 39 MiniDigi Installation
- 40 Resetting Program Defaults
- 40 Printing
- 41 Clampex Windows
- 44 Telegraphs
- 45 Lab Bench
- 46 Overrides
- 46 Handling Data
- 47 Protocol Editor
- 53 Data Acquisition
- 53 Real Time Controls
- 54 Seal and Cell Quality: Membrane Test
- 57 Time, Comment, and Voice Tags
- 58 Junction Potential Calculator
- 58 Calibration Wizard
- 59 Sequencing Keys
- 59 LTP Assistant
- 75 I-V Tutorial
- 87 Membrane Test Tutorial
- 89 Scenarios
- 95 Clampfit Windows
- 100 File Import
- 100 Data Conditioning
- 102 Event Detection
- 104 Single-Channel Analysis in Clampfit
- 114 Fitting and Statistical Analysis
- 115 Creating Figures in the Layout Window
- 117 Creating Quick Graphs
- 122 Preconditioning Noisy Single-Channel Recordings
- 126 Evaluation of Multicomponent Signals: Sensillar Potentials with Superimposed Action Potentials
- 133 Separating Action Potentials by their Shape
- 141 Finite vs. Infinite Impulse Response Filters
- 143 Digital Filter Characteristics
- 144 End Effects
- 144 Bessel Lowpass Filter (8 Pole) Specifications
- 146 Boxcar Smoothing Filter Specifications
- 147 Butterworth Lowpass Filter (8 Pole) Specifications
- 149 Chebyshev Lowpass Filter (8 Pole) Specifications
- 151 Gaussian Lowpass Filter Specifications
- 152 Notch Filter (2 Pole) Specifications
- 153 RC Lowpass Filter (single Pole) Specifications
- 155 RC Lowpass Filter (8 Pole) Specifications
- 157 RC Highpass Filter (Single Pole) Specifications
- 157 Bessel Highpass Filter (8-Pole Analog) Specifications
- 158 The Electrical Interference Filter
- 167 The Fourier Series
- 168 The Fourier Transform
- 169 The Fast Fourier Transform
- 169 The Power Spectrum
- 170 Limitations
- 170 Windowing
- 171 Segment Overlapping
- 171 Transform Length vs. Display Resolution
- 173 Membrane Test
- 177 Template Matching
- 177 Single-Channel Event Amplitudes
- 178 Level Updating in Single-Channel Searches
- 179 Kolmogorov-Smirnov Test
- 180 Normalization Functions
- 182 Variance-Mean (V-M) Analysis
- 184 Burst Analysis
- 185 Peri-event Analysis
- 186 P(open)
- 189 Introduction
- 192 The Levenberg-Marquardt Method
- 194 The Simplex Method
- 196 The Variable Metric Method
- 197 The Chebyshev Transform
- 211 Maximum Likelihood Estimation
- 213 Model Comparison
- 215 Defining a Custom Function
- 216 Multiple-Term Fitting Models
- 216 Minimization Functions
- 217 Weighting
- 219 Normalized Proportions
- 219 Zero-shifting
- 221 Beta Function
- 222 Binomial
- 222 Boltzmann, Charge-Voltage
- 223 Boltzmann, Shifted
- 223 Boltzmann, Standard
- 224 Boltzmann, Z-delta
- 224 Current-Time Course (Hodgkin-Huxley)
- 225 Exponential, Alpha
- 225 Exponential, Cumulative Probability
- 225 Exponential, Log Probability
- 226 Exponential, Power
- 226 Exponential, Probability
- 226 Exponential, Product
- 226 Exponential, Sloping Baseline
- 227 Exponential, Standard
- 227 Exponential, Weighted
- 227 Exponential, Weighted/Constrained
- 228 Gaussian
- 228 Goldman-Hodgkin-Katz
- 228 Goldman-Hodgkin-Katz, Extended
- 229 Hill (4-Parameter Logistic)
- 229 Hill, Langmuir
- 229 Hill, Steady State
- 230 Lineweaver-Burk
- 230 Logistic Growth
- 230 Lorentzian Distribution
- 231 Lorentzian Power 1
- 231 Lorentzian Power 2
- 232 Michaelis-Menten
- 232 Nernst
- 232 Parabola, Standard
- 232 Parabola, Variance-Mean
- 233 Poisson
- 233 Polynomial
- 233 Straight Line, Origin at Zero
- 234 Straight Line, Standard
- 234 Voltage-Dependent Relaxation
- 234 Constants
- 235 Primary Sources
- 238 Further Reading
- 241 Software Problems
- 241 Hardware Problems
- 242 Service and Support
- 243 Programs and Sources