Hi,

I have installed OpenTurns on a Windows machine (Win7). While running a
piece of code I am getting an error message as '*AttributeError: 'module'
object has no attribute 'SobolIndicesExperiment*''

I used the package 'OpenTURNS1.12rc1 ' from the path provided below
Download the installer matching your python version and architecture from
GitHub

I used the following lines, which throws the error from
ot.SobolIndicesExperiment

import pandas as pd
import openturns as ot
import xlrd
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import interactive
import shutil
import os

N = 4
distribution = ot.ComposedDistribution([ot.Uniform(25000.06, 35000.09),
ot.Uniform(35, 50), ot.Uniform(5, 20), ot.Uniform(0.95 , 1.05),
ot.Uniform(0.3135, 0.3465), ot.Uniform(21.375, 23.625)])
design = ot.SobolIndicesExperiment(distribution, N, True).generate()
dataMatrix = np.array(design)


Just to cross very few more things, I tried the following lines too just
for the sequence and they work, *but not SobolIndicesExperiment*

sequence = ot.SobolSequence(6)
experiment = sequence.generate(5)
sample = np.array(experiment)

Am I missing any dependencies? and is there a way to avoid this issue? Any
help would be greatly appreciated.

Thank you,

Raj
_______________________________________________
OpenTURNS users mailing list
[email protected]
http://openturns.org/mailman/listinfo/users

Reply via email to