From: Dan White Date: Mon, 24 Sep 2012 16:18:01 +0000 (-0500) Subject: update X-Git-Tag: bootrom-initial-submission~76 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=3425a4643684a5cd2a6b60ae9463b7da8939da92;p=430.git update --- diff --git a/python-lib/test-data/chip01/caldac-hist.pdf b/python-lib/test-data/chip01/caldac-hist.pdf new file mode 100644 index 0000000..7c92095 Binary files /dev/null and b/python-lib/test-data/chip01/caldac-hist.pdf differ diff --git a/python-lib/test-data/chip01/calout-hist.pdf b/python-lib/test-data/chip01/calout-hist.pdf new file mode 100644 index 0000000..7381a16 Binary files /dev/null and b/python-lib/test-data/chip01/calout-hist.pdf differ diff --git a/python-lib/test-data/chip02/stats.py b/python-lib/test-data/chip02/stats.py index 9f3296d..929f980 100644 --- a/python-lib/test-data/chip02/stats.py +++ b/python-lib/test-data/chip02/stats.py @@ -11,12 +11,15 @@ cal_values = [] cal_outs = [] infiles = sorted(glob('*.npz')) -N_RUNS = min(len(infiles), 8) +#N_RUNS = min(len(infiles), 8) +N_RUNS = 0 sample_runs = sorted(rand_sample(range(len(infiles)), N_RUNS)) -N_PLOTS = 4 +#N_PLOTS = 4 +N_PLOTS = 0 #sample_channels = sorted(rand_sample(range(48), N_PLOTS)) sample_channels = range(N_PLOTS) -N_COLS = 4 +#N_COLS = 4 +N_COLS = 0 nrun = 0 for infile in infiles: #for infile in sorted(glob('*.npz')): @@ -103,6 +106,7 @@ if 0: (os.path.basename(os.getcwd()), len(infiles))) +interactive(False) if 1: figure() @@ -111,6 +115,7 @@ if 1: xlabel('OTA tuning DAC value') title('Channel offset tuning histogram\n48x2 channels x %i runs' % (len(infiles),)) + savefig('caldac-hist.pdf') figure() @@ -119,6 +124,7 @@ if 1: xlabel('Tuned channel output offset voltage (mV)') title('Channel offset tuning histogram\n48x2 channels x %i runs' % (len(infiles),)) + savefig('calout-hist.pdf') print sample_runs print [infiles[s] for s in sample_runs]