From 8c7adf4fd2343fe7d25bb52ba18783339805314f Mon Sep 17 00:00:00 2001 From: Brendt Wohlberg Date: Mon, 29 Apr 2024 09:03:43 -0600 Subject: [PATCH] Remove rst version of readme --- README.rst | 159 ----------------------------------------------------- 1 file changed, 159 deletions(-) delete mode 100644 README.rst diff --git a/README.rst b/README.rst deleted file mode 100644 index e1e2485..0000000 --- a/README.rst +++ /dev/null @@ -1,159 +0,0 @@ -SParse Optimization Research COde (SPORCO) -========================================== - - -.. image:: https://img.shields.io/pypi/pyversions/sporco.svg - :target: https://github.com/bwohlberg/sporco - :alt: Supported Python Versions -.. image:: https://img.shields.io/github/license/bwohlberg/sporco.svg - :target: https://github.com/bwohlberg/sporco/blob/master/LICENSE - :alt: Package License -.. image:: https://readthedocs.org/projects/sporco/badge/?version=latest - :target: http://sporco.readthedocs.io/en/latest/?badge=latest - :alt: Documentation Status -.. image:: https://github.com/bwohlberg/sporco/actions/workflows/pytest.yml/badge.svg - :target: https://github.com/bwohlberg/sporco/actions/workflows/pytest.yml - :alt: Test status -.. image:: https://codecov.io/gh/bwohlberg/sporco/branch/master/graph/badge.svg - :target: https://codecov.io/gh/bwohlberg/sporco - :alt: Test Coverage - -.. image:: https://badge.fury.io/py/sporco.svg - :target: https://badge.fury.io/py/sporco - :alt: PyPi Release -.. image:: https://static.pepy.tech/personalized-badge/sporco?period=total&left_color=grey&right_color=brightgreen&left_text=downloads - :target: https://pepy.tech/project/sporco - :alt: PyPi Downloads - -.. image:: https://img.shields.io/conda/vn/conda-forge/sporco.svg - :target: https://anaconda.org/conda-forge/sporco - :alt: Conda Forge Release -.. image:: https://img.shields.io/conda/dn/conda-forge/sporco.svg - :target: https://anaconda.org/conda-forge/sporco - :alt: Conda Forge Downloads - -.. image:: http://mybinder.org/badge.svg - :target: https://mybinder.org/v2/gh/bwohlberg/sporco-notebooks/master?filepath=index.ipynb - :alt: Binder - -.. image:: https://img.shields.io/badge/DOI-10.25080%2Fshinma--7f4c6e7--001-blue.svg - :target: https://dx.doi.org/10.25080/shinma-7f4c6e7-001 - :alt: DOI - -| - - -SPORCO is a Python package for solving optimisation problems with sparsity-inducing regularisation. These consist primarily of sparse coding and dictionary learning problems, including convolutional sparse coding and dictionary learning, but there is also support for other problems such as Total Variation regularisation and Robust PCA. The optimisation algorithms in the current version are based on the Alternating Direction Method of Multipliers (ADMM) or on the Proximal Gradient Method (PGM). - -If you use this software for published work, please `cite it `__. - - -Documentation -------------- - -`Documentation `_ is available online, or can be built from the root directory of the source distribution by the command - -:: - - python setup.py build_sphinx - -in which case the HTML documentation can be found in the ``build/sphinx/html`` directory (the top-level document is ``index.html``). Although the SPORCO package itself is compatible with Python 3.x, building the documention requires Python 3.3 or later due to the use of `Jonga `_ to construct call graph images for the SPORCO optimisation class hierarchies. - - -An overview of the package design and functionality is also available in - - Brendt Wohlberg, `SPORCO: A Python package for standard and convolutional sparse representations `_, in Proceedings of the 15th Python in Science Conference, (Austin, TX, USA), doi:`10.25080/shinma-7f4c6e7-001 `_, pp. 1--8, Jul 2017 - - -Usage ------ - -Scripts illustrating usage of the package can be found in the ``examples`` directory of the source distribution. These examples can be run from the root directory of the package by, for example - -:: - - python examples/scripts/sc/bpdn.py - - -To run these scripts prior to installing the package it will be necessary to first set the ``PYTHONPATH`` environment variable to include the root directory of the package. For example, in a ``bash`` shell - -:: - - export PYTHONPATH=$PYTHONPATH:`pwd` - - -from the root directory of the package. - - -`Jupyter Notebook `_ examples are also `available `_. These examples can be viewed online via `nbviewer `_, or run interactively at `binder `_. - - - -Requirements ------------- - -The primary requirements are Python itself, and modules `future `__, `numpy `__, `scipy `__, `imageio `__, `pyfftw `__, and `matplotlib `__. Module `numexpr `__ is not required, but some functions will be faster if it is installed. If module `mpldatacursor `__ is installed, functions ``plot.plot``, ``plot.contour``, and ``plot.imview`` will support the data cursor that it provides. - -Instructions for installing these requirements are provided in the `Requirements `__ section of the package documentation. - - -Installation ------------- - -To install the most recent release of SPORCO from `PyPI `__ do - -:: - - pip install sporco - - -The `development version `__ on GitHub can be installed by doing - -:: - - pip install git+https://github.com/bwohlberg/sporco - -or by doing - -:: - - git clone https://github.com/bwohlberg/sporco.git - -followed by - -:: - - cd sporco - python setup.py build - python setup.py install - -The install commands will usually have to be performed with root privileges. - - -SPORCO can also be installed as a `conda `__ package from the `conda-forge `__ channel - -:: - - conda install -c conda-forge sporco - - - -A summary of the most significant changes between SPORCO releases can be found in the ``CHANGES.rst`` file. It is strongly recommended to consult this summary when updating from a previous version. - - -Extensions ----------- - -Some additional components of SPORCO are made available in separate repositories: - -* `SPORCO-CUDA `__: GPU-accelerated versions of selected convolutional sparse coding algorithms - -* `SPORCO Notebooks `__: Jupyter Notebook versions of the example scripts distributed with SPORCO - -* `SPORCO Extra `__: Additional examples, data, and contributed code - - -License -------- - -SPORCO is distributed as open-source software under a BSD 3-Clause License (see the ``LICENSE`` file for details).