diff options
author | Anthony LaTorre <telatorre@gmail.com> | 2011-06-09 20:46:59 -0400 |
---|---|---|
committer | Anthony LaTorre <telatorre@gmail.com> | 2011-06-09 20:46:59 -0400 |
commit | daee9b48ac6bbc42e1bd406dc4a1c138cb19d257 (patch) | |
tree | 876bf89c626b4ca512b88ca7dadb6957885f94e6 /view.py | |
parent | 76982ea70f1eefa481af3cd9f7bafdf92733aad0 (diff) | |
download | lecrunch-daee9b48ac6bbc42e1bd406dc4a1c138cb19d257.tar.gz lecrunch-daee9b48ac6bbc42e1bd406dc4a1c138cb19d257.tar.bz2 lecrunch-daee9b48ac6bbc42e1bd406dc4a1c138cb19d257.zip |
you can now take data using sequence mode! also, updated the README file to include more examples. sock.py now replaces scope.py. sock.py is almost identical, but i renamed the class to Socket and fixed it so that data headers are properly received; previously, it was assumed that the 8 byte header was sent in a single recv() call, which is not always the case. draw.py is a new script to draw waveforms using matplotlib instead of root.
Diffstat (limited to 'view.py')
-rwxr-xr-x | view.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ mg = {} for dataset in [f[name] for name in f]: mg[dataset.name] = TMultiGraph() - samples = dataset.attrs['wave_array_count'] + samples = dataset.attrs['wave_array_count']//dataset.attrs['nom_subarray_count'] dx = dataset.attrs['horiz_interval'] dy = dataset.attrs['vertical_gain'] xoffset = dataset.attrs['horiz_offset'] |