EngineeringDoE
Introduction
This package is a wrapper of pyDOE2 package. It is used to generate design of experiments (DoE) for engineering applications in a way that are easy to set up and export as csv files.
Installation
To install the package, run the following command in the terminal:
pip install EngineeringDoE
Usage
There package support two phases: Generation of DoE and tracking of the evaluation of the DoE design cases.
Generation of DoE
from EngineeringDoE import DoE, VariableDefinition, Variable
v1 = VariableDefinition("Thickness", bounds=(0.1, 0.5), units="m")
v2 = VariableDefinition("Width", type="discrete", options=[4, 5, 6])
v3 = VariableDefinition("Height", bounds=(0.1, 0.5), units="m") PerformanceMetricDefinition("Weight", "kg")
# create a DoE object with 10 samples distrubuted according to a Latin Hypercube Sampling.
doe = DoE(variables=[v1, v2, v3], n=10)
# export the DoE to a csv file
doe.export("doe.csv")
Metadata
Release files for engineeringdoe 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| engineeringdoe-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / engineeringdoe-0.1.0-py3-none-any.whl
| Download URL | engineeringdoe-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acfb9ac9853154f2afd1ec90259105b33408313da1a3b0f5613e306782a916ad
|
|
BLAKE2b-256 checksum How to use checksums |
b4c5be83783cd4ada55f622417b36be37dec1c6a7617b559c089d1249d492ac9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|