File: reference.rst

package info (click to toggle)
python-dtcwt 0.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 8,404 kB
  • sloc: python: 6,253; sh: 29; makefile: 13
file content (96 lines) | stat: -rw-r--r-- 2,040 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
API Reference
=============

Main interface
``````````````

.. automodule:: dtcwt
    :members:

.. automodule:: dtcwt.coeffs
    :members:

Keypoint analysis
`````````````````

.. automodule:: dtcwt.keypoint
    :members:

Image sampling
``````````````

.. automodule:: dtcwt.sampling
    :members:

Image registration
``````````````````

.. automodule:: dtcwt.registration
    :members:

Plotting functions
``````````````````

.. automodule:: dtcwt.plotting
    :members:

Miscellaneous and low-level support functions
`````````````````````````````````````````````

.. automodule:: dtcwt.utils
    :members:

Compatibility with MATLAB
`````````````````````````

.. automodule:: dtcwt.compat
    :members:

Backends
````````

The following modules provide backend-specific implementations. Usually you
won't need to import these modules directly; the main API will use an
appropriate implementation. Occasionally, however, you may want to benchmark
one implementation against the other.

NumPy
'''''

.. automodule:: dtcwt.numpy
    :members:
    :inherited-members:

.. automodule:: dtcwt.numpy.lowlevel
    :members:

OpenCL
''''''

.. automodule:: dtcwt.opencl
    :members:
    :inherited-members:

.. automodule:: dtcwt.opencl.lowlevel
    :members:

.. _tensorflowbackend:

Tensorflow
''''''''''
Currently the Tensorflow backend only supports single precision operations, and
only has functionality for the Transform1d() and Transform2d() classes (i.e. 
changing the backend to 'tf' will still use the numpy Transform3d() class).

To preserve functionality, the Transform1d() and Transform2d() classes have
a `forward` method which behaves identically to the NumPy backend. However, to
get speedups with tensorflow, we want to feed our transform batches of images.
For this reason, the 1-D and 2-D transforms also have `forward_channels` and
`inverse_channels` methods. See the below documentation for how to use these.

.. automodule:: dtcwt.tf
    :members:
    :inherited-members:

.. automodule:: dtcwt.tf.lowlevel
    :members: