added script for creating a pickle for consistent destination points

This commit is contained in:
Stephen McQuay 2011-05-20 11:12:13 -06:00
parent fef4f8b71f
commit 492c7d7eea
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import sys
import pickle
import numpy as np
output_file_name, dimension, count = sys.argv[1:]
pickle.dump(np.random.random((int(count), int(dimension))), open(output_file_name, 'w'))