Commit Graph

122 Commits

Author SHA1 Message Date
Ian Bell
99810eabf1 Python setup script shows call to cmake build
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-04 15:47:42 -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
e236d44989 Make python build script use g++ for CC and CXX 2014-11-25 21:19:12 +01:00
Jorrit Wronski
38b4348a7f Not all computers have a macversion, of course. 2014-11-25 19:41:08 +01:00
Jorrit Wronski
ba36fd903c Let us hope this fixes #246 ... something similar might have to be done in the cmake config files 2014-11-25 19:33:18 +01:00
Ian Bell
b844cc58a4 setup.py can use default compiler that cmake wants to use
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-24 14:57:21 -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
eaf6168891 Add mingw cmake support to setup.py - though this doesn't seem to be working. Compiles but crashes.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-11-23 21:21:25 -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
9e455684c1 Reverted installation requirements - better to warn when trying to import CoolProp
See https://github.com/CoolProp/CoolProp/issues/160

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-28 14:46:27 -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
Jorrit Wronski
d0686653a1 Added Python dependencies 2014-10-05 13:23:30 +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
Ian Bell
2aec8babf4 run cython to generate headers
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-01 19:52:46 +02:00
Ian Bell
54b1d59a67 Generate the CPP files for PYPI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-10-01 19:05:54 +02:00
Ian Bell
2e190f1a9d PropsSI and Props function docs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-27 18:18:47 +02:00
Ian Bell
5b2f054010 When using CMake, touch CoolProp.pyx to make sure rebuild actually happens
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-27 18:17:29 +02:00
Ian Bell
4ec1f1358f Integrated CMake into python's setup.py
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-27 12:46:59 +02:00
Ian Bell
1a82468c68 Expose mixture binary pair data all the way through python
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-25 13:43:29 +02:00
Ian Bell
5c2bc9da00 Fixed Abstract State keyed_output function docs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-24 18:52:22 +02:00
Ian Bell
9d7946b983 Updated python docs for doxylink purposes
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-24 16:54:53 +02:00
Jorrit Wronski
c98365c580 Fixes #136 and the latexcodec issues 2014-09-23 16:50:30 +02:00
Jorrit Wronski
9b7d47c774 Added Bibtex filter for Pybtex. That should be filed as a bug in Pybtex, footnotes for incompressibles get generated properly 2014-09-23 00:07:59 +02:00
Jorrit Wronski
2591bdd056 Added new incompressibles, cleaned the docs, and improved the log fitting procedures 2014-09-22 19:47:55 +02:00
Jorrit Wronski
9cd98548ca Cleanup in bibtexer 2014-09-21 21:41:55 +02:00
Jorrit Wronski
07e4b1f968 Commited two patches to Pybtex on launchpad, changed the BibtexParser to use the latest Pybtex. Added entry to bib file. 2014-09-21 19:59:26 +02:00
Ian Bell
978bea358d Fixed order of inputs for update_ph of state class
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-18 19:17:27 +02:00
Ian Bell
b1f8a2e8b6 old-style State class can handle mixtures mostly and phase can be set
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-18 18:46:49 +02:00
Ian Bell
1ec70ccb80 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-09-17 00:48:15 +02:00
Jorrit Wronski
bead14f8e2 The Bibtexer is back 2014-09-16 18:43:39 +02:00
Ian Bell
b84187a2a7 Tidied up speed test so that it will run
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-16 17:18:27 +02:00
Jorrit Wronski
37a90176a4 Basic bibtex parsing 2014-09-16 09:03:12 +02:00
Jorrit Wronski
0ee9109ebc Revive the bibtex parser 2014-09-16 08:23:29 +02:00
Ian Bell
c0157c0814 Added the ability to set/unset the phase for the abstract state class
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-09-15 16:17:01 +02:00