Metadata-Version: 2.5
Name: pyrsr
Version: 0.8.0
Summary: A package providing relative spectral response functions for remote sensing instruments.
Project-URL: Source code, https://git.gfz.de/geomultisens/pyrsr
Project-URL: Issue Tracker, https://git.gfz.de/geomultisens/pyrsr/-/work_items
Project-URL: Documentation, https://geomultisens.git-pages.gfz-potsdam.de/pyrsr/doc/
Project-URL: Change log, https://git.gfz.de/geomultisens/pyrsr/-/blob/main/HISTORY.rst
Author-email: Daniel Scheffler <daniel.scheffler@gfz.de>
Maintainer-email: Daniel Scheffler <daniel.scheffler@gfz.de>
License-Expression: Apache-2.0
License-File: AUTHORS.rst
License-File: LICENSE
Keywords: pyrsr,relative spectral response,remote sensing,sensors
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: scipy
Provides-Extra: dev
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: pycodestyle; extra == 'dev'
Requires-Dist: pydocstyle; extra == 'dev'
Requires-Dist: pylint; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: pytest-reporter-html1>=0.9.5; extra == 'dev'
Requires-Dist: sphinx; extra == 'dev'
Requires-Dist: sphinx-argparse; extra == 'dev'
Requires-Dist: sphinx-autodoc-typehints; extra == 'dev'
Requires-Dist: sphinx-rtd-theme; extra == 'dev'
Requires-Dist: urlchecker; extra == 'dev'
Provides-Extra: doc
Requires-Dist: sphinx; extra == 'doc'
Requires-Dist: sphinx-argparse; extra == 'doc'
Requires-Dist: sphinx-autodoc-typehints; extra == 'doc'
Requires-Dist: sphinx-rtd-theme; extra == 'doc'
Provides-Extra: lint
Requires-Dist: flake8; extra == 'lint'
Requires-Dist: pycodestyle; extra == 'lint'
Requires-Dist: pydocstyle; extra == 'lint'
Requires-Dist: pylint; extra == 'lint'
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-reporter-html1>=0.9.5; extra == 'test'
Requires-Dist: urlchecker; extra == 'test'
Description-Content-Type: text/x-rst

=====
pyrsr
=====

A package providing relative spectral response functions for remote sensing instruments.

* Free software: Apache-2.0
* Documentation: https://geomultisens.git-pages.gfz-potsdam.de/pyrsr/doc/
* Submit feedback by filing an issue `here <https://git.gfz.de/geomultisens/pyrsr/work_items>`__.


Status
------

.. image:: https://git.gfz.de/geomultisens/pyrsr/badges/main/pipeline.svg
        :target: https://git.gfz.de/geomultisens/pyrsr/commits/main
.. image:: https://git.gfz.de/geomultisens/pyrsr/badges/main/coverage.svg
        :target: https://geomultisens.git-pages.gfz-potsdam.de/pyrsr/coverage/
.. image:: https://img.shields.io/pypi/v/pyrsr.svg
        :target: https://pypi.python.org/pypi/pyrsr
.. image:: https://img.shields.io/pypi/l/pyrsr.svg
        :target: https://git.gfz.de/geomultisens/pyrsr/blob/main/LICENSE
.. image:: https://img.shields.io/pypi/pyversions/pyrsr.svg
        :target: https://img.shields.io/pypi/pyversions/pyrsr.svg
.. image:: https://img.shields.io/pypi/dm/pyrsr.svg
        :target: https://pypi.python.org/pypi/pyrsr

See also the latest coverage_ report and the pytest_ HTML report.


Features
--------

Quick usage example for getting the spectral response functions of Sentinel-2A:

.. code-block::

    >>> from pyrsr import RelativeSpectralResponse
    >>> RSR = RelativeSpectralResponse(satellite='Sentinel-2A', sensor='MSI')
    >>> RSR.plot_rsrs()

.. image:: https://git.gfz.de/geomultisens/pyrsr/raw/main/docs/images/S2A_RSRs.png

.. code-block::

    >>> RSR.rsrs

    {'1': array([ 0.0001003 ,  0.00023005,  0.00020481, ...,  0.        ,
                  0.        ,  0.        ]),
     '2': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '3': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '4': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '5': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '6': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '7': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '8': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '8A': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '9': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '10': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '11': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
     '12': array([ 0.00000000e+00,   0.00000000e+00,   0.00000000e+00, ...,
                   4.06617574e-05,   2.94133865e-05,   1.28975620e-05])}


List of supported sensors:

* Terra ASTER
* Landsat-4 TM
* Landsat-5 TM
* Landsat-7 ETM+
* Landsat-8 OLI_TIRS
* Aqua MODIS
* Terra MODIS
* RapidEye-5 MSI
* Sentinel-2A MSI
* Sentinel-2B MSI
* SPOT-1 HRV1
* SPOT-1 HRV2
* SPOT-2 HRV1
* SPOT-2 HRV2
* SPOT-3 HRV1
* SPOT-3 HRV2
* SPOT-4 HRVIR1
* SPOT-4 HRVIR2
* SPOT-5 HRG1
* SPOT-5 HRG2


Credits
-------

The pyrsr package was developed within the context of the GeoMultiSens project funded
by the German Federal Ministry of Education and Research (project grant code: 01 IS 14 010 A-C).

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _coverage: https://geomultisens.git-pages.gfz-potsdam.de/pyrsr/coverage/
.. _pytest: https://geomultisens.git-pages.gfz-potsdam.de/pyrsr/test_reports/report.html
