Browse Source

added script for creating a pickle for consistent destination points

Stephen McQuay 8 years ago
parent
commit
492c7d7eea
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      dest/create_dest_pickle.py

+ 7
- 0
dest/create_dest_pickle.py View File

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

Loading…
Cancel
Save