Package: pastas
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 & ExamplesDocumentation is provided on the dedicated websitepastas.devExamples can be found on theexamples directory on the documentation websiteView and edit a working example notebook of a Pastas model inMyBinderA list of publications that use Pastas is available in adedicated Zotero groupGet in TouchQuestions on Pastas can be asked and answered onGithub Discussions.Bugs, feature requests and other improvements can be posted asGithub Issues.Pull requests will only be accepted on the development branch (dev) of
this repository. Please take a look at thedevelopers sectionon the documentation website for more
information on how to contribute to Pastas.Quick installation guideTo 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 theAnaconda Distributionas 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 versionTo get the latest stable version, use:pip install pastasUpdateTo update pastas, use:pip install pastas --upgradeDevelopersTo get the latest development version, use:pip install git+https://github.com/pastas/pastas.git@dev#egg=pastasRelated packagesPastastoreis a Python package for managing multiple timeseries and pastas modelsMetranis a Python package to perform multivariate timeseries analysis using a technique called dynamic factor modelling.Hydropandascan be used to obtain Dutch timeseries (KNMI, Dinoloket, ..)PyEtcan be used to compute potential evaporation from meteorological variables.DependenciesPastas 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
Pastasnumpy>=1.7matplotlib>=3.1pandas>=1.1scipy>=1.8numba>=0.51To 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: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