Skip to main content

A plenoptic processing library for Python.

Project description

plenpy - A plenoptic processing library for Python.

build status coverage report

This is a Python package to calibrate, process and analyse (hyperspectral) lightfield images as well as (hyper)spectral images from either real cameras (e.g. Lytro) or synthetic/rendered images.

Note: The package is still undergoing API altering changes with each minor release.

License and Usage

This software is licensed under the GNU GPLv3 license (see below).

If you use this software in your scientific research, please cite

Not Yet Available, please check back later :)

Quick Start

For a quick tryout, you can use our latest Docker Image. Have a look at our Documentation for some basic examples.

Installation

You can install plenpy directly from PyPi via pip:

$ pip install plenpy

That's it!

Dependencies

Plenpy requires python >= 3.6 as it relies on Python syntax that has been introduced in Python 3.6 such as f-strings or type hinting.

The package dependencies are listed in the requirements.txt file and are resolved automatically upon installation using pip

Furthermore, testing requires the pytest library and the pytest-cov library for coverage report.

Manual Installation on Linux / Unix / macOS

If you want to install from source, the installation using make is straightforward and installs plenpy and its runtime dependencies automatically.

Caution: A system wide installation using sudo is easy and possible but discouraged. Installing in a environment is recommended.

To install plenpy, first clone the project's git repository to a location of your desire and change directory to the project:

$ cd <myFolder>
$ git clone git@git.scc.kit.edu:schambach/plenpy.git
$ cd plenpy

Then, install the library via:

$ make

Or, to have an editable install of plenpy, using

$ make editable

If no errors occur, we can check if the installation was successful by running the unit tests:

$ make test

That's it! The package should now be available.


If make is not available on your system, the installation via pip is also straightforward. Instead of invoking make, install by calling

$ pip install -r requirements.txt .

Please note the . at the end, referring to the current folder <myFolder>/plenpy. You can manually run the tests using pytest:

$ pytest test/

Uninstallation

Uninstall plenpy using

$ pip uninstall plenpy

Documentation

The documentation can be found here.

You can also build the documentation yourself:

Dependencies and Building

The documentation is build using Sphinx. To install all necessary dependencies for the documentation, run

$ cd <plenpy-main-repository-folder>
$ make
$ pip install -r docs/requirements.txt
$ cd docs
$ sphinx-apidoc -f -o ./ ../plenpy/
$ make html

This will create the full plenpy documentation in the docs/_build/html folder.

Contribute

If you are interested in contributing to plenpy, feel free to create an issue or fork the project and submit a merge request. As this project is still undergoing restructuring and extension, help is always welcome!

For Programmers

Please stick to the PEP 8 Python coding styleguide.

The docstring coding style of the reStructuredText follows the googledoc style.

License

Copyright (C) 2018-2019 The Plenpy Authors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Project details


Download files

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

Source Distribution

plenpy-0.5.1.tar.gz (173.6 kB view details)

Uploaded Source

Built Distribution

plenpy-0.5.1-py3-none-any.whl (223.1 kB view details)

Uploaded Python 3

File details

Details for the file plenpy-0.5.1.tar.gz.

File metadata

  • Download URL: plenpy-0.5.1.tar.gz
  • Upload date:
  • Size: 173.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for plenpy-0.5.1.tar.gz
Algorithm Hash digest
SHA256 deb29c7227a3c0f21f72918c0d37c3d015f76d7c0a9650880cda331a2f2b5261
MD5 90d7d9a52137c2e84b94c1edd07ee90e
BLAKE2b-256 d8daf0867693677e55d0eed77377a1d3911ad7944c47636a451f7ce8e1d3ecd9

See more details on using hashes here.

File details

Details for the file plenpy-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: plenpy-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 223.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for plenpy-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3fee59141b6cfcba3afdcd14c4baa24594fbd615ca0f64d4808f9c79775efa4
MD5 14a8481de42265068a50459bd147ee52
BLAKE2b-256 67e26daeaee16070d3ad1b9ea1840a60a7f8ff69f66f8adb2070796da8f44c38

See more details on using hashes here.

Supported by

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