Skip to main content

Design Of Experiments Numerical Utility Toolkit

Project description

warning: this repository is currently in a state of flux as it is prepared for use as a proper module. Expect things to move around without warning for the immediate future!

Design of Experiments Numerical Utility Toolkit DoENUT

Package to conveniently combine all necessary functions required to do Design of Experiments.

Code for a forthcoming paper: "DoENUT: Design of Experiments Numerical Utility Toolbox, for use in research and teaching," Ella M. Gale

Also has tutorials and examples

A python module to do DoE from start to finish for the main methodologies used by chemists and thus explain the methods of DoE to the interested chemist.

Design of experiments[1] (DoE) is a technique widely used in industry to optimise processes, formulations and materials or to quickly explore chemical space. The standard approach to scientific research is the one variable at a time (OVAT), where a single variable is changed and the effect measured, or the related ‘trail and error’ approach where an experimentor does repeated OVAT experiments to understand a process. DoE changes more than one variable at a time, and uses regression to fit simple models to the data, which shows up where there is interaction between factors, which can improve (synergistic) or reduce (antagonistic) outcomes. DoE is commonly used to optimise a process. The DoE method is:

  1. identify all possible factors that could affect an experiment/process deciding which ones to investigate

  2. setting up a series of experiments to fully explore the variable landscape by changing more than one variable at a time

  3. including repeat experiments to get a measure of the variance in the data

  4. using multi-variate linear regression to fit models to the data

  5. using leave one out approaches to test the predictability of the models

  6. using cost terms (often associated with the number of terms in the model

  7. choosing the best model using predictability and cost

  8. using the model to predict which area of variable space to explore next to continue to optimise.

There are several software programs to make this easy (e.g. Modde,SAS etc). For example, in optimsing a new recipie for Pringles (a type of potatoe based chip) that reduced the amount of potato flour by including rice, corn and wheat flour, Kelloggs performed a DoE with the constraints that the potato flour content must be at least 40% and that the water content must be 40%, but the amount of other flours were varied simultaneously. DoE experimentation tends to give some understanding as to what is important in a system, and has the advantage over OVAT that you know exactly how many experiments you will need to do a priori. Giving the requirement for several experiments, DoE approaches go very well with automated synthesis machines (like ChemSpeed etc), allowing for easy gathering of data.

[1] Also called ‘experimental design’ and ‘statistical experimental design’

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

doenut-0.1.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

doenut-0.1.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file doenut-0.1.0.tar.gz.

File metadata

  • Download URL: doenut-0.1.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.1.0-13-amd64

File hashes

Hashes for doenut-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4101d8764b6b4cb79e462d4296a9bf0b922604f2bf9e377f3e132606a702f68
MD5 e163512f4543b8089032c3a95b660bd4
BLAKE2b-256 b1d44118f9331daeb48e713fef13dca429e20467644107e0f1876026b34d752a

See more details on using hashes here.

File details

Details for the file doenut-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: doenut-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.1.0-13-amd64

File hashes

Hashes for doenut-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edfed5c328d415e80b76456f203bc2aa75081840cf91c2839af324ff4ed4e990
MD5 08d5d566cad63fecbaa22b6bf764cffd
BLAKE2b-256 a14ab989a4d736304574350770caaacdd7924864b77e628dbb55330970db6cb2

See more details on using hashes here.

Supported by

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