Package to generate and analyse orthogonal arrays and optimal designs
Project description
Orthogonal Array Package
========================
(version 2.2)
The code allows to work with orthogonal arrays. 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 page <http://pietereendebak.nl/oapackage/>.
Usage
-------
The package can be used from Python:
``` python
>>> import oalib
>>> al=oalib.exampleArray(0)
>>> al.showarray()
array:
0 0
0 0
0 1
0 1
1 0
1 0
1 1
1 1
>>> 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)
```
If you use this code or any of the results, please cite this program as follows:
Complete Enumeration of Pure-Level and Mixed-Level Orthogonal Arrays, P.T. Eendebak, E.D. Schoen, M.V.M. Nguyen, Volume 18, Issue 2, pages 123-140, 2010.
The code was written by:
* Pieter Eendebak <pieter.eendebak@gmail.com>
* Vincent Brouerius van Nidek
Ideas contributed by:
* Eric Schoen <eric.schoen@tno.nl>
See the file LICENSE for copyright details.
Installation
------------
[![Build status](https://ci.appveyor.com/api/projects/status/f6ia9br95soimf9u?svg=true)](https://ci.appveyor.com/project/eendebakpt/oapackage-4lws8)
[![Version](https://pypip.in/v/OApackage/badge.svg)](https://pypi.python.org/pypi/OApackage/)
The Python interface to the package is available on the [Python Package index](https://pypi.python.org/pypi/OApackage/).
Installation can be done using the following command::
> pip install OApackage --user
To compile the package you need Python, Numpy and Swig 3.x.
The binary tools have been tested using Linux, Windows XP/Win7 (using Cygwin and Visual Studio) and Raspberry Pi.
The program uses a cmake build system. From the commandline type::
> mkdir -p build; cd build
> cmake ..
> make
> make install
Data format
-----------
Arrays are stored in plain files or binary files. For text files the first line contains the number of columns, the number of rows and the number of arrays (or -1 if the number of arrays is not specified). Then for each array a single line with the index of the array, followed by N lines containing the array. The binary format is suitable for storing a very high numbers of arrays and supports random access. Also see the file `FORMAT.txt`.
To examine the result files one can use the oacat tool from the package, or the standard UNIX utilities cat, less, head and tail.
========================
(version 2.2)
The code allows to work with orthogonal arrays. 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 page <http://pietereendebak.nl/oapackage/>.
Usage
-------
The package can be used from Python:
``` python
>>> import oalib
>>> al=oalib.exampleArray(0)
>>> al.showarray()
array:
0 0
0 0
0 1
0 1
1 0
1 0
1 1
1 1
>>> 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)
```
If you use this code or any of the results, please cite this program as follows:
Complete Enumeration of Pure-Level and Mixed-Level Orthogonal Arrays, P.T. Eendebak, E.D. Schoen, M.V.M. Nguyen, Volume 18, Issue 2, pages 123-140, 2010.
The code was written by:
* Pieter Eendebak <pieter.eendebak@gmail.com>
* Vincent Brouerius van Nidek
Ideas contributed by:
* Eric Schoen <eric.schoen@tno.nl>
See the file LICENSE for copyright details.
Installation
------------
[![Build status](https://ci.appveyor.com/api/projects/status/f6ia9br95soimf9u?svg=true)](https://ci.appveyor.com/project/eendebakpt/oapackage-4lws8)
[![Version](https://pypip.in/v/OApackage/badge.svg)](https://pypi.python.org/pypi/OApackage/)
The Python interface to the package is available on the [Python Package index](https://pypi.python.org/pypi/OApackage/).
Installation can be done using the following command::
> pip install OApackage --user
To compile the package you need Python, Numpy and Swig 3.x.
The binary tools have been tested using Linux, Windows XP/Win7 (using Cygwin and Visual Studio) and Raspberry Pi.
The program uses a cmake build system. From the commandline type::
> mkdir -p build; cd build
> cmake ..
> make
> make install
Data format
-----------
Arrays are stored in plain files or binary files. For text files the first line contains the number of columns, the number of rows and the number of arrays (or -1 if the number of arrays is not specified). Then for each array a single line with the index of the array, followed by N lines containing the array. The binary format is suitable for storing a very high numbers of arrays and supports random access. Also see the file `FORMAT.txt`.
To examine the result files one can use the oacat tool from the package, or the standard UNIX utilities cat, less, head and tail.
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
OApackage-2.2.9.tar.gz
(986.2 kB
view hashes)
Built Distributions
OApackage-2.2.9.win32-py3.5.exe
(960.6 kB
view hashes)
OApackage-2.2.9-cp35-cp35m-win32.whl
(827.9 kB
view hashes)
OApackage-2.2.9-cp27-cp27m-win32.whl
(808.7 kB
view hashes)
Close
Hashes for OApackage-2.2.9.win-amd64-py3.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12413bc2855d2d19ff339a42af9e3aa5d2610cc5eb2dc76cd913c0a93370bee2 |
|
MD5 | 0e2c6446d25c777c3ecd1267c629525f |
|
BLAKE2b-256 | e431e2b6c62d4e4e823189a52a31a6ba8ef61c3384589f43c2fbdb8378aa7f3b |
Close
Hashes for OApackage-2.2.9.win-amd64-py3.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58979112fb4c3c9343c5c03fe2e17a1d420cc5eb46dd8b84a987aeaa07c2fe14 |
|
MD5 | 79e4afa9933c90ff2684b6c24ca420af |
|
BLAKE2b-256 | 40ba9153ae12c69f88e28c4b94fac3874b60dd8efc2084b5289ae8a51b91bcce |
Close
Hashes for OApackage-2.2.9.win-amd64-py2.7.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b4af4b63c76790336f4eba190c2c12cc22cfc6d2e4a67bd5c17b87828ecc01 |
|
MD5 | 6dd652b1a380486be9ece567f0b91392 |
|
BLAKE2b-256 | 73e607fb81684b08da2525393d2627c8aa382613bbcc6083605f67ef9e9fc3de |
Close
Hashes for OApackage-2.2.9-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51fcd04d1d70001dae033f6fe65e2d76a67c5c419f5703b0a6c59d749cd3fe85 |
|
MD5 | 97ce72196fd943b1af0bd52842c028ef |
|
BLAKE2b-256 | 04f0ebb78f7f6f3da1ebd02adfcbd8484b8e3c10ba871e6e3ecbe1ab6bbb596f |
Close
Hashes for OApackage-2.2.9-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17f4bb2aa24ad83f7c9393331449fceffaf0731dd69ace0a138868390267050 |
|
MD5 | 9242aa953a4c5d707af9e34ae28fd04a |
|
BLAKE2b-256 | 6d47c3e69e2fc57e7ef9dcdc73ea59adb6ed9bee98caf8cf842310fd4d6e6e0a |
Close
Hashes for OApackage-2.2.9-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8f6a354a942c8908e2572e23574491248e687a54b96ce00f70486b85e688d8c |
|
MD5 | 56d858a463c7d56fc001b68cbda312dc |
|
BLAKE2b-256 | fd430e0fc97ee28dad3ea5c268f7edd5e82b8a14446a8b8c900432fd1b3df65a |
Close
Hashes for OApackage-2.2.9-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd73827c877fd8a4cc966c3778b5783ca80461a1d3d9a61ac16d82dfb622e34 |
|
MD5 | d396d9c8fb590d8c4880faf024eb1113 |
|
BLAKE2b-256 | c52e7ac24379694fb077bc1c7275f4f8140ab417982474285a44fefce2d73253 |
Close
Hashes for OApackage-2.2.9-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c11b84315ea708fe6ad7184bf159f2180949ef0f0f1ef438b62520337403037 |
|
MD5 | c993740180d18914183b7ef3de26b5f6 |
|
BLAKE2b-256 | bfcac43f61cd055565090706593e5ae2ef7beae95a833a93d7c7ed8e8afcf878 |