# template for Lab #2, Task #6
import numpy,random
import matplotlib.pyplot as p
import lab2
def deconvolver(y,h):
"""
Take the samples that are the output from a channel (y), and the
channel's unit-sample response (h), deconvolve the samples, and
return the reconstructed input.
"""
pass # your code here...
if __name__ == '__main__':
"""
Develop test patterns and try using deconvolution to reconstruct
the input from the output samples for each of the two channels.
Use 8 samples per bit. Generate plots comparing your
reconstruction to the original input and output of the channel.
Finally, try performing reconstruction with nonzero noise.
"""
pass # your code here...