Questions tagged [openturns]

OpenTURNS is a scientific C++ and Python library dedicated to the treatment of uncertainties. The main goal of this library is giving to specific applications all the functionalities needed to treat uncertainties in studies. Targeted users are all engineers who want to introduce the probabilistic dimension in their so far deterministic studies. The project is open source and commercially usable (Lesser General Public License).

27 questions
4
votes
2 answers

Goodness of fit test for Weibull distribution in python

I have some data that I have to test to see if it comes from a Weibull distribution with unknown parameters. In R I could use https://cran.r-project.org/web/packages/KScorrect/index.html but I can't find anything in Python. Using scipy.stats I can…
Simd
  • 19,447
  • 42
  • 136
  • 271
3
votes
2 answers

Meta-model of the field function OpenTurns 1.16rc1

After updating Openturns from 1.15 to 1.16rc1 I have the following issue with building the meta-model of the field function: to reduce the computational burden: ot.ResourceMap.SetAsUnsignedInteger("FittingTest-KolmogorovSamplingSize", 1) algo =…
kelamahim
  • 577
  • 1
  • 4
  • 21
3
votes
1 answer

Highly inaccurate result in OpenTURNS reliability model when using subset of RandomVector

I have a reliability model built in OpenTURNS with several limit state functions, that take anywhere from two to eight random variables (RVs). My initial attempt was to define a single RandomVector with all eight variables, and use this RandomVector…
Aorus
  • 128
  • 6
2
votes
2 answers

minimum function for two random variables in openturns

I have big formula containing random variables. at some part of this formula I have to calculate min(X,Y), where X and Y are distributed normally and independently. Finally, after many summations and multiplications I am getting some distribution…
2
votes
1 answer

Get Sobol indices error from kriging with Openturns

I'm looking for a Python package which computes the Sobol' indices from a kriging model and which provides a confidence interval on these indices that takes into account both the meta-model and the Monte-Carlo errors. Is it possible to do this with…
Alexis
  • 21
  • 3
2
votes
2 answers

How to set Axes limits on OpenTurns Viewer?

I'm using openturns to find the best fit distribution for my data. I got to plot it alright, but the X limit is far bigger than I'd like. My code is: import statsmodels.api as sm import openturns as ot import openturns.viewer as otv data =…
vaughan is god
  • 162
  • 1
  • 13
2
votes
1 answer

Geographic Interpolate in Python

I have 500 points with longitude x, latitude y, altitude z, and the value at these points. On the other hand, I have other 200 points than I would like to interpolate, where the latitude, longitude, and altitude are known. I would like to…
Francisco Gonzalez
  • 437
  • 1
  • 3
  • 15
2
votes
1 answer

How to interpolate 2D spatial data with kriging in Python?

I have a spatial 2D domain, say [0,1]×[0,1]. In this domain, there are 6 points where some scalar quantity of interest has been observed (e.g., temperature, mechanical stress, fluid density, etc.). How can I predict the quantity of interest at…
Michael Baudin
  • 1,022
  • 10
  • 25
2
votes
1 answer

how can I install lpsolve55 and openturns for python 3.6 in windows 10?

I want to use the packages lpsolve55 and openturns but they are not working on python 3.6, is there any way to install them for this version of python?
Elena Popa
  • 317
  • 3
  • 8
1
vote
1 answer

Metamodel on the field function: strange results

I'm trying to implement the metamodel of the field function: text and the results I am getting are strange! The metamodel is based on the input and the output files of a system: The input file contains 5 columns representing the 5 parameters of the…
hndphm
  • 11
  • 1
1
vote
2 answers

how to get better Kriging result graphs in openturns?

I performed spherical Kriging, but I can't seem to get good output graphs. The coordinates(x, and y) range from around around 51 latitude and around 6.5 as longitude my observations range from -70 to +10 here is my code : import openturns as…
1
vote
1 answer

Openturns for Telemac2D result file sensitivity analysis

I used the Telemac2D software to solve the Shallow Water Equations and got 1000 result files that i want now to post-treat and do some sensitivity analysis with OpenTURNS. The output i mainly want to focus on is the water level. In my case, i can…
Ibra_F
  • 11
  • 2
1
vote
1 answer

Turn a 1D array into a sample by OpenTURNS in Python

I'm trying to interpolate responses on a 2D grid by Kriging following this example: How to interpolate 2D spatial data with kriging in Python? However, when I'm trying to create a sample from 1D array in OpenTURNS, import numpy as np import…
zip
  • 21
  • 5
1
vote
1 answer

Plot PDF of Pareto distribution in Python

I have a specific Pareto distribution. For example, Pareto(beta=0.00317985, alpha=0.147365, gamma=1.0283) which I obtained from this answer and now I want to plot a graph of its Probability Density Function (PDF) in matplotlib. So I believe that…
mareoraft
  • 3,474
  • 4
  • 26
  • 62
1
vote
1 answer

How to rank a list of distributions with BIC in OpenTURNS?

I have a Sample in OpenTURNS, and I want to fit a distribution on it. In order to take the number of parameters into account, I want to use the Bayesian Information Criteria (BIC). The Bayesian Information Criterion (BIC) ranks a list of models…
Michael Baudin
  • 1,022
  • 10
  • 25
1
2