diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-08-06 16:54:01 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-08-06 16:54:01 +0200 |
commit | 3ccac8f7c14fc92fba5de7e4e532c892834b35b9 (patch) | |
tree | a1511e1b3a43793053689ce534f5cb8a70aba7bc /plot.py | |
download | ODR-StaticPrecorrection-3ccac8f7c14fc92fba5de7e4e532c892834b35b9.tar.gz ODR-StaticPrecorrection-3ccac8f7c14fc92fba5de7e4e532c892834b35b9.tar.bz2 ODR-StaticPrecorrection-3ccac8f7c14fc92fba5de7e4e532c892834b35b9.zip |
Add first version of scripts
Diffstat (limited to 'plot.py')
-rwxr-xr-x | plot.py | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +#!/usr/bin/env python2 +# +# Plot the contents of the measurements.csv generated +# by amplitude_ramp.py +# +# Copyright (C) 2016 +# Matthias P. Braendli, matthias.braendli@mpb.li +# http://www.opendigitalradio.org +# Licence: The MIT License, see LICENCE file + +import numpy as np +import matplotlib.pyplot as pp + +measurements = np.loadtxt("measurements.csv", delimiter=",") + +pp.subplot(311) +pp.plot(measurements[..., 1]) +pp.subplot(312) +pp.plot(measurements[..., 2]) +pp.subplot(313) +pp.plot(measurements[..., 3]) + +pp.show() + + |