pandakota.input.variables module

Variables

Module containing DAKOTA variable classes

class pandakota.input.variables.NormalUncertainVariable(key: str, mean: float, std_dev: float)

Bases: Variable

DAKOTA input variable described by a normal distribution

Attributes:
dtype
element
mean

Methods

justify()

Align this variable's name and values nicely

block_name = 'normal_uncertain'
property mean
class pandakota.input.variables.StateVariable(key, dtype, nominal)

Bases: Variable

Discrete state DAKOTA input variable

Attributes:
block_name
dtype
element
nominal
properties

Methods

fromVariable(other)

Cast another variable as a StateVariable

justify()

Align this variable's name and values nicely

property block_name: str
classmethod fromVariable(other)

Cast another variable as a StateVariable

property nominal
property properties: Dict
class pandakota.input.variables.UniformUncertainVariable(key: str, lower: float, upper: float)

Bases: Variable

DAKOTA input variable described by a uniform distribution

Attributes:
dtype
element
lower
upper

Methods

justify()

Align this variable's name and values nicely

block_name = 'uniform_uncertain'
property lower
property upper
class pandakota.input.variables.Variable(key: str, dtype: type)

Bases: ABC

Abstract Base Class for DAKOTA input variable

Attributes:
block_name
dtype
element

Methods

justify()

Align this variable's name and values nicely

block_name = None
property dtype
property element
justify() Dict

Align this variable’s name and values nicely