tupui / otsensitivity

OpenTURNS module on Sensitivity Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI Python License

otSensitivity

What is it?

This project implements Sensitivity Analysis methods. It is based on OpenTURNS.

The simplest analysis is to visualize how the quantity of interest respond individually to each input parameter:

pairplot(sample, data)

doc/images/ishigami_pairplot.png

This analysis can be completed by quantitative information. Variance-based analysis is commonly used:

s, st = sobol_saltelli(function, 1000, 3, [[-np.pi, -np.pi, -np.pi],
                                           [np.pi, np.pi, np.pi]])

plot_indices([s, st])

doc/images/ishigami_indices.png

It is possible to use a polar coordinate system:

plot_indices([s, st], polar=True)

doc/images/ishigami_indices-polar.png

In case of an already existing sample, one can use density based measures:

momi = moment_independent(X, Y)
delta = momi[2]['Delta']
plot_indices([delta])

doc/images/ishigami_moment.png

This method use not only the variance but all the PDF in order to compute sensitivity information. Also, it does not require the use of any particlar sampling design.

How to install?

Requirements

The dependencies are:

Installation

Using the latest python version is prefered! Then to install:

git clone git@github.com:.../otsensitivity.git
cd otsensitivity
python setup.py install

About

OpenTURNS module on Sensitivity Analysis

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%