Skip to main content

The official Graph Signal Processing Toolbox

Project description

PyGSP is a Graph Signal Processing Toolbox implemented in Python. It is a port of the Matlab GSP toolbox.

https://img.shields.io/travis/epfl-lts2/pygsp.svg

Features

  • Graphs

    • Basic Graph structure

    • NNGraph

    • Bunny

    • Cube

    • Sphere

    • TwoMoons

    • Grid2d

    • Torus

    • Comet

    • LowStretchTree

    • RandomRegular

    • Ring

    • Community

    • Minnesota

    • Sensor

    • Airfoil

    • DavidSensorNet

    • FullConnected

    • Logo

    • Path

    • RandomRing

  • Filters

    • Basic Filter structure

    • Abspline

    • Expwin

    • HalfCosine

    • Itersine

    • MexicanHat

    • Meyer

    • SimpleTf

    • Papadakis

    • Regular

    • Simoncelli

    • Held

    • Heat

Installation

Ubuntu

The PyGSP module is available on PyPI, the Python Package Index. If you don’t have pip, install it.:

$ sudo apt-get install python-pip

Ideally, you should be able to install the PyGSP on your computer by simply entering the following command:

$ sudo pip install pygsp

Unfortunately, this command will most likely fail. For some reason, the install will generally fail when it’ll try to install requirements such as numpy and scipy. You’ll need to install them manually by doing so:

$ sudo pip install numpy
$ sudo pip install scipy

For a classic UNIX system, you will need python-dev(el) (or equivalent) installed as a system package as well as the fortran extension for your favorite compiler (gfortran for gcc). You will also need the blas/lapack implementation for your system. If you can’t install numpy or scipy, try installing the following and then install numpy and scipy:

$ sudo apt-get install python-dev liblapack-dev libatlas-dev gcc gfortran

If you want to use the plotting functionalities of the PyGSP, you have to install matplotlib or pygtgraph. For matplotlib, just do:

$ sudo apt-get python-matplotlib

Another way is to manually download from PyPI, unpack the package and install with:

$ python setup.py install

Execute the project test suite once to make sure you have a working install:

$ python setup.py test

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyGSP-0.2.0.tar.gz (48.9 kB view hashes)

Uploaded Source

Built Distribution

PyGSP-0.2.0-py2.py3-none-any.whl (73.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page