Commit Graph

447 Commits

Author SHA1 Message Date
Ian Bell
1cb23c5845 Fixed import/cimport issue
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-21 11:24:19 +02:00
Ian Bell
94cbeb5758 Fixed python wrappers usage of enums
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-21 09:11:55 +02:00
Ian Bell
8ddce50b8b Fixed some small errors in psych routines
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-21 00:51:45 +02:00
Ian Bell
1fea8bed8c Re-implemented Props() function in Python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-20 20:42:31 +02:00
Jean-Julien Joseph Fleck
1dc158a4c9 Added self._draw_graph() to new savefig() method 2014-08-20 16:34:58 +02:00
Ian Bell
b5f39490d6 Fixed imports and HAPropsSI python function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 22:26:36 +02:00
Ian Bell
65283ce408 More work on psych props - still not working yet, something is hanging
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 22:25:26 +02:00
Ian Bell
f43a0b792b Humid air properties now use string instead of char*
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 21:55:23 +02:00
Ian Bell
47c3a49f78 Added savefig function to PropsPlot
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 21:15:18 +02:00
Ian Bell
e5df0d4d1f Fixed typo in CoolProp.pyx to close https://github.com/CoolProp/CoolProp/issues/102
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 21:10:14 +02:00
Ian Bell
467157f319 Python strings are all unicode everywhere, even python 27.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 14:09:15 +02:00
Ian Bell
b31e648d47 Dealt with some more unicode issues to close https://github.com/CoolProp/CoolProp/issues/100
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 13:47:29 +02:00
Ian Bell
e24c5c4652 Cython defaults to use bytes - closes https://github.com/CoolProp/CoolProp/issues/98
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 10:40:59 +02:00
Ian Bell
f6169b073e Removed double printing of inputs when errstring is printed in PropsSI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 01:23:14 +02:00
Ian Bell
4041e88a5e Fully implemented, but a lot slower, why?
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 16:13:03 +02:00
Ian Bell
ee36d65eba Prepared prepare_pypi for CoolProp5 -> CoolProp reversion 2014-08-12 18:00:17 +02:00
Ian Bell
e4c8d3f061 Python wrapper is more or less back in action completely. Additional testing is required.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-12 16:25:33 +02:00
Ian Bell
a98ef9c44a Renamed python module
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-12 15:09:38 +02:00
Ian Bell
802495cad3 Last commit before rename of python module to CoolProp
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-12 15:07:57 +02:00
Ian Bell
c594a3c3c8 Implemented 2-input form of PropsSI function again in Python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-12 12:22:36 +02:00
Ian Bell
b7bd58d986 More work on flash routines, number of failures is rapidly decreasing - still have problems for low pressure sat_p calcs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-12 11:21:12 +02:00
Ian Bell
36d601490f Lots more work on melting curves, can now make pretty phase diagram for water including the melting line 2014-08-10 19:28:04 +02:00
Ian Bell
584b975b4b Fixed python files for py3.x I think, though I hate python 3 string handling 2014-08-07 23:27:37 +02:00
Ian Bell
aa3cade87d First cut at Javascript docs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-05 23:29:28 +02:00
Ian Bell
4fd84a7eba Added necessary functions to Python in order to generate parameter table
Built table in RST using python script Web/coolprop/build_parametric_table.py for High-Level API

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-05 21:37:36 +02:00
Ian Bell
4d80cf159a Added shorthand function to CoolProp to get CoolProp.global_param_string without all the typing
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-05 15:28:48 +02:00
Ian Bell
1ca9494a1f Broke up incompressible list into pure and solutions for use in Python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 17:34:25 +02:00
Ian Bell
776c13c048 Add incompressible list
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-04 16:31:02 +02:00
Ian Bell
e9ac0bcc9d python wrapper work
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 20:43:42 +02:00
Ian Bell
a2f45e29da Added functionality for trivial outputs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 18:55:52 +02:00
Ian Bell
c0a95b9f42 Fixed setup.py to not try to import CoolProp
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 17:19:26 +02:00
Ian Bell
34584095d9 work on buildbot for python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 17:07:49 +02:00
Ian Bell
906b8edf51 python buildbot modifications
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 16:45:00 +02:00
Ian Bell
4235013fea Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-03 15:58:15 +02:00
Ian Bell
1c093c757e prepared for python on buildbot
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 15:54:10 +02:00
Ian Bell
18899a5cc3 Fixed files to compile for python on OSX 2014-08-03 14:29:07 +02:00
Ian Bell
a14731783e python builders work!!
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 14:00:46 +02:00
Ian Bell
df17eaf6cc python wrapper builds with vs2008 (fixed bug in Eigen)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-03 11:37:17 +02:00
Ian Bell
87aae7eef7 A bit more work on the python packaging. Currently broken, still a work in progress.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-02 19:52:36 +02:00
Ian Bell
459f0f43d3 Completely reorganized python scripts
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-02 18:31:03 +02:00
Ian Bell
44ee752877 Update default flags for python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-07-09 20:12:10 +02:00
Ian Bell
2cbc4b8ec4 Updated cython wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-30 17:11:44 +02:00
Ian Bell
226dc8ed09 Added mass-based methods to python wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-10 15:56:21 +02:00
Ian Bell
bff7e2afeb PlanckEinstein and PlanckEinstein2 classes replaced with PlanckEinsteinGeneralized. Docs to follow.
Aly-Lee not yet removed.  Next step.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-03 12:04:16 +02:00
Ian bell
463c40fcf0 Small work on the docs - doxylink needs to be fed an absolute path, but otherwise seems good. Might need to generate the absolute path at runtime somehow. Its different between local and remote locations of HTML.
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-15 23:43:58 +02:00
Ian bell
56ccdbc4ac Renamed python wrapper files for now to CoolProp5 - python wrapper is coming together. Dropped xdress and building it manually.
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-15 22:19:53 +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