DesignOfExperiment

class persalys.DesignOfExperiment(*args)

Design of experiments base class.

Available constructors:

DesignOfExperiment(name, physicalModel)

Parameters
namestr

Name

physicalModelPhysicalModel

Physical model

Notes

DesignOfExperiment is the base class of DataModel

Attributes
thisown

The membership flag

Methods

getClassName()

Accessor to the object's name.

getEffectiveInputIndices()

Effective indices accessor.

getId()

Accessor to the object's id.

getImplementation()

Accessor to the underlying implementation.

getInputSample()

Input sample accessor.

getName()

Accessor to the object's name.

getOutputSample()

Output sample accessor.

getPhysicalModel()

Physical model accessor.

getPythonScript()

Python script accessor.

getSample()

Sample accessor.

hasPhysicalModel()

Whether it contains a physical model.

setInputSample(sample)

Input sample accessor.

setName(name)

Accessor to the object's name.

setOutputSample(sample)

Output sample accessor.

GetClassName

isValid

__init__(*args)
getClassName()

Accessor to the object’s name.

Returns
class_namestr

The object class name (object.__class__.__name__).

getEffectiveInputIndices()

Effective indices accessor.

Indices of non-const variables in the design.

Returns
indicesopenturns.Indices

Input sample and output sample

getId()

Accessor to the object’s id.

Returns
idint

Internal unique identifier.

getImplementation()

Accessor to the underlying implementation.

Returns
implImplementation

A copy of the underlying implementation object.

getInputSample()

Input sample accessor.

Returns
sampleopenturns.Sample

Input sample

getName()

Accessor to the object’s name.

Returns
namestr

The name of the object.

getOutputSample()

Output sample accessor.

Returns
sampleopenturns.Sample

Output sample

getPhysicalModel()

Physical model accessor.

Returns
modelPhysicalModel

Physical model

getPythonScript()

Python script accessor.

Returns
scriptstr

Python script to rebuild the design of experiments

getSample()

Sample accessor.

Returns
sampleopenturns.Sample

Input sample and output sample

hasPhysicalModel()

Whether it contains a physical model.

Returns
hasPhysicalModelbool

Whether it contains a physical model

setInputSample(sample)

Input sample accessor.

Parameters
sampleopenturns.Sample

Input sample

setName(name)

Accessor to the object’s name.

Parameters
namestr

The name of the object.

setOutputSample(sample)

Output sample accessor.

Parameters
sampleopenturns.Sample

Output sample

property thisown

The membership flag