sample_random
- pyoptex.doe.cost_optimal.codex.sample.sample_random(state, params)[source]
Samples a new run by taking a random run from the design and randomly changing one coordinate.
Parameters
- state
State The state from which to sample.
- params
Parameters The simulation parameters.
Returns
- runnp.array(1d)
The newly sampled run.
- state