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.1.1-py3-none-any.whl (566.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: transportmaps-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 566.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for transportmaps-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5c2d712a405cb69c4f77fb263c925dbac8fffe5a39b7e1a41d4f664fa785e2
MD5 30eaaee4e1cc05a3509cd6cd3eab7846
BLAKE2b-256 ed8064ca7b93d0178fa99a55f898a4f548bbda7a38f02feb08e7176118dc79c6

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