[python-dtcwt] 219/497: use the expected phase rotations as given in cpxinterp2b

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:07 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 f984e574834e07c2a48219a7f4c350e9e1e07460
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Wed Dec 4 15:26:24 2013 +0000

    use the expected phase rotations as given in cpxinterp2b
    
    The expected phase rotations are reduced a little bit from the notional
    pi/2 rotations. See cpxinter2b.m in the DTCWT keypoints toolbox for a
    rationale.
---
 dtcwt/sampling.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dtcwt/sampling.py b/dtcwt/sampling.py
index 8816a94..ee5a559 100644
--- a/dtcwt/sampling.py
+++ b/dtcwt/sampling.py
@@ -12,8 +12,8 @@ from dtcwt.utils import reflect, asfarray
 
 import numpy as np
 
-_W0 = -3*np.pi/2.0
-_W1 = -np.pi/2.0
+_W0 = -3*np.pi/2.15
+_W1 = -np.pi/2.15
 
 #: The expected phase advances in the x-direction for each subband of the 2D transform
 DTHETA_DX_2D = np.array((_W1, _W0, _W0, _W0, _W0, _W1))

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