# \[OpenTURNS\] An open source Python library for UQ

**URL:** <https://uqworld.org/t/openturns-an-open-source-python-library-for-uq/635>\
**Category:** UQ Software\
**Tags:** library, openturns, python\
**Created:** [June 8, 2020, 1:04pm UTC](https://uqworld.org/t/openturns-an-open-source-python-library-for-uq/635 "2020-06-08T13:04:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vince](https://uqworld.org/user_avatar/uqworld.org/vince/32/470_2.png) [@Vince](https://uqworld.org/u/Vince)\
**Post date:** [June 8, 2020, 1:04pm UTC](https://uqworld.org/t/openturns-an-open-source-python-library-for-uq/635/1 "2020-06-08T13:04:11Z")

</div>

Dear UQWorld people,

On behalf of the OpenTURNS team, we would like first to thank Pr. @bsudret and the RSUQ lab members for the creation of the UQWorld forum. This great initiative fills a need in the UQ community. We are happy to be welcome here to share about UQ methodology and the OpenTURNS project.

The **OpenTURNS** (_Open source initiative for the Treatment of Uncertainties, Risks’N Statistics_) project is an **open source platform** jointly developed by a consortium gathering five industrial and research lab partners: Airbus, EDF, IMACS, Phimeca Engineering and ONERA. Let’s discover it [here](http://www.openturns.org/)!

The core of the platform is a C++ library, while the main user interface (API) is a Python module that can be imported simply after installing it (`import openturns as ot`).

OpenTURNS offers several basic and advanced tools for data analysis, probabilistic modeling, surrogate modeling, calibration, reliability and sensitivity analysis. Moreover, these algorithms are supported by powerful numerical methods for scientific computing.

The **last release (1.15)** can be found on [GitHub](https://github.com/openturns/openturns) and installed via [Pip](https://pypi.org/project/openturns/), [Conda](https://anaconda.org/conda-forge/openturns), or using binaries for [Windows](http://openturns.github.io/openturns/latest/install.html).

Any question related to coding issues can be adressed to the OT team on the [Gitter](https://gitter.im/openturns/community#) chat.

If you’re interested in getting started, you can just download it, import it as a basic Python module and try to implement by yourself very simple pieces of code. Here are a few “Quick Start Guides” for beginners: [about basic notions](http://openturns.github.io/openturns/master/examples/data_analysis/quick_start_point_and_sample.html), [symbolic functions](http://openturns.github.io/openturns/master/examples/functional_modeling/quick_start_functions.html), [probabilistic modeling](http://openturns.github.io/openturns/master/examples/probabilistic_modeling/quick_start_guide_distributions.html), [PCE metamodeling](http://openturns.github.io/openturns/master/examples/meta_modeling/chaos_ishigami.html), [reliability analysis](http://openturns.github.io/openturns/master/examples/reliability_sensitivity/axial_stressed_beam_quickstart.html), [sensitivity analysis](http://openturns.github.io/openturns/master/examples/reliability_sensitivity/sensitivity_sobol.html), [optimization](http://openturns.github.io/openturns/master/examples/numerical_methods/optimization_rosenbrock.html) or [plotting graphs](http://openturns.github.io/openturns/master/examples/graphs/graphs_basics.html).

Finally, a user-friendly GUI, named [“PERSALYS”](https://github.com/openturns/openturns.github.io/blob/master/presentation/master/siamuq-2020-slides-OpenTURNS.pdf) has been developed for both daily engineering practice (i.e., for those who don’t want to become Pythonistas) as well as academic usage (e.g., for teaching illustration or labs). This GUI can be downloaded as part of the SALOME\_EDF tool [here](https://www.salome-platform.org/contributions/edf_products).

Please, don’t hesitate to contact us if you have any question/remark/suggestion!

---

<div class="post-metadata">

**Author:** ![damarginal](https://uqworld.org/user_avatar/uqworld.org/damarginal/32/73_2.png) [@damarginal](https://uqworld.org/u/damarginal)\
**Post date:** [June 10, 2020, 10:24am UTC](https://uqworld.org/t/openturns-an-open-source-python-library-for-uq/635/2 "2020-06-10T10:24:11Z")

</div>

Hi @Vince,

Welcome to UQWorld! We’re happy to have OpenTURNS people here! 😄

Thanks a lot for sharing the news; If you have some more news on OT, its updates, milestones, or perhaps use cases, we’d sure be glad to hear about them here!

I’m bit curious though about these so-called _modules_ for OpenTURNS… what are they and who develop them?

---

<div class="post-metadata">

**Author:** ![Vince](https://uqworld.org/user_avatar/uqworld.org/vince/32/470_2.png) [@Vince](https://uqworld.org/u/Vince)\
**Post date:** [June 11, 2020, 2:36pm UTC](https://uqworld.org/t/openturns-an-open-source-python-library-for-uq/635/3 "2020-06-11T14:36:30Z")

</div>

Hi @damarginal,

Thanks for your warm reply! OpenTURNS people, UQLab people, we’re all going to the same way: ensuring that best practices, best tools, and significant research results are available for most of people!

So, that’s a good question: OpenTURNS [_modules_](https://github.com/openturns/openturns/wiki/Modules)!

These modules are basically small Python packages/libraries that rely on the main OpenTURNS library. Let’s say they “lie in a neighborhood” of the core library, while being rather independent and much more manageable/workable.

They mostly result from specific developments, either about specific methods (e.g., `otmorris`, `otsubsetinverse`, `otrobopt`), specific tools such as wrappers and file exchange modules (e.g., `otwrapy`, `otfmi`, `otpmml`).

Other modules are strongly related to external Python libraries (e.g., `otagrum` for Bayesian networks via `aGrUM`, `otsvm` with `libsvm`).

Finally, a few modules combine specific methods for dedicated applications (e.g., `otpod` for Probability of Detection in non-destructive testing) which concern only a few partners of the consortium.

One could say that _modules_ are a kind of “antechamber” for the main library. These developments remain very effective, rather autonomous without weighing the main library down.

As soon as these modules become mature enough, or essential regarding the global usage of the library, one can decide to integrate properly within the core (which requires a proper C++ development).

It demonstrates that several modules can be proposed by users who want to contribute without waiting a pure development inside the main library!

Hope my answer is clear enough 🙂.

Thanks for asking!

---

<div class="post-metadata">

**Author:** ![Vince](https://uqworld.org/user_avatar/uqworld.org/vince/32/470_2.png) [@Vince](https://uqworld.org/u/Vince)\
**Post date:** [July 9, 2020, 2:53pm UTC](https://uqworld.org/t/openturns-an-open-source-python-library-for-uq/635/4 "2020-07-09T14:53:01Z")

</div>

Dear UQWorld members,

I invite you to give a quick look at the presentations of the last OT Users’ Days (on June 5th & June 19th).

Presentations can be found/downloaded [here](https://github.com/openturns/presentation#openturns-presentations)!

To follow these OT-related events, [Twitter](https://twitter.com/openturns_org) can be your friend!

A nice pres’ from @Michael_Baudin about doing calibration with the **Persalys GUI** for OT can be found [here](https://github.com/openturns/openturns.github.io/blob/master/presentation/master/UsersDay-2020-PERSALYS.pdf)!

Again, don’t hesitate to react! 🙂
