• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/python
2
3from __future__ import print_function
4
5import numpy as np
6import h5py
7import sys
8
9data = np.loadtxt(sys.argv[1], dtype='float32')
10h5f = h5py.File(sys.argv[2], 'w');
11h5f.create_dataset('data', data=data)
12h5f.close()
13