Skip to main content

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:

The code was written by:

Ideas contributed by:

See the file LICENSE for copyright details.

Installation

PyPI version Build status Build Status Documentation Status

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.

Release files for oapackage 2.7.20

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.7.20
File Size Uploaded
oapackage-2.7.20.tar.gz 6.4 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for oapackage 2.7.20
File
oapackage-2.7.20-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
oapackage-2.7.20-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
oapackage-2.7.20-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
oapackage-2.7.20-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
oapackage-2.7.20-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details

Total release size: 12.8 MB

Release files / oapackage-2.7.20.tar.gz

Download URL oapackage-2.7.20.tar.gz
Size 6.4 MB
Tags Source
SHA-256 checksum
How to use checksums
5d78d58118eff73eb0bb3ecaed88e5f593effc89600a7c1c9c93425291800641
BLAKE2b-256 checksum
How to use checksums
3eb6a3c927754e23a0e99336b91493cd83804866ed602e55ce0f6cf4c735cdf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / oapackage-2.7.20-cp314-cp314-win_amd64.whl

Download URL oapackage-2.7.20-cp314-cp314-win_amd64.whl
Size 1.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
555cae6ffd35bafdedf72e6fca7757e1883e0d953fd5635f985b363cfe39315e
BLAKE2b-256 checksum
How to use checksums
fa3aed66f18f3801a34578f4be2c3cf593ecb9725d8a5c2f7d4d8feb18eb0a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / oapackage-2.7.20-cp313-cp313-win_amd64.whl

Download URL oapackage-2.7.20-cp313-cp313-win_amd64.whl
Size 1.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
18ed189eeeafb79aa5ddaa87a413cdb85747e71d43dc52a1a22912c2774c0cbe
BLAKE2b-256 checksum
How to use checksums
08ec59541a28720215a00d5f4b94719edbd19f1bc63714fd98f1c61ff4ca575d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / oapackage-2.7.20-cp312-cp312-win_amd64.whl

Download URL oapackage-2.7.20-cp312-cp312-win_amd64.whl
Size 1.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
840ab0619ed782fccc3550ad6b8e58c85b346a4112febc4e752d1040dbcf96d7
BLAKE2b-256 checksum
How to use checksums
fab44d4820578fb4c7dd639c82543e914dfac4837ed69300fd3c7c6329357353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / oapackage-2.7.20-cp311-cp311-win_amd64.whl

Download URL oapackage-2.7.20-cp311-cp311-win_amd64.whl
Size 1.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f8b60977a8a6ccb09f8e48811070d2d1f334a90c0bfd30578c005f42c8e6c9c2
BLAKE2b-256 checksum
How to use checksums
abb11ed8fb213aadb8dd78301c1f4387142f0e9ce61b7874bef9b4e72dfddde4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / oapackage-2.7.20-cp310-cp310-win_amd64.whl

Download URL oapackage-2.7.20-cp310-cp310-win_amd64.whl
Size 1.3 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c88dd4ccbadd047c22ad19e7ef8439c37dc44adc22cebcb67f79fb3f5703ffa5
BLAKE2b-256 checksum
How to use checksums
1d01a09cf92fc39dbba14edbd2a6b34846011f89fcd679dc34c0ae43c196396a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3
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