DesignOfExperiment

class persalys.DesignOfExperiment(*args)

Design of experiments base class.

Available constructors:
DesignOfExperiment(name, physicalModel)
Parameters:

name : str

Name

physicalModel : PhysicalModel

Physical model

Notes

DesignOfExperiment is the base class of DataModel

Methods

GetClassName
getClassName()
getId() Accessor to the object’s id.
getImplementation(*args) 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.
isValid()
setInputSample(sample) Input sample accessor.
setName(name) Accessor to the object’s name.
setOutputSample(sample) Output sample accessor.
__init__(*args)
getId()

Accessor to the object’s id.

Returns:

id : int

Internal unique identifier.

getImplementation(*args)

Accessor to the underlying implementation.

Returns:

impl : Implementation

The implementation class.

getInputSample()

Input sample accessor.

Returns:

sample : openturns.Sample

Input sample

getName()

Accessor to the object’s name.

Returns:

name : str

The name of the object.

getOutputSample()

Output sample accessor.

Returns:

sample : openturns.Sample

Output sample

getPhysicalModel()

Physical model accessor.

Returns:

model : PhysicalModel

Physical model

getPythonScript()

Python script accessor.

Returns:

script : str

Python script to rebuild the design of experiments

getSample()

Sample accessor.

Returns:

sample : openturns.Sample

Input sample and output sample

hasPhysicalModel()

Whether it contains a physical model.

Returns:

hasPhysicalModel : bool

Whether it contains a physical model

setInputSample(sample)

Input sample accessor.

Parameters:

sample : openturns.Sample

Input sample

setName(name)

Accessor to the object’s name.

Parameters:

name : str

The name of the object.

setOutputSample(sample)

Output sample accessor.

Parameters:

sample : openturns.Sample

Output sample