1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
Version 0.7:
* The most significant change for existing users is that Matplotlib is
now the default plotting engine. Installing SciTools with Gnuplot as
plotting engine must now be done by the command
python setup.py install --easyviz_backend gnuplot
In general, Matplotlib is smoother to install than Gnuplot. However,
some existing programs using Gnuplot's 2D scalar and vector field
capabilities will now fail because Matplotlib does not have this
functionality.
* Numerous bugfixes have been performed. Some documentation and code
have been cleaned up. More examples are included.
* The scitools script has a new option "rename" for renaming a bunch
of files using regular expressions. Run scitools rename to see a
powerful example.
* A new module FloatComparison has been made for comparing floating-point
numbers and arrays in a unified way (replacements of ==, !=, <, etc.).
The old unified float_eq(a, b, atol=..., rtol=...) is still there and
the main tool for doing a == b with a tolerance.
* A new DoNothing class in misc.py is handy when you want to remove
some actions in your code, but not change the code. See the doc string.
A new function turn_off_plotting applies DoNothing to effectively
make all plotting statements inactive (this is often desired during
heavy debugging of the non-plotting parts of a program). Just write
turn_off_plotting(globals())
before the first plot call.
* The BoxGrid and BoxField classes for structured grids and associated
scalar and vector fields are updated and applied more by the developers.
* The old numpytools module is no longer supported, and we recommend to
use plain numpy or numpyutils (=numpy + some utility functions).
There is no longer (in general) support of Numeric and numarray in SciTools.
Version 0.6:
* Numerous bugfixes have been performed.
* The all module is renamed to std, i.e.,
from scitools.all import *
should now read
from scitools.std import *
The old name "all" is still available as a synonym for std, implying
that old programs will work. (The "all" name is misleading as only
a small portion of scitools is actually imported.)
* Removed all the separate scripts subst.py, regression.py, etc. in the
bin directory. Now there is only one scitools executable in bin,
called scitools. The old scripts are recovered by giving their name
(except the .py extension) to scitools. That is, the old subst.py,
regression.py, ps2mpeg.py, file2interactive.py scripts are now run as
scitools subst ...
scitools regression ...
scitools ps2mpeg ...
scitools file2interactive ...
and so forth for the other scripts. Type scitools --help to see more.
The old script names subst.py, regression.py will be available if
one installs the software associated with the book [1] (e.g., the
subst.py script in that software package is just an execution of
scitools subst).
* Added ppmtompeg as alternative to mpeg_encode in ps2mpeg.
* Renamed the save function in the matlab2 backend to save_m.
* Changed all raise statements to function calls (preparation for Py 3.0).
* Added support for more open commands in sound.play
in order to support more Linux distributions.
* Added (preliminary) support for a text function in easyviz.
* Updated the Easyviz documentation.
* Made an available_backends function for listing the backends for Easyviz.
* Added some Matlab-style functions in numpyutils.py: orth, matrix_rank,
null. Reworked all norm* functions.
* Merged the modules DrawFunction.py, FuncDependenceViz.py,
FunctionSelector.py, ParameterInterface.py and CanvasCoords.py
into TkGUI.py to store all modules with Tk and Pmw graphics in
one place (these modules are mostly used in the book [1]).
For backward compatibility, __init__.py defines the old names.
That is, from ParameterInterface import * will still work, but
actually this means from TkGUI import *.
* Improved bar plots in Easyviz.
* The old plotdemo* files are moved to examples/old.
* Removed hgtools.py as it was too specialized for qualifying for scitools.
* Removed timer.py as this name is likely to clash with other scripts on
a computer system.
* Removed immature subpackages odeiface and pyPDE.
* Removed the DocWriter module. It is now in the Doconce package (to be
released - until then, send mail to hpl@simula.no to obtain that package).
* Reimplemented the misc.str2type function in a smarter way.
* New str2bool function in misc.py. Takes on, off, false, true, False, True,
yes, no, etc. as input and turns the string to a bool. For user interfaces.
* Removed the functions guesstype (not used) and findvalue.
scitools.misc.str2obj now solves the problem in a better way.
* Calling figure(...) in Easyviz now returns a Figure object.
[1] H. P. Langtangen: Python Scripting for Computational Science.
3rd edition, 2nd printing, Springer, 2009.
|