Skip to main content

csw93 - Chen, Sun and Wu (1993)

PyPI Documentation Status Build Status Code style: black

CSW93 is a Python package that makes availalble the design matrices of all regular fractional factorial two-level designs from the 1993 paper of Chen, Sun and Wu: "A catalogue of two-level and three-level fractional factorial designs with small runs". For more information about the package and its functions, see the documentation.

Installation

Use the package manager pip to install csw93.

pip install csw93

Usage

The pakage provides three functions to get

  • The design matrix,
  • The word length pattern,
  • The number of clear two-factor interactions,

using only the number of runs and the index of the design. This index corresponds to the first column in all tables of all tables from the paper.

import csw93

# Design matrix of the 16-run design with index 8-4.1
csw93.get_design(16, "8-4.1")

# Word length pattern of the 32-run design with index 15-10.2
csw93.get_wlp(32, "8-4.1")

# Number of clear two-factor interactions for the 64-run design 11-5.10
csw93.get_cfi(64, "11-5.10")

Contributing

Code style

Try to follow the PEP 8 style guide. A useful tool for automated formatting is black.

Submitting code

If you would like to contribute, please submit a pull request. See the Github Hello World example, if you are new to Github. For major changes, please open an issue first to discuss what you would like to change. By contributing to the repository you state you own the copyright to those contributions and agree to include your contributions as part of this project under the MIT license.

Testing

If you contribute, please make sure to update the tests aproprietly. Continuous integration is performed on Travis-CI. To perform tests run pytest. To obtain a coverage report in html, run

coverage run -m pytest .
coverage html

Contact

For further information please contact Alexandre Bohyn, alexandre.bohyn at kuleuven.be

License

MIT

Roadmap

List of the changes that will be implemented later on:

  • Write detailled documentation for readthedocs

Changelog

  • 0.6 : Addition of word2num and num2word functions
  • 0.5 : Remove unused function from docs
  • 0.4: fix wrong column numbers and added Xu 2009 to the database (not available as function yet)
  • 0.3: Integration to readthedocs.io
  • 0.2: Correct WLP
  • 0.1: initial version

Metadata

Release files for csw93 0.6.0

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

Source distribution (sdist)

Source distribution for csw93 0.6.0
File Size Uploaded Provenance Actions
csw93-0.6.0.tar.gz 37.0 kB Without provenance Details for csw93-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for csw93 0.6.0
File Interpreter ABI Platform Actions
csw93-0.6.0-py3-none-any.whl Python 3 none any Details for csw93-0.6.0-py3-none-any.whl

Total release size: 73.6 kB

Release files / csw93-0.6.0.tar.gz

Download URL csw93-0.6.0.tar.gz
Size 37.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b256d0c0a12021a6c17864016f3dcf1d56a5a33b8de1e9cfef912ae286087161
BLAKE2b-256 checksum
How to use checksums
b06c6dcedc3238234ade537d01380df18f688334de388b1221cca6133f0ae140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.8.5 Linux/4.4.0-19041-Microsoft

Release files / csw93-0.6.0-py3-none-any.whl

Download URL csw93-0.6.0-py3-none-any.whl
Size 36.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8939534b1d2de20a2a765112b71eecc9d82c391d54f746c3fd29372d4b48b1e
BLAKE2b-256 checksum
How to use checksums
3d20fe964e1dcdc28a917b22afdddf04c77d482a9d596fde386ea86c1a73220c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.8.5 Linux/4.4.0-19041-Microsoft

Security for csw93 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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