Skip to main content

Python package to perform timeseries analysis of multiple hydrological time series using a dynamic factor model.

Project description

metran Documentation Status Codacy Badge Codacy Badge PyPI

Metran

Metran is a package for performing multivariate timeseries analysis using a technique called dynamic factor modelling. It can be used to describe the variation among many variables in terms of a few underlying but unobserved variables called factors.

Documentation

The documention can be found on metran.readthedocs.io

Examples

For a brief introduction of the theory behind Metran on multivariate timeseries analysis with dynamic factor modeling see the notebook:

A practical real-world example, as published in Stromingen (Van Geer, 2015), is given in the following notebook:

A notebook on how to use Pastas models output with Metran:

Installation

To install Metran, a working version of Python 3.8 or higher 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.

To install metran, type the following command

pip install metran

To install in development mode, clone the repository and type the following from the module root directory:

pip install -e .

Dependencies

Metran has the following dependencies which are automatically installed if not already available: numpy, scipy, pandas, matplotlib, numba and pastas

References

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

metran-0.3.0.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

metran-0.3.0-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file metran-0.3.0.tar.gz.

File metadata

  • Download URL: metran-0.3.0.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for metran-0.3.0.tar.gz
Algorithm Hash digest
SHA256 92435d4ea206464e47e694992d43d057be265106b1317ce9fce818c27a0d938d
MD5 5a016db0dc33d9252d5316801739346d
BLAKE2b-256 9bdcb6b85cbafece2a3d596da8042f98848ada7a294003ca3c914a6953c93b9f

See more details on using hashes here.

File details

Details for the file metran-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: metran-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for metran-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e92225fc8c2294b4be0e00ed364eb522e78187636e2800c1ac1a79b49759829
MD5 7d70c4125aa44bd5a72b57874e655426
BLAKE2b-256 eca2e75c5ba272b36819369426b4d678295def9899dff8d4aa7cbe276644ee59

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