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

Uploaded Source

Built Distributions

OApackage-2.7.14-cp313-cp313-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.13 Windows x86-64

OApackage-2.7.14-cp312-cp312-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.12 Windows x86-64

OApackage-2.7.14-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

OApackage-2.7.14-cp310-cp310-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.10 Windows x86-64

File details

Details for the file OApackage-2.7.14.tar.gz.

File metadata

  • Download URL: OApackage-2.7.14.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for OApackage-2.7.14.tar.gz
Algorithm Hash digest
SHA256 66a3f32f1961757e60921fe8d09e57aeb4deaa6cf23fed600a1c27de49305738
MD5 22dc0ed0d07d18d1086cd7adeae3aadc
BLAKE2b-256 b268838f5fb76d320c570411a8082d10049c810fa4518619a81ed5ae3aeb26b4

See more details on using hashes here.

File details

Details for the file OApackage-2.7.14-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.7.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 aea8c6fad7caf52989878850989083486ee1015576c2e4225e85b546ff7099ae
MD5 016f1b557c759fd3d578c7cabf4d5e21
BLAKE2b-256 92909b4da7e36af721c87db1a94fcdb232a5e059eff0db11b39c3d28335fe77d

See more details on using hashes here.

File details

Details for the file OApackage-2.7.14-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.7.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8e38299c82a14e2bae257fe956b33e121239841c3b4633e23a6d81a602dde161
MD5 917fa8b50ef61c9ea1322a761044603a
BLAKE2b-256 121fc1ee218c6c8146434a682d07dced8be947e21f306780725d31b671a1cd31

See more details on using hashes here.

File details

Details for the file OApackage-2.7.14-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.7.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a0147580d8d0612085dab9e2e309bedf4115678e397462138f1f1ed969eca1d8
MD5 e2f0994437f7c079886cb8227c3940d7
BLAKE2b-256 9dcb445eada989faa0d1cb31303a5128990ee0dccb4a7e5403bd2ad923f667e5

See more details on using hashes here.

File details

Details for the file OApackage-2.7.14-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.7.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 86358ab55fb984bd840dac23d2db953d6fb489016a357e2aef0c75196c7c923c
MD5 c501c39e1b0c7e2061f9cc24d1791286
BLAKE2b-256 4331fe6eb8fc33194b832b09bccf0c35516fdf536b144ff0015c0204d025dad3

See more details on using hashes here.

Supported by

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