Skip to main content

pyplis is a Python toolbox for the analysis of UV SO2 camera data. It includes a large collection of routines for the analysis of such data, for instance:

  1. Several routines for plume background estimation

  2. Automatic cell calibration

  3. DOAS calibration routine including two methods to identify the field of view of a DOAS instrument within the camera images

  4. Plume velocity retrieval either using an optical flow analysis or using signal cross correlation

  5. Detailed analysis of the measurement geometry including automized retrieval of distances to the emission plume and/or to topographic features in the camera images (on a pixel basis)

  6. Routine for image based light dilution correction

Requirements

Requirements are listed in the order of likelyhood to run into problems when using pip for installing them (on Windows machines you may use the pre-compiled binary wheels on Christoph Gohlke’s webpage)

  • numpy >= 1.11.0

  • scipy >= 0.17.0

  • opencv (cv2) >= 2.4.11

  • Pillow (PIL fork) >= 3.3.0 (installs scipy.misc.pilutil)

  • astropy >= 1.0.3

  • geonum >= 1.0.0

    • latlon >= 1.0.2

    • srtm.py >= 0.3.2

    • pyproj >= 1.9.5.1

  • pandas >= 0.16.2

  • matplotlib >= 1.4.3

Optional dependencies (to use extra features)

  • pydoas >= 1.0.0

  • scikit-image (skimage) >= 0.11.3 (for blob detection in optical flow analysis)

We recommend using Anaconda as package manager since it includes most of the required dependencies and is updated on a regular basis. Moreover, it is probably the most comfortable way to postinstall and upgrade dependencies such as OpenCV (see here) or the scipy stack.

Installation

pyplis can be installed from PyPi using:

pip install pyplis

or from source by downloading and extracting the latest release. After navigating to the source folder (where the setup.py file is located), call:

python setup.py install

On Linux:

sudo python setup.py install

In case the installation fails make sure that all dependencies (see above) are installed correctly. pyplis is currently only supported for Python v2.7.

Code documentation

The code documentation of pyplis is hosted on Read the Docs

Getting started

After installation try running and understanding the example scripts. The scripts require the example data (see also following section for details).

Example and test data

The pyplis example data (required to run example scripts) is not part of the installation. It can be downloaded here or automatically within a Python console (after installation) using:

import pyplis
pyplis.inout.download_test_data(*local_path*)

which downloads the data to the installation data directory if local_path is unspecified. Else, (and if local_path is a valid location) it will be downloaded into the specific directory which will then be added to the supplementary file ./data/_paths.txt such that it can be found by the test data search method:

pyplis.inout.find_test_data()

The latter searches all paths provided in the file ./data/_paths.txt whenever access to the test data is required. It raises an Exception, if the data cannot be found.

Metadata

Release files for pyplis 0.9.2

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

Source distribution (sdist)

Source distribution for pyplis 0.9.2
File Size Uploaded Provenance Actions
pyplis-0.9.2.zip 3.7 MB Without provenance Details for pyplis-0.9.2.zip

Built distribution (wheel)

Table of built distributions (wheels) for pyplis 0.9.2
File Interpreter ABI Platform Actions
pyplis-0.9.2-py2-none-any.whl Python 2 none any Details for pyplis-0.9.2-py2-none-any.whl

Total release size: 7.5 MB

Release files / pyplis-0.9.2.zip

Download URL pyplis-0.9.2.zip
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
990d9195c6b92c71c4b75a5d1650151da7eec6b02966ac83df63dc9e5e84e565
BLAKE2b-256 checksum
How to use checksums
f411d7c82efa03ede1530f71c44a89cdeaa68362a6acb8b0d6704c3f5df28ae3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyplis-0.9.2-py2-none-any.whl

Download URL pyplis-0.9.2-py2-none-any.whl
Size 3.7 MB
Tags Python 2
SHA-256 checksum
How to use checksums
ffbc470daab7bbbcd8b83dc6f3ef7abaa88504c6a5776ce19395beb48b23524a
BLAKE2b-256 checksum
How to use checksums
0fafb2512c4f11c66b1f05d61493df3607dfe2d61aa71408be789aedd4753552
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyplis 0.9.2

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