init_random
- pyoptex.doe.fixed_structure.init.init_random(params, n=1, complete=False)[source]
Initialize a design with n randomly sampled runs. They must be within the constraints.
Parameters
- params
Parameters The parameters of the design generation.
- nint
The number of runs
- completebool
Whether to use the coordinates for initialization or initialize fully randomly.
Returns
- designnp.array(2d)
The resulting design.
- params