Skip to main content
https://matthieumeo.github.io/pycsou/html/_images/pycsou.png https://zenodo.org/badge/277582581.svg

Pycsou-gsp is the graph signal processing extension of the Python 3 package Pycsou for solving linear inverse problems. The extension offers implementations of graph convolution and differential operators, compatible with Pycsou’s interface for linear operators. Such tools can be useful when solving linear inverse problems involving signals defined on non Euclidean discrete manifolds.

Graphs in Pycsou-gsp are instances from the class pygsp.graphs.Graph from the pygsp library for graph signal processing with Python.

Content

The package, named pycgsp, is organised as follows:

  1. The subpackage pycgsp.linop implements the following common graph linear operators:

    • Graph convolution operators: GraphConvolution

    • Graph differential operators: GraphLaplacian, GraphGradient, GeneralisedGraphLaplacian.

  2. The subpackage pycgsp.tesselation provides routines for generating graphs from discrete tessellations of continuous manifolds such as the sphere.

Installation

Pycsou-gsp requires Python 3.6 or greater. It is developed and tested on x86_64 systems running MacOS and Linux.

Dependencies

Before installing Pycsou-gsp, make sure that the base package Pycsou is correctly installed on your machine. Installation instructions for Pycsou are available at that link.

The package extra dependencies are listed in the files requirements.txt and requirements-conda.txt. It is recommended to install those extra dependencies using Miniconda or Anaconda. This is not just a pure stylistic choice but comes with some hidden advantages, such as the linking to Intel MKL library (a highly optimized BLAS library created by Intel).

>> conda install --channel=conda-forge --file=requirements-conda.txt

Quick Install

Pycsou-gsp is also available on Pypi. You can hence install it very simply via the command:

>> pip install pycsou-gsp

If you have previously activated your conda environment pip will install Pycsou in said environment. Otherwise it will install it in your base environment together with the various dependencies obtained from the file requirements.txt.

Developer Install

It is also possible to install Pycsou-gsp from the source for developers:

>> git clone https://github.com/matthieumeo/pycsou-gsp
>> cd <repository_dir>/
>> pip install -e .

The package documentation can be generated with:

>> conda install sphinx=='2.1.*'            \
                 sphinx_rtd_theme=='0.4.*'
>> python3 setup.py build_sphinx

You can verify that the installation was successful by running the package doctests:

>> python3 test.py

Cite

For citing this package, please see: http://doi.org/10.5281/zenodo.4486431

Metadata

Release files for pycgsp 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycgsp 1.0.3
File Size Uploaded Provenance Actions
pycgsp-1.0.3.tar.gz 749.1 kB Without provenance Details for pycgsp-1.0.3.tar.gz

Release files / pycgsp-1.0.3.tar.gz

Download URL pycgsp-1.0.3.tar.gz
Size 749.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb0de66cb1142e4383e12ad19a17afc7c01f9fe0e706062ecc13c701a6c23b7d
BLAKE2b-256 checksum
How to use checksums
9713ea537b7462b2ec13aa287578d4129203db29a697895d4be9f0e52ef9851d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.13

Security for pycgsp 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page