/pyCurvelet

Primary LanguagePythonMIT LicenseMIT

PyCurvelab - Python Wrappers for CurveLab

The software allows to compute Curvelet Transforms from Python.

This software is release under MIT license.

Python compatibility:

  • Master branch holds experimental Python 3 version.
  • Last Python 2 version is in branch python2.

Pre-requisites:

  1. Python -> version 2.3 or above -> http://www.python.org

  2. SWIG -> version 1.3 or above -> http://www.swig.org

  3. Numpy -> module must be available in your PYTHONPATH environment variable in order to be found by -> version 1.0 or above -> http://numpy.scipy.org/

  4. CurveLab -> version 2.0.2 or above -> http://www.curvelet.org


Installation:

  1. Clone this repsitory.

  2. Set these required environment variables:

    • FDCT: folder where your CurveLab installation is
    • FFTW: folder where your fftw installation is
  3. In the PyCurvelab folder, run the following command:

    • python setup.py build install
    • the package will be installed as pyct module
  4. In python, simply "import pyct" and you're off

  5. To see how to use, type "help(pyct.fdct2)" or "help(pyct.fdct3)"


setup.py uses python's distutils, which offers many options for a customized installation. run "python setup.py install --help" for more information


Original Authors

This software was written by Darren Thomson and Gilles Hennenfent from SLIM group at University of British Columbia.

Address

SLIM Software Administrator (slimincloud@gmail.com)
Seismic Laboratory for Imaging and Modeling
Dept. of Earth, Ocean, and Atmospheric Sciences
The University of British Columbia