validate_state

pyoptex.doe.cost_optimal.validation.validate_state(state, params, eps=1e-06)[source]

Validates the state to see if it is still correct to within a precision of epsilon. Mostly used to validate intermediate steps of the algorithm and debugging purposes.

Parameters

stateState

The state from which to start.

paramsParameters

The simulation parameters.

epsfloat

Epsilon for the numerical comparisons.