Computational Data Analysis

Slides:



Advertisements
Similar presentations
ECON 397 Macroeconometrics Cunningham
Advertisements

Lecture 7: Basis Functions & Fourier Series
Lecture 7 Linear time invariant systems
AMI 4622 Digital Signal Processing
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Review of Frequency Domain
EE-2027 SaS, L18 1/12 Lecture 18: Discrete-Time Transfer Functions 7 Transfer Function of a Discrete-Time Systems (2 lectures): Impulse sampler, Laplace.
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters In Chapter 5 we Had our first look at LTI systems Considered discrete-time systems, some.
FILTERING GG313 Lecture 27 December 1, A FILTER is a device or function that allows certain material to pass through it while not others. In electronics.
Systems: Definition Filter
Digital Signals and Systems
Discrete-Time Fourier Series
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
Discrete-Time and System (A Review)
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Fourier Series Summary (From Salivahanan et al, 2002)
CISE315 SaS, L171/16 Lecture 8: Basis Functions & Fourier Series 3. Basis functions: Concept of basis function. Fourier series representation of time functions.
111 Lecture 2 Signals and Systems (II) Principles of Communications Fall 2008 NCTU EE Tzu-Hsien Sang.
Signals & systems Ch.3 Fourier Transform of Signals and LTI System 5/30/2016.
Fourier series: Eigenfunction Approach
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Fourier Analysis of Signals and Systems
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
Chapter 1 Random Process
Linear Filters. denote a bivariate time series with zero mean. Let.
Geology 6600/7600 Signal Analysis 21 Sep 2015 © A.R. Lowry 2015 Last time: The Cross-Power Spectrum relating two random processes x and y is given by:
Discrete-time Random Signals
EEE Chapter 6 Random Processes and LTI Huseyin Bilgekul EEE 461 Communication Systems II Department of Electrical and Electronic Engineering Eastern.
Eeng360 1 Chapter 2 Linear Systems Topics:  Review of Linear Systems Linear Time-Invariant Systems Impulse Response Transfer Functions Distortionless.
Chapter 2. Signals and Linear Systems
Math for CS Fourier Transforms
Review of DSP.
Convergence of Fourier series It is known that a periodic signal x(t) has a Fourier series representation if it satisfies the following Dirichlet conditions:
Lecture 7: Basis Functions & Fourier Series
Signals & systems Ch.3 Fourier Transform of Signals and LTI System
Computational Data Analysis
UNIT-III Signal Transmission through Linear Systems
Chapter 2. Signals and Linear Systems
Review of DSP.
In summary If x[n] is a finite-length sequence (n0 only when |n|
CEN352 Dr. Nassim Ammour King Saud University
SIGNALS PROCESSING AND ANALYSIS
Computational Data Analysis
Linear Constant-coefficient Difference Equations
Signal Processing First
Image Enhancement in the
Computational Data Analysis
EE Audio Signals and Systems
Description and Analysis of Systems
Mathematical Descriptions of Systems
Chapter 2. Fourier Representation of Signals and Systems
UNIT II Analysis of Continuous Time signal
Quick Review of LTI Systems
The sampling of continuous-time signals is an important topic
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Research Methods in Acoustics Lecture 9: Laplace Transform and z-Transform Jonas Braasch.
UNIT V Linear Time Invariant Discrete-Time Systems
Chapter 8 The Discrete Fourier Transform
Chapter 2 Linear Systems
Lecture 5: Linear Systems and Convolution
Basic Image Processing
Linear Filters.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Frequency Response Transfer Function Introduction to Filters.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Signals and Systems Lecture 2
Lecture 4: Linear Systems and Convolution
Review of DSP.
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

12.714 Computational Data Analysis Alan Chave (alan@whoi.edu) Thomas Herring (tah@mit.edu), http://geoweb.mit.edu/~tah/12.714

Today’s class Linear Time-Invariant (LTI) Filters Basic theory of analog filters Basic theory of digital filters Convolution as an LTI filter Spectral Density Function determination Interpretation of spectrum via band-pass filtering Least-squares filter design Aim is to formalize the relation between input and output spectra. Also provides as way of studying stochastic processes: With some mild conditions, an input stationary process will generate an output stationary process. 05/07/2012 12.714 Sec 2 L07

Basic Theory: Analog A analog filter can be defined as a mapping between an input function and an output function: Symbolically L{x(.)}=y(.). In engineering a continuous parameter filter is called an analog filter; in mathematics called an transformation or operator. Some notation: For a real valued constant  and a function x(.), then x(.;) denotes the function whose value at time t is given by x(t+), A filter defined by L{x(.)}=x(.;) is a shift filter (e.g., if x(t)=sin(t); then x(t;/2)=cos(t) A normal functions maps a value in one space to another value in the same space; filters maps functions in the same space/ 05/07/2012 12.714 Sec 2 L07

Linear time-invariant (LTI) analog filter An anolog filter is linear time invariant if it has these properites: Scale preservation: L{x(.)} = L{x(.)} where  is constant Superposition: L{x(.)+y(.)}=L{x(.)}+L{y(.)} Time invariance: if L{x(.)}=y(.), then L{x(.;)}=y(.;) i.e., if two inputs to the filter are the same except for a time shift; then the outputs are the same except for the same time shift. The first two properties express linearity and therefore With suitable conditions the above summation can be extended to infinity 05/07/2012 12.714 Sec 2 L07

Relationship between input and output of an LTI filter Use as input to the filter a complex exponential and let y(.) denote the output Using the LTI properties (3) and (1) we have Since the above is valid for any value of t, the above implies 05/07/2012 12.714 Sec 2 L07

LTI relations We have L{f(.)}=G(f)f(.). The complex exponentials are the eigenfunctions for the LTI filter and each G(f) is called an associated eigenvalue. Importance: If the input to an LTI filter is a complex exponential, then the output is same complex exponential multiplied by G(f). We have 05/07/2012 12.714 Sec 2 L07

Transfer function G(.) The G(.) is called the transfer function or frequency response function. It relates the input and output spectra and is independent of time. No power is transferred between frequencies. In general G(f) is complex and can be written as where |G(f)| is called the gain function and the (f) is the phase function. The negative is (f) called the phase shift function and the quantity Strictly relationship is to integrated spectra. Normally the differential of the integrated spectra is S(f)df. 05/07/2012 12.714 Sec 2 L07

LTI digital filters The relationship between sequences (discrete rather can continuous functions) are called digital filters. For LTI filter the same properties of scale preservation, superposition, and time invariance apply. The LTI digital filtering theorem is: If {Xt} is a discrete stationary process with zero mean and integrated spectrum S(I)X(.) and L is a LTI filter with transfer function G(.) such that {Yt} is a discrete stationary process Notice that L is not discrete, the LTI filter is a continuous function, 05/07/2012 12.714 Sec 2 L07

Convolution as an LTI filter Consider an LTI analog filter of the following form The function g(.) is called the impulse response function because if X(.) is a dirac delta function the output of the convolution is g(t) i.e., L{d(t)}=g(t) To find the transfer function we use 05/07/2012 12.714 Sec 2 L07

Convolution for digital LTI filter For discrete processes the same relationships apply The stationary process sdf are related by 05/07/2012 12.714 Sec 2 L07

Determination of SDF by LTI filtering The theory developed so far allows us to determine spectral density functions for discrete stationary processes. Moving average process 05/07/2012 12.714 Sec 2 L07

SDF of AR process The same process can be used for an AR process An AR process is stationary if the denominator above never goes to zero. Note in this case, the filter applied to the AR process generates white noise where as fir the MA process, the filter is applied to white noise 05/07/2012 12.714 Sec 2 L07

SDF of ARMA process The previous two cases can be merged for an ARMA process 05/07/2012 12.714 Sec 2 L07

Filter terminology Field is very large (see references p 169,PW) Types of filters: Cascaded: An arrangement of n-filters where the output of one is the input to the next. If all the filters are LTI filters, then an input stationary process will generate and output stationary process. The total integrated spectrum will be given by Note for LTI filters, the output does not depend on the order of the filters. Ideal low-pass filter: Transfer function 05/07/2012 12.714 Sec 2 L07

Filter terminology Filter types: Ideal high-pass filter: Ideal band-bass filter: In the band [f1,f2] A notch filter is one that removes a specific frequency range (e.g., to remove diurnal effects) None of the ideal filters can be implemented with finite length sequences. 05/07/2012 12.714 Sec 2 L07

Filter Terminology Given an LTI filter of the form: The filter is said to be causal if gu=0 for all u<0 If gu is zero outside a finite range of u, the filter is called a finite impulse response (FIR) filter. If this is not the case then it is an infinite impulse response (IIR) filter. 05/07/2012 12.714 Sec 2 L07

Interpretation of Spectrum Ideal band pass filters allow a physical interpretation of the integrated spectrum. Given an ideal band pass filter between f and f+df, then the passing on stationary process through will yield signal in narrow bandwidth. The variance of this narrow bandwidth signal will be Factor of 2 appears because we take both the negative and positive frequencies. 05/07/2012 12.714 Sec 2 L07

Example of LTI digital filtering Consider an acausal LTI digital filter: The next two figures show transfer function for above case and a filter g(2) = 2*g(1) 05/07/2012 12.714 Sec 2 L07

g(1) Transfer function and filter Data for Earth X-pole postion with 1mas Guassian noise added. (mit_060422.erp). Since the ERP were “nosied” up in this example, it is interesting to compare the residuals above with the noise added to the data. 05/07/2012 12.714 Sec 2 L07

g(2)=2*g(1) transfer function and filter 05/07/2012 12.714 Sec 2 L07

Conditions on Transfer function As we just seen; an LTI filter does not necessarily behave as a smoothing filter If we want a filter that traces the trend of a given time series, the LTI filer must be appropriately normalized. Filter can be normalized by requiring that if the input function is locally smooth, the filtered value should match the input. 05/07/2012 12.714 Sec 2 L07

Normalized transfer functions If the impulse response is symmetric and sums to 1 then, the transfer function is given by Hence to define as low pass filter whose residuals are a high pass filter, the sum of the coefficients should be one, and the filter should be symmetric. The latter is not required. Equation for H(f) only valid for normalized and symmetric impulse response function. 05/07/2012 12.714 Sec 2 L07

Least squares filter design The ideal low pass filter and its impulse response are As we have seen before the least squares fit with a finite, odd number of coefficients, K, is given by 05/07/2012 12.714 Sec 2 L07

LSQ low pass filter K=65 05/07/2012 12.714 Sec 2 L07

Alternative low pass filter with triangular convergence factor This filter use a triangular convergence factor as discussed in lecture 4 with Dirichlet’s and Fejer Kernels. 05/07/2012 12.714 Sec 2 L07

Low pass filters The previous figure was generated using: The factor  is included to ensure sum gu =1 Other variations on the filter design include fitting to the transfer function: 05/07/2012 12.714 Sec 2 L07

Summary of today’s class Linear Time-Invariant (LTI) Filters Basic theory of analog filters: Continuous Basic theory of digital filters: Discrete in time Convolution as an LTI filter SDF determination Interpretation of spectrum via band-pass filtering Least-squares filter design: Low pass filters Text book also discusses using dpss functions as low pass filters. 05/07/2012 12.714 Sec 2 L07