Skip to main content

Package to generate and analyse orthogonal arrays and optimal designs

Project description

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.








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

Uploaded Source

Built Distributions

OApackage-2.4.6.win-amd64-py3.6.exe (1.7 MB view details)

Uploaded Source

OApackage-2.4.6.win-amd64-py3.5.exe (1.7 MB view details)

Uploaded Source

OApackage-2.4.6.win-amd64-py3.4.exe (1.3 MB view details)

Uploaded Source

OApackage-2.4.6.win-amd64-py2.7.exe (1.4 MB view details)

Uploaded Source

OApackage-2.4.6.win32-py3.6.exe (1.3 MB view details)

Uploaded Source

OApackage-2.4.6.win32-py3.5.exe (1.3 MB view details)

Uploaded Source

OApackage-2.4.6.win32-py3.4.exe (1.1 MB view details)

Uploaded Source

OApackage-2.4.6.win32-py2.7.exe (1.1 MB view details)

Uploaded Source

OApackage-2.4.6-cp36-cp36m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.6mWindows x86-64

OApackage-2.4.6-cp36-cp36m-win32.whl (865.5 kB view details)

Uploaded CPython 3.6mWindows x86

OApackage-2.4.6-cp35-cp35m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.5mWindows x86-64

OApackage-2.4.6-cp35-cp35m-win32.whl (865.5 kB view details)

Uploaded CPython 3.5mWindows x86

OApackage-2.4.6-cp34-cp34m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.4mWindows x86-64

OApackage-2.4.6-cp34-cp34m-win32.whl (880.9 kB view details)

Uploaded CPython 3.4mWindows x86

OApackage-2.4.6-cp27-cp27m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 2.7mWindows x86-64

OApackage-2.4.6-cp27-cp27m-win32.whl (857.4 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

  • Download URL: OApackage-2.4.6.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for OApackage-2.4.6.tar.gz
Algorithm Hash digest
SHA256 5409e6ab72cdd3a7cb16d3ad523ba1ea25a2a8ed9f31ae47dd0a2a06ef306b1d
MD5 f4caad414602b7a1d6bccc73a0b8ee5b
BLAKE2b-256 7fad70656e7fb6dac6f9e6d633928ac0942d38a1032b5950ad2375add8400d0f

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win-amd64-py3.6.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win-amd64-py3.6.exe
Algorithm Hash digest
SHA256 59bc8da3f44cb4b0d4e024cacf84cc27ea997453177486b8466c58f2c3d5ba28
MD5 24116b384ae340c01edae2ed153ed320
BLAKE2b-256 beb61ba977f818faafb4e42470659c8fda5cb378d899c18ea28dc2ad9737ef1c

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win-amd64-py3.5.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win-amd64-py3.5.exe
Algorithm Hash digest
SHA256 b5c90d9d4e441d17e444a5486a56e25ee21219f0d398436a5c58f9c8cdd66613
MD5 b8b31ac2a5eb2e11f5c4f4cd505b247e
BLAKE2b-256 57300564d8e0974255797927c0e5d509570e1ed463a2184d8dde56f13566aace

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win-amd64-py3.4.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 a8bfdb671eaf1654de123f9b64e16ad1e31f9d0da8080fe0ad27a5194240c02c
MD5 e449a4d8c3b52517856493f20978fef2
BLAKE2b-256 0d4eed9acb4eb2bce69276b8675462076860f409865515628929ef8715a0658b

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 bf54aff88ec4663f1896f12ec71fe6c16920ace265a7fd562a456f0e93431508
MD5 6c7a4a43c46f0a34c35ccf740b25d508
BLAKE2b-256 340c281ed1ac0c223927e8f25cb8bb36493ae05700c5bf0ecae836a19d5e4119

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win32-py3.6.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win32-py3.6.exe
Algorithm Hash digest
SHA256 919319949b0edd19c25c91ccff3a8e60c3a534662500ed8fb20ad474b3c70583
MD5 9f4c2894ff5caf9457aa8e07d75e65e5
BLAKE2b-256 6bf8c153d0c7ae61fbc9b72c2c40594a8033aa36726145f46278ce5657f2bef2

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win32-py3.5.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win32-py3.5.exe
Algorithm Hash digest
SHA256 10cd53014d6a1fc4f130d3e2909670dbea140ad2cf540e45c0ed3f9e781def00
MD5 ade0b4e81b77e4d0459547515e875713
BLAKE2b-256 e80b41dc12933475ea108f16cd59a19786d64917dce62880d3c3c5ba3e3486fb

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win32-py3.4.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win32-py3.4.exe
Algorithm Hash digest
SHA256 efa30a63213666be3b0bc90b03b24757af851d623dd13a26eb53b5aefa1926cc
MD5 1fd84f4a5ec9816f4dc0e51bcf71a2da
BLAKE2b-256 af75b9dc21512d2fec634e9c1c0188a2a96c66c1741d6d94821b8013b4e7b422

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6.win32-py2.7.exe.

File metadata

File hashes

Hashes for OApackage-2.4.6.win32-py2.7.exe
Algorithm Hash digest
SHA256 b9f3d2ec51e5481d98366de40848fe7a2c74184a3ce878f000bd49c9299b0fe0
MD5 0effa57ee9afc16f443a1a8da4155f8a
BLAKE2b-256 072fb598c27f68f6ed2aaba2c23eb05742dd419c3231c4c554f613a1993b4133

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bcbe74e7454ebbe102f0dac0fa10f6afed39652f0be843787272e26265ef8628
MD5 dd5b8ab69b3ad1f40a167f204f01d90b
BLAKE2b-256 936e1a7c68c9b80d3064e842176db26ee4028c6886e86cffd74e8a079da65ac2

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 4807c3191ca4cf88298184f2fc1b4a0ec07c62ac428fd36e15081efb42e4ae12
MD5 0b90b07dacdd3c71059f9ae1182bfe19
BLAKE2b-256 15bade6ddec5385475ee0347f642761d9cb8cfe0ac2d9550ce2fd6b7b5e27878

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 7ead0e914e888be23e9adafaab3ceefe4b2bd8bf5619ebf3d63dfd82ea8f8897
MD5 8ddb6816752fc641ff551f99756afc1b
BLAKE2b-256 b116e4d2439f4b3c0f16e7a439aef5df2f3df4e7f033d8d1a62efa76439a7a5a

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 30682bd9ddaf962be281f5e372f362f5e4a3e936429cb84870239f588cf9effa
MD5 9a4aa55d921a3836108cc42059b60033
BLAKE2b-256 a075654b388d01f72ced01d51b273e5a93d09f6ad49da050f924a625c884f1c8

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 fca5364551eff4674e258821b2849fd8d0f4617e9e471ca51f28d30cc0f6d50b
MD5 6a0af2f6f56ac07214933b11b264fadc
BLAKE2b-256 02c80f8482791d400296a41cfa0445a3d100ed999c1ef421714b3029dfac174f

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 7cf25641053d52d83e8f9397eb9032437f4db82a1be7702f364a199a20b2c85b
MD5 524fd2e238a92878c6cc3ccb8e506285
BLAKE2b-256 6d407513cecbce66a056f1b2ff93a8ad96928a51ce94733643405a85fba9e77a

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 bf74155f03ed367dbbaf58085107d7e480014da380f84bf8fd27591266d0b9ea
MD5 f90b12359c40026278a618d875c6967e
BLAKE2b-256 4f5cdce6541f68f41b318bc5d96bc6d9639e59274f586d4a5331fceab8195baa

See more details on using hashes here.

File details

Details for the file OApackage-2.4.6-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for OApackage-2.4.6-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 b67325cd2c3db43eff820b1aad326c292bf5df8ccb5e589f3eebc9a393f0205e
MD5 d16f9cfdb42544a49f10ce044677aa1a
BLAKE2b-256 f9cc0509c9b5d64f14e05ddc15083d599d415f39ef667ac1860e40d0c5ed44d8

See more details on using hashes here.

Supported by

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