Skip to main content
Orthogonal Array Package
========================

(version 2.4.4)

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 oapackage
>>> al=oapackage.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)
```

For for examples see the Ipython notebooks in the
[examples](examples/).

Acknowledgements
------------

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](http://dx.doi.org/10.1002/jcd.20236), 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](https://doi.org/10.1080/00401706.2016.1142903), Pieter T. Eendebak, Eric D. Schoen, Technometrics Vol. 59 , Iss. 1, 2017

The code was written by:

* Pieter Eendebak <pieter.eendebak@gmail.com>
* Vincent Brouerius van Nidek
* Alan Vazquez-Alcocer

Ideas contributed by:

* Eric Schoen <eric.schoen@tno.nl>
* Alan Vazquez-Alcocer <alanrvazquez@gmail.com>

See the file LICENSE for copyright details.

Installation
------------

[![PyPI version](https://badge.fury.io/py/OApackage.svg)](https://badge.fury.io/py/OApackage)
[![Build status](https://ci.appveyor.com/api/projects/status/f6ia9br95soimf9u?svg=true)](https://ci.appveyor.com/project/eendebakpt/oapackage-4lws8)

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

(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 binary tools have been tested using Linux, Windows XP/Win7/Win10 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.








Metadata

Release files for oapackage 2.4.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oapackage 2.4.6
File Size Uploaded
OApackage-2.4.6.tar.gz 1.0 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for oapackage 2.4.6
File
OApackage-2.4.6.win-amd64-py3.6.exe Details
OApackage-2.4.6.win-amd64-py3.5.exe Details
OApackage-2.4.6.win-amd64-py3.4.exe Details
OApackage-2.4.6.win-amd64-py2.7.exe Details
OApackage-2.4.6.win32-py3.6.exe Details
OApackage-2.4.6.win32-py3.5.exe Details
OApackage-2.4.6.win32-py3.4.exe Details
OApackage-2.4.6.win32-py2.7.exe Details
OApackage-2.4.6-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
OApackage-2.4.6-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
OApackage-2.4.6-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
OApackage-2.4.6-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
OApackage-2.4.6-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
OApackage-2.4.6-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
OApackage-2.4.6-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
OApackage-2.4.6-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details

Total release size: 19.9 MB

Release files / OApackage-2.4.6.tar.gz

Download URL OApackage-2.4.6.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
5409e6ab72cdd3a7cb16d3ad523ba1ea25a2a8ed9f31ae47dd0a2a06ef306b1d
BLAKE2b-256 checksum
How to use checksums
7fad70656e7fb6dac6f9e6d633928ac0942d38a1032b5950ad2375add8400d0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win-amd64-py3.6.exe

Download URL OApackage-2.4.6.win-amd64-py3.6.exe
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
59bc8da3f44cb4b0d4e024cacf84cc27ea997453177486b8466c58f2c3d5ba28
BLAKE2b-256 checksum
How to use checksums
beb61ba977f818faafb4e42470659c8fda5cb378d899c18ea28dc2ad9737ef1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win-amd64-py3.5.exe

Download URL OApackage-2.4.6.win-amd64-py3.5.exe
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b5c90d9d4e441d17e444a5486a56e25ee21219f0d398436a5c58f9c8cdd66613
BLAKE2b-256 checksum
How to use checksums
57300564d8e0974255797927c0e5d509570e1ed463a2184d8dde56f13566aace
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win-amd64-py3.4.exe

Download URL OApackage-2.4.6.win-amd64-py3.4.exe
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
a8bfdb671eaf1654de123f9b64e16ad1e31f9d0da8080fe0ad27a5194240c02c
BLAKE2b-256 checksum
How to use checksums
0d4eed9acb4eb2bce69276b8675462076860f409865515628929ef8715a0658b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win-amd64-py2.7.exe

Download URL OApackage-2.4.6.win-amd64-py2.7.exe
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
bf54aff88ec4663f1896f12ec71fe6c16920ace265a7fd562a456f0e93431508
BLAKE2b-256 checksum
How to use checksums
340c281ed1ac0c223927e8f25cb8bb36493ae05700c5bf0ecae836a19d5e4119
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win32-py3.6.exe

Download URL OApackage-2.4.6.win32-py3.6.exe
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
919319949b0edd19c25c91ccff3a8e60c3a534662500ed8fb20ad474b3c70583
BLAKE2b-256 checksum
How to use checksums
6bf8c153d0c7ae61fbc9b72c2c40594a8033aa36726145f46278ce5657f2bef2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win32-py3.5.exe

Download URL OApackage-2.4.6.win32-py3.5.exe
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
10cd53014d6a1fc4f130d3e2909670dbea140ad2cf540e45c0ed3f9e781def00
BLAKE2b-256 checksum
How to use checksums
e80b41dc12933475ea108f16cd59a19786d64917dce62880d3c3c5ba3e3486fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win32-py3.4.exe

Download URL OApackage-2.4.6.win32-py3.4.exe
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
efa30a63213666be3b0bc90b03b24757af851d623dd13a26eb53b5aefa1926cc
BLAKE2b-256 checksum
How to use checksums
af75b9dc21512d2fec634e9c1c0188a2a96c66c1741d6d94821b8013b4e7b422
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6.win32-py2.7.exe

Download URL OApackage-2.4.6.win32-py2.7.exe
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b9f3d2ec51e5481d98366de40848fe7a2c74184a3ce878f000bd49c9299b0fe0
BLAKE2b-256 checksum
How to use checksums
072fb598c27f68f6ed2aaba2c23eb05742dd419c3231c4c554f613a1993b4133
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp36-cp36m-win_amd64.whl

Download URL OApackage-2.4.6-cp36-cp36m-win_amd64.whl
Size 1.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
bcbe74e7454ebbe102f0dac0fa10f6afed39652f0be843787272e26265ef8628
BLAKE2b-256 checksum
How to use checksums
936e1a7c68c9b80d3064e842176db26ee4028c6886e86cffd74e8a079da65ac2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp36-cp36m-win32.whl

Download URL OApackage-2.4.6-cp36-cp36m-win32.whl
Size 865.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
4807c3191ca4cf88298184f2fc1b4a0ec07c62ac428fd36e15081efb42e4ae12
BLAKE2b-256 checksum
How to use checksums
15bade6ddec5385475ee0347f642761d9cb8cfe0ac2d9550ce2fd6b7b5e27878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp35-cp35m-win_amd64.whl

Download URL OApackage-2.4.6-cp35-cp35m-win_amd64.whl
Size 1.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
7ead0e914e888be23e9adafaab3ceefe4b2bd8bf5619ebf3d63dfd82ea8f8897
BLAKE2b-256 checksum
How to use checksums
b116e4d2439f4b3c0f16e7a439aef5df2f3df4e7f033d8d1a62efa76439a7a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp35-cp35m-win32.whl

Download URL OApackage-2.4.6-cp35-cp35m-win32.whl
Size 865.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
30682bd9ddaf962be281f5e372f362f5e4a3e936429cb84870239f588cf9effa
BLAKE2b-256 checksum
How to use checksums
a075654b388d01f72ced01d51b273e5a93d09f6ad49da050f924a625c884f1c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp34-cp34m-win_amd64.whl

Download URL OApackage-2.4.6-cp34-cp34m-win_amd64.whl
Size 1.1 MB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
fca5364551eff4674e258821b2849fd8d0f4617e9e471ca51f28d30cc0f6d50b
BLAKE2b-256 checksum
How to use checksums
02c80f8482791d400296a41cfa0445a3d100ed999c1ef421714b3029dfac174f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp34-cp34m-win32.whl

Download URL OApackage-2.4.6-cp34-cp34m-win32.whl
Size 880.9 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
7cf25641053d52d83e8f9397eb9032437f4db82a1be7702f364a199a20b2c85b
BLAKE2b-256 checksum
How to use checksums
6d407513cecbce66a056f1b2ff93a8ad96928a51ce94733643405a85fba9e77a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp27-cp27m-win_amd64.whl

Download URL OApackage-2.4.6-cp27-cp27m-win_amd64.whl
Size 1.1 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
bf74155f03ed367dbbaf58085107d7e480014da380f84bf8fd27591266d0b9ea
BLAKE2b-256 checksum
How to use checksums
4f5cdce6541f68f41b318bc5d96bc6d9639e59274f586d4a5331fceab8195baa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / OApackage-2.4.6-cp27-cp27m-win32.whl

Download URL OApackage-2.4.6-cp27-cp27m-win32.whl
Size 857.4 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
b67325cd2c3db43eff820b1aad326c292bf5df8ccb5e589f3eebc9a393f0205e
BLAKE2b-256 checksum
How to use checksums
f9cc0509c9b5d64f14e05ddc15083d599d415f39ef667ac1860e40d0c5ed44d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page