Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
setup_cyth.py | 2016-06-20 | 519 Bytes | |
to_new_format.pyx | 2016-06-20 | 5.0 kB | |
README | 2016-06-20 | 845 Bytes | |
change_mat_format.py | 2016-06-20 | 581 Bytes | |
make_clean | 2016-06-20 | 55 Bytes | |
Totals: 5 Items | 7.0 kB | 0 |
Changes matrix format from the old one used in PyVCI to the new one in PyVCI_VPT2. Some changes to the format had to be made, to allow for more flexible construction and manipulation of the VCI matrices. First, clean the directory of old files, ./make_clean Then, convert "to_new_format.pyx" to C using Cython, by calling python setup_cyth.py build_ext --inplace which will do the conversion and compilation. If there are problems with the generated C code, than try using one of the versions supplied in "code/C_code_Py27" or "code/C_code_Py34", which were converted with Python2.7 and Python3.4 respectively. After that, assuming you have your vci_matrix in an old format in the same directory and under the name "fin", call ./change_format.py fin fout to generate a new matrix file "fout", in the format compatible with PyVCI_VPT2.