SF.net SVN: matplotlib: [4418] trunk/toolkits/basemap

2007-11-22 Thread jswhit
Revision: 4418
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4418&view=rev
Author:   jswhit
Date: 2007-11-22 07:28:30 -0800 (Thu, 22 Nov 2007)

Log Message:
---
changed version number to 0.9.6.1

Modified Paths:
--
trunk/toolkits/basemap/Changelog
trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
trunk/toolkits/basemap/setup.py

Modified: trunk/toolkits/basemap/Changelog
===
--- trunk/toolkits/basemap/Changelog2007-11-22 03:53:04 UTC (rev 4417)
+++ trunk/toolkits/basemap/Changelog2007-11-22 15:28:30 UTC (rev 4418)
@@ -1,4 +1,4 @@
-version 0.9.7 (not yet released)
+version 0.9.6.1 (not yet released)
* fix rotate_vector so it works in S. Hem and for non-orthogonal
  grids. Support for masked velocity vectors also added. (EF)
* numpification. (EF)

Modified: trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
===
--- trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py   
2007-11-22 03:53:04 UTC (rev 4417)
+++ trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py   
2007-11-22 15:28:30 UTC (rev 4418)
@@ -22,7 +22,7 @@
 # basemap data files now installed in lib/matplotlib/toolkits/basemap/data
 basemap_datadir = os.sep.join([os.path.dirname(__file__), 'data'])
 
-__version__ = '0.9.7'
+__version__ = '0.9.6.1'
 
 
 

Modified: trunk/toolkits/basemap/setup.py
===
--- trunk/toolkits/basemap/setup.py 2007-11-22 03:53:04 UTC (rev 4417)
+++ trunk/toolkits/basemap/setup.py 2007-11-22 15:28:30 UTC (rev 4418)
@@ -93,7 +93,7 @@
 package_data = 
{'matplotlib.toolkits.basemap':pyproj_datafiles+basemap_datafiles}
 setup(
   name  = "basemap",
-  version   = "0.9.7",
+  version   = "0.9.6.1",
   description   = "Plot data on map projections with matplotlib",
   long_description  = """
   An add-on toolkit for matplotlib that lets you plot data


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib: [4420] trunk/toolkits

2007-11-22 Thread jswhit
Revision: 4420
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4420&view=rev
Author:   jswhit
Date: 2007-11-22 07:44:08 -0800 (Thu, 22 Nov 2007)

Log Message:
---
make basemap-testing the trunk

Added Paths:
---
trunk/toolkits/basemap/

Removed Paths:
-
trunk/toolkits/basemap-testing/

Copied: trunk/toolkits/basemap (from rev 4418, trunk/toolkits/basemap-testing)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib: [4421] trunk/toolkits/basemap/Changelog

2007-11-22 Thread jswhit
Revision: 4421
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4421&view=rev
Author:   jswhit
Date: 2007-11-22 07:45:42 -0800 (Thu, 22 Nov 2007)

Log Message:
---
release 0.9.7

Modified Paths:
--
trunk/toolkits/basemap/Changelog

Modified: trunk/toolkits/basemap/Changelog
===
--- trunk/toolkits/basemap/Changelog2007-11-22 15:44:08 UTC (rev 4420)
+++ trunk/toolkits/basemap/Changelog2007-11-22 15:45:42 UTC (rev 4421)
@@ -1,4 +1,4 @@
-version 0.9.7 (not yet released)
+version 0.9.7 (svn revision 4421)
* fixed bug in drawlsmask for 'moll','robin' and 'sinu'
  projections.
* added lake_color keyword to fillcontinents.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib: [4419] trunk/toolkits

2007-11-22 Thread jswhit
Revision: 4419
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4419&view=rev
Author:   jswhit
Date: 2007-11-22 07:42:50 -0800 (Thu, 22 Nov 2007)

Log Message:
---
rename old basemap

Added Paths:
---
trunk/toolkits/basemap-0.9.6.1/

Removed Paths:
-
trunk/toolkits/basemap/

Copied: trunk/toolkits/basemap-0.9.6.1 (from rev 4418, trunk/toolkits/basemap)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib: [4422] trunk/toolkits/basemap

2007-11-22 Thread jswhit
Revision: 4422
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4422&view=rev
Author:   jswhit
Date: 2007-11-22 08:17:03 -0800 (Thu, 22 Nov 2007)

Log Message:
---
fix quiver_demo

Modified Paths:
--
trunk/toolkits/basemap/Changelog
trunk/toolkits/basemap/examples/quiver_demo.py

Modified: trunk/toolkits/basemap/Changelog
===
--- trunk/toolkits/basemap/Changelog2007-11-22 15:45:42 UTC (rev 4421)
+++ trunk/toolkits/basemap/Changelog2007-11-22 16:17:03 UTC (rev 4422)
@@ -1,4 +1,4 @@
-version 0.9.7 (svn revision 4421)
+version 0.9.7 (svn revision 4422)
* fixed bug in drawlsmask for 'moll','robin' and 'sinu'
  projections.
* added lake_color keyword to fillcontinents.

Modified: trunk/toolkits/basemap/examples/quiver_demo.py
===
--- trunk/toolkits/basemap/examples/quiver_demo.py  2007-11-22 15:45:42 UTC 
(rev 4421)
+++ trunk/toolkits/basemap/examples/quiver_demo.py  2007-11-22 16:17:03 UTC 
(rev 4422)
@@ -1,6 +1,7 @@
 from matplotlib.toolkits.basemap import Basemap
-from pylab import show, title, arange, meshgrid, cm, figure, sqrt, \
-  colorbar, axes, gca, reshape, array, Float32, quiverkey
+import numpy
+from pylab import show, title, arange, meshgrid, cm, figure, \
+  colorbar, axes, gca, reshape, quiverkey
 
 # read in data.
 file = open('fcover.dat','r')
@@ -12,9 +13,9 @@
ul.append(float(l[0]))
vl.append(float(l[1]))
pl.append(float(l[2]))
-u = reshape(array(ul,Float32),(nlats,nlons))
-v = reshape(array(vl,Float32),(nlats,nlons))
-p = reshape(array(pl,Float32),(nlats,nlons))
+u = reshape(numpy.array(ul,numpy.float32),(nlats,nlons))
+v = reshape(numpy.array(vl,numpy.float32),(nlats,nlons))
+p = reshape(numpy.array(pl,numpy.float32),(nlats,nlons))
 lats1 = -90.+dellat*arange(nlats)
 lons1 = -180.+dellon*arange(nlons)
 lons, lats = meshgrid(lons1, lats1)
@@ -61,7 +62,7 @@
 # and interpolation).
 nxv = 41; nyv = 41
 nxp = 101; nyp = 101
-spd = sqrt(u**2+v**2)
+spd = numpy.sqrt(u**2+v**2)
 udat, vdat, xv, yv = m.transform_vector(u,v,lons1,lats1,nxv,nyv,returnxy=True)
 pdat, xp, yp = m.transform_scalar(p,lons1,lats1,nxp,nyp,returnxy=True)
 # create a figure, add an axes.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib: [4423] trunk/py4science/classes/0712_ncar_agenda. txt

2007-11-22 Thread fer_perez
Revision: 4423
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4423&view=rev
Author:   fer_perez
Date: 2007-11-22 11:37:56 -0800 (Thu, 22 Nov 2007)

Log Message:
---
Add agenda file for December 07 workshop at NCAR

Added Paths:
---
trunk/py4science/classes/0712_ncar_agenda.txt

Added: trunk/py4science/classes/0712_ncar_agenda.txt
===
--- trunk/py4science/classes/0712_ncar_agenda.txt   
(rev 0)
+++ trunk/py4science/classes/0712_ncar_agenda.txt   2007-11-22 19:37:56 UTC 
(rev 4423)
@@ -0,0 +1,142 @@
+===
+ Practical Scientific Computing in Python - Agenda
+===
+
+Initials indicate who presents what:
+
+JDH - John D. Hunter
+FP  - Fernando Perez
+JW  - Jeff Whitaker
+
+
+Day 1 (Friday December 7)
+=
+
+830-900 Installation
+This half hour will be spent helping with installation issues, before the
+real workshop begins.  If you've already set things up on your system
+(meaning you have ipython, numpy, matplotlib and scipy installed and
+running), feel free to skip this.
+
+900-905 Introduction 
+Official start of the workshop, introduce instructors.
+
+905-945 FP: Python for scientific computing
+A high-level overview of the topic of Python in a scientific context.
+
+950-1045 JDH: Workflow.
+
+Editor: (X)Emacs, Vi(m), etc.
+
+ipython.  Saving and reloading files, interactive use of variables, %run,
+%debug, %xmode verbose.
+
+Getting help:
+  - pydoc (-g, -p)
+
+  - The standard docs (bookmark them)
+
+  - ipython ?/??, help(), the tab key.  numpy.*cos*? search.
+
+  - The open source process: mailing lists, wikis, svn.  Python
+  cookbook. Participate!
+
+
+Basic setup:
+  - ipython
+  - matplotlib (latex, etc).
+  - Modules: import/reload, PYTHONPATH.
+
+
+1045:1100 --- Coffee break ---
+
+
+1100:1215 FP: Introductory examples.
+
+* Qsort: lists, recursion.
+
+* Define a simple function: Wallis' product for pi.  Illustrates arbitrary
+size integers.
+
+* Define a trapezoid rule integrator: function objects, arrays.
+
+1215:1315 --- Lunch Break ---
+
+1315:1400 JDH: Basic numpy/pylab
+
+* Record arrays
+
+* Timeseries
+
+1400:1430 FP: Numerical integration and root finding: Find t such that
+
+ \int_0^t{ f(s) ds} = u
+
+for a known, monotonically increasing f(s) and a fixed u.
+
+
+1430:1500 FP: Univariate polynomials, root finding: poly1d objects,
+convolutions, plotting.
+
+1500:1515 --- Coffee break ---
+
+1515:1700: JDH/FP - Optional material (there's a Christmas party)
+
+* Word frequencies: use of dictionaries and text processing.
+
+* Getbibtex: fetching bibliographic information from the net (networking,
+  regular expressions, command-line scripting).
+
+* Beautiful soup: screen-scraping HTML for data extraction.
+
+* Possible 3d demos (not user exercises) using VPython and VTK/MayaVi.
+
+
+Day 2 (Saturday December 8)
+===
+
+900:945 JDH: Data fitting/smoothing: least squares, cubic splines, polynomial
+fitting.  Basic linear algebra.
+
+945:1030 FP: FFTs: 2-d image denoising via FFT.
+
+1030:1045 --- Coffee break ---
+
+1045:1130 JDH: Logistic map
+
+1130:1200 FP: Bessel functions: special functions library, array manipulations
+to check recursion relation.
+
+1200:1300 --- Lunch break ---
+
+1300:1345 JDH: Statistics & distributions
+
+1345:1445 FP:
+
+* Montecarlo integration to compute pi.
+
+* Speed: weave.blitz, weave.inline.
+
+1445:1500 Wrapup, discussion, questions, coffee.
+
+
+
+Unused examples and exercises, extra ideas
+==
+
+* Prime numbers: the Sieve of Erathostenes.  Illustrates lists and sets.
+
+* Visual (VPython): Show some examples, explain.  Target shooting exercise.
+
+* Eigenfaces problem, part 1.
+
+* Eigenfaces problem, part 2.
+
+* One-dimensional FFT - Bode plot.
+
+* Spectral interpolation.
+
+* Steinman interpolation.
+
+* Extended precision root finding: manually implement newton's method using
+  clnum or mpfr.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins