|CI|_ |Codecov|_ |Python36|_ |Python37|_ |Python38|_ |Python39|_ |PyPi|_ |Doc|_ |Docker|_
.. |CI| image:: https://github.com/CEA-COSMIC/pysap/workflows/CI/badge.svg .. _CI: https://github.com/CEA-COSMIC/pysap/actions?query=workflow%3ACI
.. |Codecov| image:: https://codecov.io/gh/CEA-COSMIC/pysap/branch/master/graph/badge.svg?token=XHJIQXV7AX .. _Codecov: https://codecov.io/gh/CEA-COSMIC/pysap
.. |Python36| image:: https://img.shields.io/badge/python-3.6-blue.svg .. _Python36: https://badge.fury.io/py/python-pySAP
.. |Python37| image:: https://img.shields.io/badge/python-3.7-blue.svg .. _Python37: https://badge.fury.io/py/python-pySAP
.. |Python38| image:: https://img.shields.io/badge/python-3.8-blue.svg .. _Python38: https://badge.fury.io/py/python-pySAP
.. |Python39| image:: https://img.shields.io/badge/python-3.9-blue.svg .. _Python39: https://badge.fury.io/py/python-pySAP
.. |PyPi| image:: https://badge.fury.io/py/python-pySAP.svg .. _PyPi: https://badge.fury.io/py/python-pySAP
.. |Doc| image:: https://readthedocs.org/projects/python-pysap/badge/?version=latest .. _Doc: https://python-pysap.readthedocs.io/en/latest/?badge=latest
.. |Docker| image:: https://img.shields.io/docker/cloud/build/ceacosmic/pysap .. _Docker: https://hub.docker.com/r/ceacosmic/pysap
PySAP (Python Sparse data Analysis Package) is a Python module for sparse data analysis that offers:
.. |link-to-sparse2d| raw:: html
.. raw:: html
This package is the result of the |link-to-cosmic| project, which is a collaboration between the CEA Neurospin UNATI and CEA CosmoStat laboratories.
.. |link-to-cosmic| raw:: html
PySAP will automatically install all of the required dependencies, however issues may arise on some operating systems. If you encounter any problems please ensure that you have all of the following dependencies installed before opening a new issue.
.. |link-to-modopt| raw:: html
PySAP currently supports the following plug-ins:
.. |link-to-pysap-astro| raw:: html
.. |link-to-pysap-mri| raw:: html
The installation of PySAP has been extensively tested on Ubuntu and macOS, however we cannot guarantee it will work on every operating system (e.g. Windows). A Docker image is available (see below) for those unable to install PySAP directly.
If you encounter any installation issues be sure to go through the following steps before opening a new issue:
Further instructions are available |link-to-install|.
.. |link-to-install| raw:: html
To install PySAP simply run:
.. code-block:: bash
$ pip install python-pysap
Depending on your Python setup you may need to provide the --user option.
.. code-block:: bash
$ pip install --user python-pysap
To build PySAP locally, clone the repository:
.. code-block:: bash
$ git clone https://github.com/CEA-COSMIC/pysap.git
and run:
.. code-block:: bash
$ python setup.py install
or:
.. code-block:: bash
$ python setup.py develop
As before, use the --user option if needed.
A a conda environment.yml file is provided to facilitate the installation of
the required PySAP dependencies along with some optional dependencies that
provide additional features. To build the environment run:
.. code-block:: bash
$ conda env create -f environment.yml
Then to activate the environment run:
.. code-block:: bash
$ conda activate pysap
Finally, install PySAP following the instructions above.
A PySAP Docker image is available via DockerHub that includes the latest stable version of PySAP pre-installed. To install the image run:
.. code-block:: bash
$ docker pull ceacosmic/pysap
A Jupyter notebook can be launched using the Docker image as a backend and with access to the users current working directory as follows:
.. code-block:: bash
$ docker run -p 8888:8888 -v ${PWD}:/home ceacosmic/pysap
Help with installation on macOS is available here_.
.. _here: ./doc/macos_install.rst
Please refer to the |link-to-pyqt| for issues regarding the installation of
pyqtgraph.
.. |link-to-pyqt| raw:: html
If you want to contribute to pySAP, be sure to review the contribution guidelines_ and follow to the code of conduct_.
.. _contribution guidelines: ./CONTRIBUTING.md
.. _code of conduct: ./CODE_OF_CONDUCT.md
If you use PySAP in a scientific publication, we would appreciate citations to the following paper: |link-to-paper|
.. |link-to-paper| raw:: html
<a href="https://www.sciencedirect.com/science/article/pii/S2213133720300561 "target="_blank"> PySAP: Python Sparse Data Analysis Package for multidisciplinary image processing, S. Farrens et al., Astronomy and Computing 32, 2020
The bibtex citation is the following: k:: @Article{farrens2020pysap, title={{PySAP: Python Sparse Data Analysis Package for multidisciplinary image processing}}, author={Farrens, S and Grigis, A and El Gueddari, L and Ramzi, Z and Chaithya, GR and Starck, S and Sarthou, B and Cherkaoui, H and Ciuciu, P and Starck, J-L}, journal={Astronomy and Computing}, volume={32}, pages={100402}, year={2020}, publisher={Elsevier} }
Content type
Image
Digest
Size
1.5 GB
Last updated
about 5 years ago
docker pull ceacosmic/pysap