Commit Graph

403 Commits

Author SHA1 Message Date
Jean-Julien Fleck
dda75cf04c KSI back in place, still have to find where to set the limits properly 2014-08-26 23:21:31 +02:00
Jean-Julien Fleck
1b33c2f492 Switched default to SI units 2014-08-26 21:44:52 +02:00
Jean-Julien Fleck
6d3330bda3 Corrected typo 2014-08-26 16:37:25 +02:00
Jean-Julien Fleck
58de416859 Added possibility to have only one iterable argument in PropsSI calls 2014-08-26 16:24:03 +02:00
Ian Bell
1d080878a7 ndarray_or_iterable is no longer exposed to python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-26 14:17:11 +02:00
Ian Bell
5cdb9c5d0e Changed all references to PropsSI in python plotting
See https://github.com/CoolProp/CoolProp/issues/116

Not sure this fixes things entirely, but it goes some way towards it.  Need to think a bit more about axis units

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-26 14:16:40 +02:00
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