[python-dtcwt] 406/497: fix references to dtcwt.dtwave{i, x}fm{1, 2, 3}

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:33 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 60324d11d313759547921717bdf1a5dfb76707c5
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Mon Feb 10 19:35:15 2014 +0000

    fix references to dtcwt.dtwave{i,x}fm{1,2,3}
---
 dtcwt/opencl/transform3d.py                  | 2 +-
 examples/resampling_highpass_coefficients.py | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dtcwt/opencl/transform3d.py b/dtcwt/opencl/transform3d.py
index cd7515e..09c0afe 100644
--- a/dtcwt/opencl/transform3d.py
+++ b/dtcwt/opencl/transform3d.py
@@ -24,7 +24,7 @@ class Transform3d(Transform3dNumPy):
     """
     An implementation of the 3D DT-CWT via OpenCL. *biort* and *qshift* are the
     wavelets which parameterise the transform. Valid values are documented in
-    :py:func:`dtcwt.dtwavexfm2`.
+    :py:func:`dtcwt.coeffs.biort` and :py:func:`dtcwt.coeffs.qshift`.
 
     If *queue* is non-*None* it is an instance of
     :py:class:`pyopencl.CommandQueue` which is used to compile and execute the
diff --git a/examples/resampling_highpass_coefficients.py b/examples/resampling_highpass_coefficients.py
index d3b0747..36c7e8e 100644
--- a/examples/resampling_highpass_coefficients.py
+++ b/examples/resampling_highpass_coefficients.py
@@ -5,6 +5,7 @@
 import os
 
 import dtcwt
+import dtcwt.compat
 import dtcwt.sampling
 
 # Use an off-screen backend for matplotlib
@@ -41,7 +42,7 @@ def scale_highpass(im):
 lena_direct = scale_direct(lena)
 
 # Transform lena
-lena_l, lena_h = dtcwt.dtwavexfm2(lena, nlevels=4)
+lena_l, lena_h = dtcwt.compat.dtwavexfm2(lena, nlevels=4)
 
 # Re-scale each component and transform back. Do this both with and without
 # shifting back to DC.
@@ -53,8 +54,8 @@ for h in lena_h:
     lena_h_b.append(scale_highpass(h))
 
 # Transform back
-lena_a = dtcwt.dtwaveifm2(lena_l, lena_h_a)
-lena_b = dtcwt.dtwaveifm2(lena_l, lena_h_b)
+lena_a = dtcwt.compat.dtwaveifm2(lena_l, lena_h_a)
+lena_b = dtcwt.compat.dtwaveifm2(lena_l, lena_h_b)
 
 figure(figsize=(10,10))
 

-- 
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