Skip to main content

Tools for the construction of transport maps

Project description

This package provides basic functionalities for the construction of monotonic transport maps.

Supported systems

  • *nix like OS (Linux, Unix, …)

  • Mac OS

Other operating systems have not been tested and they likely require a more complex procedure for the installation (this includes the Microsoft Windows family..).

We reccommend to work in a virtual environment using virtualenv or Anaconda.

Installation requirements

  • gcc (or an alternative C/C++ compiler)

  • gfortran (or an alternative Fortran compiler)

Automatic installation

First of all make sure to have the latest version of pip installed

$ pip install –upgrade pip

The package and its python dependencies can be installed running the command:

$ pip install –upgrade TransportMaps

If one whish to enable some of the optional dependencies:

$ pip install –upgrade TransportMaps[SUITESPARSE]

These options will install the following modules:

  • DOLFIN – dolfin package for Partial Differential Equations

  • SUITESPARSE – scikit-sparse

  • HMC – Hamiltonian Monte Carlo pyhmc (it requires having numpy and cython already installed)

Running the Unit Tests

Unit tests are available and can be run through the commands:

>>> import TransportMaps as TM
>>> TM.tests.run_tests()

Or directly using the bash command:

$ tmap-run-tests

The Git repository also contains a docker-compose configuration file to test the whole suite on several versions of python.

There are >2000 unit tests, and it will take some time to run all of them.

Credits

This sofware has been developed and is being maintained by the Uncertainty Quantification Group at MIT, under the guidance of Prof. Youssef Marzouk.

Developing team

Daniele Bigoni – [www]
Alessio Spantini
Rebecca Morrison
Ricardo M. Baptista

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

transportmaps-3.0.12-py3-none-any.whl (566.0 kB view details)

Uploaded Python 3

File details

Details for the file transportmaps-3.0.12-py3-none-any.whl.

File metadata

  • Download URL: transportmaps-3.0.12-py3-none-any.whl
  • Upload date:
  • Size: 566.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for transportmaps-3.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 64dc91c4844832f554531c7a4b64c447fa613793ee730f4017a4094d8443071f
MD5 b29bc2310c36ff2b081a1128c5bf8cb9
BLAKE2b-256 546158a6ceb443a57a9aa9c1afdb8a677fbf2201fad52eb7b1db84ef944c27ec

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