Skip to main content

Pastas is an open-source Python framework for the analysis of groundwater time series.

Project description

/doc/_static/logo_small.png https://github.com/pastas/pastas/actions/workflows/ci.yml/badge.svg?branch=master https://img.shields.io/pypi/v/pastas.svg https://img.shields.io/pypi/l/pastas.svg https://img.shields.io/pypi/pyversions/pastas https://img.shields.io/pypi/dm/pastas https://zenodo.org/badge/DOI/10.5281/zenodo.1465866.svg https://app.codacy.com/project/badge/Grade/952f41c453854064ba0ee1fa0a0b4434 https://api.codacy.com/project/badge/Coverage/952f41c453854064ba0ee1fa0a0b4434 https://readthedocs.org/projects/pastas/badge/?version=latest https://mybinder.org/badge_logo.svg

Pastas: what is it?

Pastas is an open source python package for processing, simulating and analyzing groundwater time series. The object oriented structure allows for the quick implementation of new model components. Time series models can be created, calibrated, and analysed with just a few lines of python code with the built-in optimization, visualisation, and statistical analysis tools.

Documentation & Examples

Get in Touch

  • Questions on Pastas can be asked and answered on Github Discussions.

  • Bugs, feature requests and other improvements can be posted as Github Issues.

  • Pull requests will only be accepted on the development branch (dev) of this repository. Please take a look at the developers section on the documentation website for more information on how to contribute to Pastas.

Quick installation guide

To install Pastas, a working version of Python 3.8, 3.9, 3.10, 3.11 has to be installed on your computer. We recommend using the Anaconda Distribution as it includes most of the python package dependencies and the Jupyter Notebook software to run the notebooks. However, you are free to install any Python distribution you want.

Stable version

To get the latest stable version, use:

pip install pastas

Update

To update pastas, use:

pip install pastas --upgrade

Developers

To get the latest development version, use:

pip install git+https://github.com/pastas/pastas.git@dev#egg=pastas

Dependencies

Pastas depends on a number of Python packages, of which all of the necessary are automatically installed when using the pip install manager. To summarize, the dependencies necessary for a minimal function installation of Pastas

  • numpy>=1.7

  • matplotlib>=3.1

  • pandas>=1.1

  • scipy>=1.8

  • numba>=0.51

To install the most important optional dependencies (solver LmFit and function visualisation Latexify) at the same time with Pastas use:

pip install pastas[full]

or for the development version use:

pip install git+https://github.com/pastas/pastas.git@dev#egg=pastas[full]

How to Cite Pastas?

If you use Pastas in one of your studies, please cite the Pastas article in Groundwater:

To cite a specific version of Python, you can use the DOI provided for each official release (>0.9.7) through Zenodo. Click on the link to get a specific version and DOI, depending on the Pastas version.

  • Collenteur, R., Bakker, M., Caljé, R. & Schaars, F. (XXXX). Pastas: open-source software for time series analysis in hydrology (Version X.X.X). Zenodo. http://doi.org/10.5281/zenodo.1465866

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

pastas-1.4.0.tar.gz (142.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pastas-1.4.0-py3-none-any.whl (147.5 kB view details)

Uploaded Python 3

File details

Details for the file pastas-1.4.0.tar.gz.

File metadata

  • Download URL: pastas-1.4.0.tar.gz
  • Upload date:
  • Size: 142.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for pastas-1.4.0.tar.gz
Algorithm Hash digest
SHA256 9159bd6f82ca85532d6f145ec75ba363701d83f8692e83d65bf4cffd154785ac
MD5 1af89d6d4c1affdb28b0f801c119dd10
BLAKE2b-256 2bc2f71045c19906ad29b6da570706d0b14e52cd0fa71a2226aa2f6efc81524d

See more details on using hashes here.

File details

Details for the file pastas-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: pastas-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 147.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for pastas-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c50cbb8efc16579c85fd404c2a815e353a121259302f45a8ec04e2932e40de27
MD5 2d2bff0940b6117509505c0a3b15b75e
BLAKE2b-256 975e6b1a9aaa37e93c13437c78e3f67fcd87a9d72b827d831bdbed497bf30cb8

See more details on using hashes here.

Supported by

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