Skip to main content

MicroInverse is a Python package for inversion of a transport operator from tracer data.

Project description

MicroInverse

https://img.shields.io/pypi/v/MicroInverse.svg https://img.shields.io/travis/AleksiNummelin/MicroInverse.svg Documentation Status

MicroInverse is a Python package for inversion of a transport operator from tracer data.

It is based on the simple stochastic climate model approximation

http://latex.codecogs.com/gif.latex?%5Cfrac%7Bd%7D%7Bdt%7D%20%5Cmathbf%7Bx%7D%28t%29%20%3D%20%5Cmathbf%7BB%7D%5Cmathbf%7Bx%7D%28t%29%20+%20%5Cmathbf%7Bf%7D%28t%29

Where x is the vector of tracer anomaly timeseries, B is the transport operator, and f is the forcing of the system. Assuming that the forcing has a shorter decorrelation timescale than the tracer we can solve for the transport operator:

http://latex.codecogs.com/gif.latex?%5Cmathbf%7BB%7D%3D%5Cfrac%7B1%7D%7B%5Ctau%7D%5Clog%20%5Cleft%28%5Cleft%5B%20%5Cmathbf%7Bx%7D%28t+%5Ctau%29%5Cmathbf%7Bx%7D%5ET%28t%29%5Cright%20%5D%20%5C%20%5Cleft%5B%5Cmathbf%7Bx%7D%28t%29%5Cmathbf%7Bx%7D%5ET%28t%29%20%5Cright%5D%5E%7B-1%7D%5Cright%29

Where tau is the chosen decorrelation timescale which should be larger than the forcing decorrelation timescale, but smaller than the decorrelation timescale of the tracer.

In practice tau is hard to choose a priori which is why we suggest first inverting your data at multiple values of tau and combining the results afterwards using MicroInverse.MicroInverse_utils.combine_Taus().

MicroInverse will also relate B to velocity, diffusivity, and decay via advection-diffusion-relaxation equation (see Nummelin et al. (2018) for details)

Features

  • Estimates of velocity, diffusivity, and decay timescale from a timeseries of 2D tracer.

Credits

This package is based on work by Nummelin et al. (2018) and Jeffress and Haine (2014a, 2014b)

Package is created with Cookiecutter using the audreyr/cookiecutter-pypackage project template.

History

0.3.0 (2018-08-29)

  • Several fixed bugs

0.2.0 (2018-04-05)

  • First properly working release

0.1.0 (2018-04-03)

  • First release on PyPI.

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

MicroInverse-0.3.0.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

MicroInverse-0.3.0-py2.py3-none-any.whl (35.2 MB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: MicroInverse-0.3.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.20.0 CPython/2.7.14

File hashes

Hashes for MicroInverse-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b43b7abe0e68319036157e8f845450d5c80e292ebc781340723abc31937e913b
MD5 88acb4788fcbea56daf744ab860a3500
BLAKE2b-256 68e6284891bc9e1c15a5a6fdbeffc2196c81520a807b5ce91256b86d521e947b

See more details on using hashes here.

File details

Details for the file MicroInverse-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: MicroInverse-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.20.0 CPython/2.7.14

File hashes

Hashes for MicroInverse-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eaa2cb1ea8b6233d0fbd5f57f579bd4a2ae095e8475e42097684c760481148b4
MD5 4bab3030a4c83e2bf8f7c1df31d4fae2
BLAKE2b-256 b817c8d1fa9853d7c77e1a8ef0e072fe7ef3f4290a922f0023a8d93a21686483

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