/[escript]/trunk/doc/user/changes.tex
ViewVC logotype

Contents of /trunk/doc/user/changes.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2463 - (show annotations)
Tue Jun 9 03:51:23 2009 UTC (11 years, 3 months ago) by jfenwick
File MIME type: application/x-tex
File size: 1322 byte(s)
Added an svn-ignore, added changes and references section to user guide.
1
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %
4 % Copyright (c) 2009 by University of Queensland
5 % Earth Systems Science Computational Center (ESSCC)
6 % http://www.uq.edu.au/esscc
7 %
8 % Primary Business: Queensland, Australia
9 % Licensed under the Open Software License version 3.0
10 % http://www.opensource.org/licenses/osl-3.0.php
11 %
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13
14 \section{Changes from previous releases}
15 \label{app:changes}
16
17 \subsection*{2.0 to 3.0}
18 The major change here was replacing \module{numarray} with \numpy.
19 For general instructions on converting scripts to use numpy see \url{http://www.stsci.edu/resources/software_hardware/numarray/numarray2numpy.pdf}.
20 The specific changes to \escript are:
21 \begin{itemize}
22 \item getValueOfDataPoint() which returned a \module{numarray}.array has been replaced by
23 getTupleForDataPoint() which returns a \PYTHON tuple containing
24 the components of the data point. In the case of matricies or higher ranked data, the tuples will be nested.
25 \item getValueOfGlobalDataPoint has similarly been replaced by getTupleForGlobalDataPoint().
26 \item integrate(data) now returns a \numpyNDA instead of a \module{numarray}.array.
27 \end{itemize}
28 Any python methods which previously accepted \module{numarray} objects will accept \numpy objects instead.
29

  ViewVC Help
Powered by ViewVC 1.1.26