# %%
from pyDOE2 import bbdesign

sample = bbdesign(4)

sample[sample == 0.] = 0.5
sample[sample == -1.] = 0.
sample[sample == 1.] = 1.

#print(sample)

# %%
import sobol
sample = sobol.sample(4, 24)
print(sample)
c49fa49fdd45c23b837ef607bcba5dcf089e8477
<mask token>

<mask token>
print(sample)

<mask token>
sample = bbdesign(4)
sample[sample == 0.0] = 0.5
sample[sample == -1.0] = 0.0
sample[sample == 1.0] = 1.0
<mask token>
sample = sobol.sample(4, 24)
print(sample)

from pyDOE2 import bbdesign
sample = bbdesign(4)
sample[sample == 0.0] = 0.5
sample[sample == -1.0] = 0.0
sample[sample == 1.0] = 1.0
import sobol
sample = sobol.sample(4, 24)
print(sample)

# %%
from pyDOE2 import bbdesign

sample = bbdesign(4)

sample[sample == 0.] = 0.5
sample[sample == -1.] = 0.
sample[sample == 1.] = 1.

#print(sample)

# %%
import sobol
sample = sobol.sample(4, 24)
print(sample)