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

This toolbox facilitate graph constructions and give tools to perform signal processing on them.

A whole list of preconstructed graphs can be used as well as core functions to create any other graph among which:

- Neighest Neighbor Graphs
  - Bunny
  - Cube
  - Sphere
  - TwoMoons
- Airfoil
- Comet
- Community
- DavidSensorNet
- ErdosRenyi
- FullConnected
- Grid2d
- Logo GSP
- LowStretchTree
- Minnesota
- Path
- RandomRegular
- RandomRing
- Ring
- Sensor
- StochasticBlockModel
- Swiss roll
- Torus

On these graphs, filters can be applied to do signal processing. To this end, there is also a list of predefined filters on this toolbox:

- Abspline
- Expwin
- Gabor
- HalfCosine
- Heat
- Held
- Itersine
- MexicanHat
- Meyer
- Papadakis
- Regular
- Simoncelli
- SimpleTf

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:

$ pip install pygsp

This installation requires numpy and scipy. If you don’t have them installed already, pip installing pygsp will try to install them for you. Note that these two mathematical libraries requires additional system packages.

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

Then, try again to install the pygsp:

$ pip install pygsp

Plotting

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

Instructions and requirements to install pyqtgraph can be found at http://www.pyqtgraph.org/.

Testing

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

$ python setup.py test

Authors

Acknowledgment

This project has been partly funded by the Swiss National Science Foundation under grant 200021_154350 “Towards Signal Processing on Graphs”.

Project details


Download files

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

Source Distributions

PyGSP-0.3.3.tar.gz (1.8 MB view details)

Uploaded Source

PyGSP-0.3.2.tar.gz (1.8 MB view details)

Uploaded Source

PyGSP-0.3.1.tar.gz (55.3 kB view details)

Uploaded Source

Built Distributions

PyGSP-0.3.3-py2.py3-none-any.whl (1.8 MB view details)

Uploaded Python 2Python 3

PyGSP-0.3.2-py2.py3-none-any.whl (1.8 MB view details)

Uploaded Python 2Python 3

PyGSP-0.3.1-py2.py3-none-any.whl (87.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file PyGSP-0.3.3.tar.gz.

File metadata

  • Download URL: PyGSP-0.3.3.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyGSP-0.3.3.tar.gz
Algorithm Hash digest
SHA256 1e21834fb28ce977e0015f7a77d56bfe3685bf343c4408b879e0c356a2446ac6
MD5 ba503d6f5bd27505a0c9ad8f4557531b
BLAKE2b-256 f1a632595b72760be6c67c8a2b753c530512b274ceba94627a58e9ce63c526c7

See more details on using hashes here.

File details

Details for the file PyGSP-0.3.2.tar.gz.

File metadata

  • Download URL: PyGSP-0.3.2.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyGSP-0.3.2.tar.gz
Algorithm Hash digest
SHA256 1eeaea2494c84d47b053595e595d213696fa239efed13e832d1c0a41a631836f
MD5 d0d83beb2da0f8dbf1da4eec03d68943
BLAKE2b-256 6943ea81292c2d49577e1c7686cccaaffea5f61e9a6fb45038208dd6071706f9

See more details on using hashes here.

File details

Details for the file PyGSP-0.3.1.tar.gz.

File metadata

  • Download URL: PyGSP-0.3.1.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyGSP-0.3.1.tar.gz
Algorithm Hash digest
SHA256 03c4c546b45845232cb48883482fa17239fd4e34f172221299f5e286ef52cde3
MD5 a96c9c4945e57ef3e67d4ca19501b516
BLAKE2b-256 8f3a8e30e259f3dc0cea60104c200570e105e3b2d46548284174258f95e69c42

See more details on using hashes here.

File details

Details for the file PyGSP-0.3.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for PyGSP-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8eca94b7bb3526f908ea65d946289b932f0394a320a9c2ae57016757c7847f4e
MD5 7f0b8bec18df70e33b4653a150c53fe9
BLAKE2b-256 fb5e5d45563e4f155e04e964f76e5979621f2f37f83f7d4fb3e60e5b66b2a9ad

See more details on using hashes here.

File details

Details for the file PyGSP-0.3.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for PyGSP-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 06553bf5fa72aefd2fe1a4b0299e570146d83613067eab3906c89efb872e6f42
MD5 d1db32961dee9a21dc06e6d1a4ac2b72
BLAKE2b-256 4becbcfea264c196f28fa4b7fff30c40f86e4e73318c929b4afcfd6d1bafaba2

See more details on using hashes here.

File details

Details for the file PyGSP-0.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for PyGSP-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a52851ad487c5d086d6e986089fbf0753cd32d22af75dc8530416a753e7bc573
MD5 da2995e1538af61829fbf49e96c61a62
BLAKE2b-256 78a046802f1217cd3fb226dc9986f1f0aabd14cdbe111752d9276ee75223ab4c

See more details on using hashes here.

Supported by

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