Files
CoolProp/externals
Ian Bell 8a1ce06f62 Writing to single-phase tabular tables works now using msgpack-c
Packed data can be read back into python using something like

``` python
import json
import msgpack
import numpy as np
import matplotlib.pyplot as plt

with open(r'C:\Users\Belli\Documents\Code\coolprop-v5-new\dev\codelite\Debug\single_phase.bin','rb') as fp:
    i, matrices = msgpack.load(fp)
    T,h,p,rho = np.array(matrices['T']), np.array(matrices['hmolar']), np.array(matrices['p']), np.array(matrices['rhomolar'])
    T[np.logical_or(np.isnan(T),np.isinf(T))] = np.nan
    rho[np.logical_or(np.isnan(rho),np.isinf(rho))] = np.nan
    h[np.logical_or(np.isnan(h),np.isinf(h))] = np.nan
    p[np.logical_or(np.isnan(p),np.isinf(p))] = np.nan

    plt.scatter(T, np.log(p), c = rho, linewidths = 0)
    plt.show()
```
2015-02-21 17:34:27 -07:00
..
2014-12-18 11:35:42 +01:00
2014-12-19 16:05:58 -06:00