[python-dtcwt] 342/497: move numpy registration implementation to top-level module
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:24 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 979f7e586a07e76b260b1907e04d6c6ecaca4fcd
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date: Thu Feb 6 23:31:00 2014 +0000
move numpy registration implementation to top-level module
Until there is actually an OpenCL implementation, keep it simple,
stupid.
---
.../numpybackend.py => registration.py} | 8 ++++++--
dtcwt/registration/__init__.py | 22 ----------------------
2 files changed, 6 insertions(+), 24 deletions(-)
diff --git a/dtcwt/registration/numpybackend.py b/dtcwt/registration.py
similarity index 98%
rename from dtcwt/registration/numpybackend.py
rename to dtcwt/registration.py
index 662f09c..fb5ce62 100644
--- a/dtcwt/registration/numpybackend.py
+++ b/dtcwt/registration.py
@@ -1,8 +1,12 @@
"""
-NumPy implementation of image registration
+.. note::
+ This module is experimental. It's API may change between versions.
-"""
+This module implements function for DTCWT-based image registration as outlined in
+`[1] <http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5936113>`_.
+These functions are 2D-only for the moment.
+"""
from __future__ import division, absolute_import
import itertools
diff --git a/dtcwt/registration/__init__.py b/dtcwt/registration/__init__.py
deleted file mode 100644
index b45c48c..0000000
--- a/dtcwt/registration/__init__.py
+++ /dev/null
@@ -1,22 +0,0 @@
-"""
-.. note::
- This module is experimental. It's API may change between versions.
-
-This module implements function for DTCWT-based image registration as outlined in
-`[1] <http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5936113>`_.
-These functions are 2D-only for the moment.
-
-The functions in the top-level :py:mod:`dtcwt.registration` module are imported
-as a convenience from :py:mod:`dtcwt.numpybackend`. You could also import
-:py:mod:`dtcwt.numpybackend` directly to explicitly select backend.
-
-"""
-
-from .numpybackend import *
-
-__all__ = [
- 'estimatereg',
- 'velocityfield',
- 'warp',
- 'warptransform',
-]
--
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