7 Commits

Author SHA1 Message Date
Ian Bell
48fe5b972f Implemented IF97 backend; closes #567 2015-03-31 23:57:25 -06:00
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
Ian Bell
64be58a9f2 Add FindMathematica external
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 21:28:24 -05:00
Jorrit Wronski
a1d2a2a9be Added the external REFPROP header and removed the constants from the cpp file, replaced tabs with 4 spaces 2014-12-18 11:28:23 +01:00
Ian Bell
62448d8357 Uppercase eigen external folder
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-26 01:30:48 +02:00
Ian bell
7099c5b8fb Added updated nice wrapper for EES
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-15 22:16:39 +02:00
Ian bell
b3847c7522 Initial commit for v5, but this time with the right line endings
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-14 12:46:24 +02:00