summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-10-22 16:16:22 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-10-22 16:16:22 +0200
commitca17ae90c4fe49e578d010671cebb699b3d8a550 (patch)
treea62bfcb1b7556afbb93b9b804e61285621122aa3
parent6c17b2b6b2c107711a86311ec52bf505afda16c7 (diff)
start documenting env
-rw-r--r--README.md20
1 files changed, 11 insertions, 9 deletions
diff --git a/README.md b/README.md
index 5529261..72ce2dd 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,4 @@
-Dependencies
----
-
-```
-sudo apt install python3-numpy python3-scipy python3-sklearn
-```
-
-Code Style
----
+## Code Style
Please only commit blackened code. It's best to check this with a pre-commit
hook:
@@ -27,3 +19,13 @@ exec 1>&2
black --check $(git diff --cached --name-only --diff-filter=ACM $against | grep '\.py$')
```
+
+## Environment Variables
+
+The following variables may be set to alter the behaviour of dfatool components.
+
+| Flag | Range | Description |
+| :--- | :---: | :--- |
+| `DFATOOL_KCONF_WITH_CHOICE_NODES` | 0, **1** | Treat kconfig choices (e.g. "choice Model → MobileNet / ResNet / Inception") as enum parameters. If enabled, the corresponding boolean kconfig variables (e.g. "Model\_MobileNet") are not converted to parameters. If disabled, all (and only) boolean kconfig variables are treated as parameters. Mostly relevant for analyze-kconfig, eval-kconfig |
+| `DFATOOL_COMPENSATE_DRIFT` | **0**, 1 | Perform drift compensation for loaders without sync input (e.g. EnergyTrace or Keysight) |
+| `DFATOOL_DRIFT_COMPENSATION_PENALTY` | 0 .. 100 (default: majority vote over several penalties) | Specify penalty for ruptures.py PELT changepoint petection |