SIGNAL PROCESSING
Laboratory #5

Fourier transform of signals in Python

M. Kociński, P. Strumiłło, A. Borowska-Terka

Medical Electronics Division
Institute of Electronics


In [1]:
import funkcje_do_lab5 as f5
f5.hide()
Out[1]:
The raw code for this IPython notebook is by default hidden for easier reading. To toggle on/off the raw code, click here.

PURPOSE:

Computing and plotting the Fourier transform of signals in Python environment.

TASKS:

In [2]:
f5.fig('task1.png')
Out[2]:

EXPECTED RESULTS:

In [3]:
%pylab inline
pylab.rcParams['figure.figsize'] = (14.0, 7.0)
f5.task1()


Task 1a:

In [4]:
f5.task1_a()

Task 1b:

In [5]:
f5.task1_b()

Task 1c:

In [6]:
f5.task1_c()

Task 1d:

In [7]:
f5.task1_d()
In [8]:
f5.fig('task2.png')
Out[8]:

EXPECTED RESULTS:

In [9]:
f5.task2_a()
In [10]:
f5.fig('task3.png')
Out[10]:

EXPECTED RESULTS:

In [11]:
f5.task3()