Package to generate and analyse orthogonal arrays, conference designs and optimal designs
Project description
Orthogonal Array Package
The Orthogonal Array package contains functionality to generate and analyse orthogonal arrays, optimal designs and conference designs. Features include generation of complete series of orthogonal arrays, reduction of arrays to normal form and calculation of properties such as the strength or D-efficiency of an array. For more information about the package see the documentation at oapackage.readthedocs.io. A large collection of results generated with the package can be found at http://pietereendebak.nl/oapackage/.
Usage
The package can be used from Python:
>>> import oapackage
>>> al=oapackage.exampleArray(0)
>>> al.showarraycompact()
00
00
01
01
10
10
11
11
>>> print('D-efficiency %f, rank %d' % (al.Defficiency(), al.rank()) )
D-efficiency 1.000000, rank 2
>>> print('Generalized wordlength pattern: %s' % str(al.GWLP()))
Generalized wordlength pattern: (1.0, 0.0, 0.0)
For more examples see the Jupyter notebooks in the docs/examples.
Acknowledgements
If you use this code or any of the results, please cite this program as follows:
- OApackage: A Python package for generation and analysis of orthogonal arrays, optimal designs and conference designs, P.T. Eendebak, A.R. Vazquez, Journal of Open Source Software, 2019
- Complete Enumeration of Pure-Level and Mixed-Level Orthogonal Arrays, E.D. Schoen, P.T. Eendebak, M.V.M. Nguyen, Volume 18, Issue 2, pages 123-140, 2010
- Two-Level Designs to Estimate All Main Effects and Two-Factor Interactions, Pieter T. Eendebak, Eric D. Schoen, Technometrics Vol. 59 , Iss. 1, 2017
- A classification criterion for definitive screening designs, E.D. Schoen, P.T. Eendebak, P. Goos, Ann. Statist. 47, no. 2, 2019.
The code was written by:
- Pieter Eendebak pieter.eendebak@gmail.com
- Alan Vazquez-Alcocer
- Vincent Brouerius van Nidek
Ideas contributed by:
- Eric Schoen eric.schoen@tno.nl
- Alan Vazquez-Alcocer alanrvazquez@gmail.com
See the file LICENSE for copyright details.
Installation
The Python interface to the package is available on the Python Package index. Installation can be done using the following command:
$ pip install OApackage
(or pip install OApackage --user
if you do not have admin rights). To compile the package you need Python, Numpy and Swig 3.x.
The command line tools have been tested using Linux, Windows Win7/Win10 and Raspberry Pi.
The program uses a cmake
build system. From the command line type:
$ mkdir -p build; cd build
$ cmake ..
$ make
$ make install
Contributing, unit testing and support
See the file CONTRIBUTING.md on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file OApackage-2.7.14.tar.gz
.
File metadata
- Download URL: OApackage-2.7.14.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a3f32f1961757e60921fe8d09e57aeb4deaa6cf23fed600a1c27de49305738 |
|
MD5 | 22dc0ed0d07d18d1086cd7adeae3aadc |
|
BLAKE2b-256 | b268838f5fb76d320c570411a8082d10049c810fa4518619a81ed5ae3aeb26b4 |
File details
Details for the file OApackage-2.7.14-cp313-cp313-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.14-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea8c6fad7caf52989878850989083486ee1015576c2e4225e85b546ff7099ae |
|
MD5 | 016f1b557c759fd3d578c7cabf4d5e21 |
|
BLAKE2b-256 | 92909b4da7e36af721c87db1a94fcdb232a5e059eff0db11b39c3d28335fe77d |
File details
Details for the file OApackage-2.7.14-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.14-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e38299c82a14e2bae257fe956b33e121239841c3b4633e23a6d81a602dde161 |
|
MD5 | 917fa8b50ef61c9ea1322a761044603a |
|
BLAKE2b-256 | 121fc1ee218c6c8146434a682d07dced8be947e21f306780725d31b671a1cd31 |
File details
Details for the file OApackage-2.7.14-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.14-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0147580d8d0612085dab9e2e309bedf4115678e397462138f1f1ed969eca1d8 |
|
MD5 | e2f0994437f7c079886cb8227c3940d7 |
|
BLAKE2b-256 | 9dcb445eada989faa0d1cb31303a5128990ee0dccb4a7e5403bd2ad923f667e5 |
File details
Details for the file OApackage-2.7.14-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.14-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86358ab55fb984bd840dac23d2db953d6fb489016a357e2aef0c75196c7c923c |
|
MD5 | c501c39e1b0c7e2061f9cc24d1791286 |
|
BLAKE2b-256 | 4331fe6eb8fc33194b832b09bccf0c35516fdf536b144ff0015c0204d025dad3 |