[python-dtcwt] 368/497: plotting: show level 5 in example plot to save PDF size

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit 60b4fd560cf9b5472c716e95435880951e1cc52c
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Fri Feb 7 15:23:47 2014 +0000

    plotting: show level 5 in example plot to save PDF size
---
 dtcwt/plotting.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dtcwt/plotting.py b/dtcwt/plotting.py
index b715ce1..b07da56 100644
--- a/dtcwt/plotting.py
+++ b/dtcwt/plotting.py
@@ -41,9 +41,9 @@ def overlay_quiver_DTCWT(image, vectorField, level, offset):
         lena = datasets.lena()
 
         transform2d = dtcwt.Transform2d()
-        lena_t = transform2d.forward(lena, nlevels=3)
+        lena_t = transform2d.forward(lena, nlevels=5)
 
-        plotting.overlay_quiver_DTCWT(lena*255, lena_t.highpasses[-1], 3, 0.5)
+        plotting.overlay_quiver_DTCWT(lena*255, lena_t.highpasses[-1], 5, 0.5)
 
     .. codeauthor:: R. Anderson, 2005 (MATLAB)
     .. codeauthor:: S. C. Forshaw, 2014 (Python)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list