# HG changeset patch # User Jeff Hammel # Date 1411355597 25200 # Node ID 276beb743a596b5946b4b9382d4bf3ef9837999d # Parent e3fc1f75241d126114a32ec1c295fedf616d4aa7 stub diff -r e3fc1f75241d -r 276beb743a59 numerics/data.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numerics/data.py Sun Sep 21 20:13:17 2014 -0700 @@ -0,0 +1,13 @@ +# -*- coding: utf-8 -*- + +""" +data models +""" + +__all__ = ['Dataset'] +string = (str, unicode) + +class Dataset(object): + """ + rows of data + """ diff -r e3fc1f75241d -r 276beb743a59 numerics/plot.py --- a/numerics/plot.py Sun Sep 21 11:31:37 2014 -0700 +++ b/numerics/plot.py Sun Sep 21 20:13:17 2014 -0700 @@ -15,7 +15,6 @@ # imports import argparse import os -import subprocess import sys # module globals diff -r e3fc1f75241d -r 276beb743a59 numerics/read.py --- a/numerics/read.py Sun Sep 21 11:31:37 2014 -0700 +++ b/numerics/read.py Sun Sep 21 20:13:17 2014 -0700 @@ -13,9 +13,9 @@ # module globals __all__ = ['main', 'ReadParser'] -here = os.path.dirname(os.path.realpath(__file__)) string = (str, unicode) + def ensure_dir(directory): """ensure a directory exists""" if os.path.exists(directory): @@ -24,7 +24,10 @@ os.makedirs(directory) return directory + def read_csv(*fp): + """read a series of CSV files""" + retval = [] for f in fp: