Skip to main content

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:

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.

Project details


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.7.20.tar.gz (6.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

oapackage-2.7.20-cp314-cp314-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.14Windows x86-64

oapackage-2.7.20-cp313-cp313-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.13Windows x86-64

oapackage-2.7.20-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

oapackage-2.7.20-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

oapackage-2.7.20-cp310-cp310-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.10Windows x86-64

File details

Details for the file oapackage-2.7.20.tar.gz.

File metadata

  • Download URL: oapackage-2.7.20.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for oapackage-2.7.20.tar.gz
Algorithm Hash digest
SHA256 5d78d58118eff73eb0bb3ecaed88e5f593effc89600a7c1c9c93425291800641
MD5 36818d4455ba4d5fce693bf786c468fe
BLAKE2b-256 3eb6a3c927754e23a0e99336b91493cd83804866ed602e55ce0f6cf4c735cdf6

See more details on using hashes here.

File details

Details for the file oapackage-2.7.20-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: oapackage-2.7.20-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for oapackage-2.7.20-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 555cae6ffd35bafdedf72e6fca7757e1883e0d953fd5635f985b363cfe39315e
MD5 7b64989e135ff20481c88b67c2fee5c8
BLAKE2b-256 fa3aed66f18f3801a34578f4be2c3cf593ecb9725d8a5c2f7d4d8feb18eb0a72

See more details on using hashes here.

File details

Details for the file oapackage-2.7.20-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: oapackage-2.7.20-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for oapackage-2.7.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 18ed189eeeafb79aa5ddaa87a413cdb85747e71d43dc52a1a22912c2774c0cbe
MD5 ebd86277f7523a09418efefa3c449338
BLAKE2b-256 08ec59541a28720215a00d5f4b94719edbd19f1bc63714fd98f1c61ff4ca575d

See more details on using hashes here.

File details

Details for the file oapackage-2.7.20-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: oapackage-2.7.20-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for oapackage-2.7.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 840ab0619ed782fccc3550ad6b8e58c85b346a4112febc4e752d1040dbcf96d7
MD5 029401105bace0e3e868f2bdb481c79f
BLAKE2b-256 fab44d4820578fb4c7dd639c82543e914dfac4837ed69300fd3c7c6329357353

See more details on using hashes here.

File details

Details for the file oapackage-2.7.20-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: oapackage-2.7.20-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for oapackage-2.7.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f8b60977a8a6ccb09f8e48811070d2d1f334a90c0bfd30578c005f42c8e6c9c2
MD5 a2f7c346a16e1df7f26ca1a5cdb0d5e0
BLAKE2b-256 abb11ed8fb213aadb8dd78301c1f4387142f0e9ce61b7874bef9b4e72dfddde4

See more details on using hashes here.

File details

Details for the file oapackage-2.7.20-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: oapackage-2.7.20-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for oapackage-2.7.20-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c88dd4ccbadd047c22ad19e7ef8439c37dc44adc22cebcb67f79fb3f5703ffa5
MD5 c27faeb88f382508ce2e696e1d4794dd
BLAKE2b-256 1d01a09cf92fc39dbba14edbd2a6b34846011f89fcd679dc34c0ae43c196396a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page