Python package to perform time series analysis of hydrological time series.
Project description
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
Documentation is provided on a dedicated website: http://pastas.readthedocs.io/
Examples can be found on the examples directory on the documentation website.
View and edit a working example notebook of a Pastas model in MyBinder
A list of Publications that used Pastas is available in a dedicated GitHub repo
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.7, 3.8 or 3.9 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.3
Apart from this, is is highly recommended to install Numba (>0.51) to gain significant speed-ups. To install Numba (and another optional dependency LmFit) 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:
Collenteur, R.A., Bakker, M., Caljé, R., Klop, S.A., Schaars, F. (2019) Pastas: open source software for the analysis of groundwater time series. Groundwater. doi: 10.1111/gwat.12925.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pastas-0.21.0.tar.gz
.
File metadata
- Download URL: pastas-0.21.0.tar.gz
- Upload date:
- Size: 116.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb5c53902f9a2e14391d55193bb0e570f93584c2cd1b70f5bab5a1383b4dcb5 |
|
MD5 | c2777cb325fb49711a15c3cbaa26410b |
|
BLAKE2b-256 | f6b0c0b8e0c6c2f282783fdce06b9ea742d6cdfe5b902b61b594aa709619c634 |
File details
Details for the file pastas-0.21.0-py3-none-any.whl
.
File metadata
- Download URL: pastas-0.21.0-py3-none-any.whl
- Upload date:
- Size: 128.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | defb382dea6e02e453dbdf833bef2e68ca3780d964f322e47bbbc30218c7ad5c |
|
MD5 | 4c24585cc28bdbaacd640fd03eeb3d89 |
|
BLAKE2b-256 | 75fa2ab8bfa0457d0bb9ca97e42dd7aaab2e12b077b5591d273458f33f4f03e1 |