Import module


In [3]:
import correlation_process as cp

Reload module


In [14]:
reload(correlation_process)


Out[14]:
<module 'correlation_process' from 'correlation_process.py'>

Load data


In [ ]:
plate_num = 3808
cov = np.genfromtxt(filename, dtype=[("index1", int), ("index2", int), ("value", float)])
cov_mat = np.zeros((np.amax([cov['index1'], cov['index2']]) + 1, np.amax([cov['index1'], cov['index2']]) + 1))
for index1, index2, value in cov:
    cov_mat[index1][index2] = value
    cov_mat[index2][index1] = value