Name | csw93 JSON |
Version |
0.6.0
JSON |
| download |
home_page | https://abohyndoe.github.io/csw93/ |
Summary | Regular Fractional Factorial two-level designs from the paper of Chen, Sun and Wu (1993) |
upload_time | 2023-02-01 15:51:50 |
maintainer | |
docs_url | None |
author | Alexandre Bohyn |
requires_python | >=3.8,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# csw93 - Chen, Sun and Wu (1993)
[![PyPI](https://img.shields.io/pypi/v/csw93)](https://pypi.org/project/csw93/)
[![Documentation Status](https://readthedocs.org/projects/csw93/badge/?version=latest)](https://csw93.readthedocs.io/en/latest/?badge=latest)
![Build Status](https://github.com/ABohynDOE/csw93/actions/workflows/python-app.yml/badge.svg)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/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"][1].
For more information about the package and its functions, see the [documentation](https://csw93.readthedocs.io/en/latest/).
[1]: <https://www.jstor.org/stable/1403599>
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install csw93.
```bash
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.
```python
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](https://www.python.org/dev/peps/pep-0008/) style guide.
A useful tool for automated formatting is [black](https://black.readthedocs.io/en/stable/index.html).
### Submitting code
If you would like to contribute, please submit a pull request.
See the [Github Hello World](https://guides.github.com/activities/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](https://app.travis-ci.com/github/ABohynDOE/csw93).
To perform tests run [`pytest`](https://docs.pytest.org/en/latest/).
To obtain a [coverage](https://coverage.readthedocs.io) report in html, run
```bash
coverage run -m pytest .
coverage html
```
### Contact
For further information please contact Alexandre Bohyn, alexandre.bohyn at kuleuven.be
## License
[MIT](https://choosealicense.com/licenses/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
Raw data
{
"_id": null,
"home_page": "https://abohyndoe.github.io/csw93/",
"name": "csw93",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Alexandre Bohyn",
"author_email": "alexandre.bohyn@kuleuven.be",
"download_url": "https://files.pythonhosted.org/packages/b0/6c/6dcedc3238234ade537d01380df18f688334de388b1221cca6133f0ae140/csw93-0.6.0.tar.gz",
"platform": null,
"description": "# csw93 - Chen, Sun and Wu (1993)\n\n[![PyPI](https://img.shields.io/pypi/v/csw93)](https://pypi.org/project/csw93/)\n[![Documentation Status](https://readthedocs.org/projects/csw93/badge/?version=latest)](https://csw93.readthedocs.io/en/latest/?badge=latest)\n![Build Status](https://github.com/ABohynDOE/csw93/actions/workflows/python-app.yml/badge.svg)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nCSW93 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\"][1].\nFor more information about the package and its functions, see the [documentation](https://csw93.readthedocs.io/en/latest/).\n\n[1]: <https://www.jstor.org/stable/1403599>\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install csw93.\n\n```bash\npip install csw93\n```\n\n## Usage\n\nThe pakage provides three functions to get\n\n- The design matrix,\n- The word length pattern,\n- The number of clear two-factor interactions,\n\nusing only the number of runs and the index of the design.\nThis index corresponds to the first column in all tables of all tables from the paper.\n\n```python\nimport csw93\n\n# Design matrix of the 16-run design with index 8-4.1\ncsw93.get_design(16, \"8-4.1\")\n\n# Word length pattern of the 32-run design with index 15-10.2\ncsw93.get_wlp(32, \"8-4.1\")\n\n# Number of clear two-factor interactions for the 64-run design 11-5.10\ncsw93.get_cfi(64, \"11-5.10\")\n```\n\n## Contributing\n\n### Code style\n\nTry to follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide.\nA useful tool for automated formatting is [black](https://black.readthedocs.io/en/stable/index.html).\n\n### Submitting code\n\nIf you would like to contribute, please submit a pull request.\nSee the [Github Hello World](https://guides.github.com/activities/hello-world/) example, if you are new to Github.\nFor major changes, please open an issue first to discuss what you would like to change.\nBy 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.\n\n### Testing\n\nIf you contribute, please make sure to update the tests aproprietly.\nContinuous integration is performed on [Travis-CI](https://app.travis-ci.com/github/ABohynDOE/csw93).\nTo perform tests run [`pytest`](https://docs.pytest.org/en/latest/).\nTo obtain a [coverage](https://coverage.readthedocs.io) report in html, run\n\n```bash\ncoverage run -m pytest .\ncoverage html\n```\n\n### Contact\n\nFor further information please contact Alexandre Bohyn, alexandre.bohyn at kuleuven.be\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Roadmap\n\nList of the changes that will be implemented later on:\n\n- Write detailled documentation for readthedocs\n\n## Changelog\n\n- 0.6 : Addition of `word2num` and `num2word` functions\n- 0.5 : Remove unused function from docs\n- 0.4: fix wrong column numbers and added Xu 2009 to the database (not available as\n function yet)\n- 0.3: Integration to readthedocs.io\n- 0.2: Correct WLP\n- 0.1: initial version\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Regular Fractional Factorial two-level designs from the paper of Chen, Sun and Wu (1993)",
"version": "0.6.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3d20fe964e1dcdc28a917b22afdddf04c77d482a9d596fde386ea86c1a73220c",
"md5": "f29e7f8129bf5c33305b7fdc9dfb8cc1",
"sha256": "e8939534b1d2de20a2a765112b71eecc9d82c391d54f746c3fd29372d4b48b1e"
},
"downloads": -1,
"filename": "csw93-0.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f29e7f8129bf5c33305b7fdc9dfb8cc1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 36617,
"upload_time": "2023-02-01T15:51:48",
"upload_time_iso_8601": "2023-02-01T15:51:48.209869Z",
"url": "https://files.pythonhosted.org/packages/3d/20/fe964e1dcdc28a917b22afdddf04c77d482a9d596fde386ea86c1a73220c/csw93-0.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b06c6dcedc3238234ade537d01380df18f688334de388b1221cca6133f0ae140",
"md5": "9a6d01e4c45a2811f97f6410c49cfbc0",
"sha256": "b256d0c0a12021a6c17864016f3dcf1d56a5a33b8de1e9cfef912ae286087161"
},
"downloads": -1,
"filename": "csw93-0.6.0.tar.gz",
"has_sig": false,
"md5_digest": "9a6d01e4c45a2811f97f6410c49cfbc0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 36955,
"upload_time": "2023-02-01T15:51:50",
"upload_time_iso_8601": "2023-02-01T15:51:50.043766Z",
"url": "https://files.pythonhosted.org/packages/b0/6c/6dcedc3238234ade537d01380df18f688334de388b1221cca6133f0ae140/csw93-0.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-01 15:51:50",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "csw93"
}