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.13.tar.gz
.
File metadata
- Download URL: OApackage-2.7.13.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7ada7679358113beff12284afaded702588da1e86c86dbfbe0231e1f460635f |
|
MD5 | 0cd518c723b84faf844ed15af53a1b05 |
|
BLAKE2b-256 | 4246f7d7ec3e3bc3fdbf6631152d3ceb46e9c789fd63b07b1226cd388c5fafe9 |
File details
Details for the file OApackage-2.7.13-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.13-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/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | feea0366895c378e1debd805c0512beef8d6f7a5bfddbfae976bec5c8b339602 |
|
MD5 | a8b337dc0374b6db3764942440df1871 |
|
BLAKE2b-256 | 8f65db753a0a5994c17bb4ec7042f19da19030a9bc98a6cc32091bf53147eb7c |
File details
Details for the file OApackage-2.7.13-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.13-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/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cafff448cf732f9b9b6c25dfdd1384db2101ca3f1b3902a8fbdf539c305ab54 |
|
MD5 | 8f265a803cf04b8cbfe06e5a11578e0f |
|
BLAKE2b-256 | c5e1739df33ba8d3187eb328fb93e8063ecc9837e66ededde3afe1a95c3b6c6f |
File details
Details for the file OApackage-2.7.13-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.13-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/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6678ed06a08c2b18e12f3b3e1b9e7ee59705d68ea1db81331c279d52a89878d |
|
MD5 | 9481d73a37a7fed49be99ae01799671d |
|
BLAKE2b-256 | 7a34d65f0260eeefaf355d65a928fa28ab8b42ef64e38aaff28b32620462e332 |
File details
Details for the file OApackage-2.7.13-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.13-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad21d56e002ad85d3d24bd2ac1c1d151c26f74b034a353dc495616b82317bb7 |
|
MD5 | e1da2382a8f5ae845e72ccc579d8dd2b |
|
BLAKE2b-256 | 0dbcfde94e0be6740848bc8d6dab095d500fb59c856231d97d4b5e447bf13474 |
File details
Details for the file OApackage-2.7.13-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: OApackage-2.7.13-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0851116351f214a3b50ff2a08cb4c55d4c66da61673e5c0f67945e7a27f8c38e |
|
MD5 | 945c471836225783c5d6f55c61e1c4e3 |
|
BLAKE2b-256 | ab2a4405e4407577470f28e2674554339a2677bfc6115cbd2d691b335f41c556 |