DesignOfExperiment¶
- class persalys.DesignOfExperiment(*args)¶
Design of experiments base class.
- Available constructors:
DesignOfExperiment(name, physicalModel)
- Parameters
- namestr
Name
- physicalModel
PhysicalModel
Physical model
Notes
DesignOfExperiment is the base class of
DataModel
- Attributes
thisown
The membership flag
Methods
Accessor to the object's name.
Effective indices accessor.
getId
()Accessor to the object's id.
Accessor to the underlying implementation.
Input sample accessor.
getName
()Accessor to the object's name.
Output sample accessor.
Physical model accessor.
Python script accessor.
Sample accessor.
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
- indices
openturns.Indices
Input sample and output sample
- indices
- 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
- sample
openturns.Sample
Input sample
- sample
- getName()¶
Accessor to the object’s name.
- Returns
- namestr
The name of the object.
- getOutputSample()¶
Output sample accessor.
- Returns
- sample
openturns.Sample
Output sample
- sample
- getPhysicalModel()¶
Physical model accessor.
- Returns
- model
PhysicalModel
Physical model
- model
- getPythonScript()¶
Python script accessor.
- Returns
- scriptstr
Python script to rebuild the design of experiments
- getSample()¶
Sample accessor.
- Returns
- sample
openturns.Sample
Input sample and output sample
- sample
- hasPhysicalModel()¶
Whether it contains a physical model.
- Returns
- hasPhysicalModelbool
Whether it contains a physical model
- setInputSample(sample)¶
Input sample accessor.
- Parameters
- sample
openturns.Sample
Input sample
- sample
- setName(name)¶
Accessor to the object’s name.
- Parameters
- namestr
The name of the object.
- setOutputSample(sample)¶
Output sample accessor.
- Parameters
- sample
openturns.Sample
Output sample
- sample
- property thisown¶
The membership flag