File: gettingstarted.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 (51 lines) | stat: -rw-r--r-- 1,521 bytes parent folder | download | duplicates (3)
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
Getting Started
===============

This library provides support for computing 1D, 2D and 3D dual-tree complex
wavelet transforms and their inverse in Python along with some signal
processing algorithms which make use of the DTCWT.

This section will guide you through using the ``dtcwt`` library.  See
:doc:`reference` for full details on the library's API.

Installation
------------

The easiest way to install ``dtcwt`` is via ``easy_install`` or ``pip``:

.. code-block:: console

    $ pip install dtcwt

If you want to check out the latest in-development version, look at
`the project's GitHub page <https://github.com/rjw57/dtcwt>`_. Once checked out,
installation is based on setuptools and follows the usual conventions for a
Python project:

.. code-block:: console

    $ python setup.py install

(Although the `develop` command may be more useful if you intend to perform any
significant modification to the library.) A test suite is provided so that you
may verify the code works on your system:

.. code-block:: console

    $ pip install -r tests/requirements.txt
    $ py.test

This will also write test-coverage information to the ``cover/`` directory.

Building the documentation
``````````````````````````

There is `a pre-built <https://dtcwt.readthedocs.org/>`_ version of this
documentation available online and you can build your own copy via the Sphinx
documentation system:

.. code-block:: console

    $ python setup.py build_sphinx

Compiled documentation may be found in ``build/docs/html/``.