Commit Graph

111 Commits

Author SHA1 Message Date
Ian Bell
9afd436192 Removed explicit dependency on numpy and matplotlib; closes #588 2015-04-10 19:17:54 -06:00
Ian Bell
e066c6a122 Fix exception handling in python code 2015-03-15 04:56:59 +01:00
Ian Bell
7a375952e0 Implement calling a flash routine with guess values provided at the low-level (PQ only for now) 2015-03-06 15:38:25 -07:00
Ian Bell
cd3e6323d2 Enable the ability to set mixture binary pair data from python (I think)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-05 23:46:22 -07:00
Ian Bell
65543cf26e Merge branch 'master' into tabular 2015-02-27 22:54:28 -07:00
Ian Bell
527bac72d0 Implemented a number of functions to python's AbstractState that were missing; Closes #505
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-27 21:24:22 -07:00
Ian Bell
d4553aca3e Abstract can now throw for T(), rhomolar() etc.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-26 22:25:58 -07:00
Ian Bell
5c955d8bf3 Document which parameters are available in Props1SI; closes #471 2015-02-21 13:31:14 -07:00
Jorrit Wronski
d6a360d818 Merge branch 'master' into pgfplots 2015-02-09 10:44:27 +01:00
Ian Bell
396fe0ce4d Added two phase derivative functions to python wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 13:07:08 -05:00
Ian Bell
06003c6ff6 Error if matrix input in PropsSI in python; Closes #387
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-19 21:29:00 -07:00
Jorrit Wronski
57470bc9be Fixed a typo in PropsSI in Python wrapper 2015-01-15 11:56:35 +01:00
Jorrit Wronski
cf4febfebd Almost done, the PGF stuff needs more hacks than expected. 2015-01-13 00:10:54 +01:00
Ian Bell
3c65678a8d Fix python wrapper code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-07 15:23:16 -07:00
Ian Bell
1693b19a81 Fixed bug in HighLevelAPI.rst by a slightly better error message in PropsSI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-07 15:15:28 -07:00
Ian Bell
3d68475e6b Merge branch 'master' of https://github.com/coolprop/coolprop 2015-01-04 22:33:37 -05:00
Ian Bell
abac4e57d0 Nicer warning message if constants.so|py|dylib cannot be removed by python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-04 22:33:06 -05:00
Jorrit Wronski
c60ee1d567 This is a preliminary fix for the issue #387 because I need the code. I hope this does not break things for others. 2015-01-04 16:15:04 +01:00
Ian Bell
984a8f98d7 Make the REFPROP plots work
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-01 01:57:00 -05:00
Ian Bell
6eb01dd41b Return a numpy array from PropsSI in python again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 18:13:21 -05:00
Ian Bell
e43301facb Fix typo in __init__.py
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 17:09:21 -05:00
Ian Bell
9bbcb782d0 Fix python cleanup code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 17:01:53 -05:00
Ian Bell
bd1e045a32 Make pip install more verbose; remove constants shared library if needed
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-31 16:47:16 -05:00
Ian Bell
335c615bce Fix error handling in ConsistencyPlot.py; See #370 2014-12-31 20:41:31 +01:00
Ian Bell
5de4f77d58 Bump the minimum temperature just a bit to get consistency plots to all build; See #370 2014-12-31 12:31:27 -05:00
Ian Bell
f8576b1d49 PropsSImulti is integrated into Python wrapper; extract_fractions is exported
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 20:08:35 -05:00
Ian Bell
1a7e411546 Expose the functions first_saturation_deriv and second_saturation_deriv through the cython interface
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 14:05:22 -05:00
Ian Bell
c50a4f6494 Automatically generate the enum keys for Python. Maybe helps with pydev issue; See #367
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 12:09:25 -05:00
Ian Bell
c2047e4162 Define get_mixture_binary_pair_data as extern in DataStructures.h in order to allow linking CoolProp and PDSim
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 11:17:14 -05:00
Ian Bell
5b50fa934d Log scale densities for consistency Plots
Closes https://github.com/CoolProp/CoolProp/issues/275

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-03 14:22:06 -05:00
Ian Bell
3e255e263e Expose gas_constant through python wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-29 22:08:27 -05:00
Ian Bell
3c9f9c310a Removed call to set backend to TkAgg
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 18:06:20 -05:00
Ian Bell
d4898c3963 Added consistency plots to expensive docs.
Closes https://github.com/CoolProp/CoolProp/issues/235

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-27 12:07:18 -05:00
Ian Bell
92531ec373 PropsSI raises a Type Error if iterables are not all the same length; Returns numpy array if possible
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-24 00:23:10 -05:00
Ian Bell
4681b9db47 Removed a lot of old tests in python that are already mirrored in Catch tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-24 00:22:20 -05:00
Ian Bell
e0a4349884 Apply default values for generate update pair to squash warning
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-23 20:54:06 -05:00
Ian Bell
09bdf671c7 Added generate_update_pair function to python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-19 13:21:08 -05:00
Ian Bell
e2fc2d87c5 Consistency plots default to building all plots
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-19 12:06:21 -05:00
Ian Bell
755b0da85b Fix tiny typo to make sphinx happier
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-19 12:05:54 -05:00
Ian Bell
6f4a4fcc93 getting/setting configuration values from python works
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-18 23:33:32 -05:00
Ian Bell
3046ac559a Evaluate all inputs before doing plotting for consistency plots - ~10x faster !!
Also time the plots

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-12 18:32:59 -05:00
Ian Bell
d517b4d23b Added consistency plot to plotting for python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-11 20:41:49 -05:00
Ian Bell
432c8fe48c Exposed reference state setting function to python.
Closes https://github.com/CoolProp/CoolProp/issues/206

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-07 14:44:25 -05:00
Ian Bell
d628b1af3f Added some more docs for PhaseSI function
See https://github.com/CoolProp/CoolProp/issues/192

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-29 16:12:08 -04:00
Ian Bell
12c66d7d36 Added import tests for matplotlib and numpy at import time
Closes https://github.com/CoolProp/CoolProp/issues/160

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-28 14:56:42 -04:00
Ian Bell
5d6a0100ec Added python wrapper for HAProps
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-22 21:35:11 +00:00
jjgomera
991469914a Add graphic tool for psychrometric chart 2014-10-14 12:32:27 +02:00
Ian Bell
9f04472cef Small docs modifications
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-02 17:01:33 +02:00
Ian Bell
642b4cc698 Using string instead of str
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-02 15:09:34 +02:00
Ian Bell
2f6b083aff Expose BibTeX all the way back to python wrapper
Closes https://github.com/CoolProp/CoolProp/issues/164

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-02 14:21:15 +02:00