changeset 90:6ca75832116d

wip
author Jeff Hammel <k0scist@gmail.com>
date Mon, 02 Mar 2015 15:58:02 -0800
parents ae8b90fed06f
children bbe8f3e9615d
files numerics/histogram.py
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/numerics/histogram.py	Sun Mar 01 17:51:26 2015 -0800
+++ b/numerics/histogram.py	Mon Mar 02 15:58:02 2015 -0800
@@ -130,8 +130,13 @@
         histogram.add(*column)
         histograms.append(histogram)
 
-    # output delimeters
-    data = histograms[0].keys()
+    # record delimeters for output
+    columns = zip(*histograms[0].keys())
+    for histogram in histograms:
+        columns.append(histogram.values())
+
+    # output
+    writer = None   # TODO
 
 if __name__ == '__main__':
     main()