From 9743dca77514314c6c293e701295eec8574b2d4c Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 18 Nov 2024 15:52:07 +0800 Subject: [PATCH] PyThermostat: Move scripts into subfolder As Thermostat Python scripts are not single-file Python modules and should be packaged inside PyThermostat. --- doc/PID tuning.md | 4 ++-- pythermostat/{ => pythermostat}/autotune.py | 0 pythermostat/{ => pythermostat}/plot.py | 0 pythermostat/{ => pythermostat}/test.py | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename pythermostat/{ => pythermostat}/autotune.py (100%) rename pythermostat/{ => pythermostat}/plot.py (100%) rename pythermostat/{ => pythermostat}/test.py (100%) diff --git a/doc/PID tuning.md b/doc/PID tuning.md index 767704c..1c48a00 100644 --- a/doc/PID tuning.md +++ b/doc/PID tuning.md @@ -13,7 +13,7 @@ When tuning Thermostat PID parameters, it is helpful to view the temperature, PI To use the Python real-time plotting utility, run ```shell -python pythermostat/plot.py +python pythermostat/pythermostat/plot.py ``` ![default view](./assets/default%20view.png) @@ -49,7 +49,7 @@ A PID auto tuning utility is provided in the PyThermostat library. The auto tuni To run the auto tuning utility, run ```shell -python pythermostat/autotune.py +python pythermostat/pythermostat/autotune.py ``` After some time, the auto tuning utility will output the auto tuning results, below is a sample output diff --git a/pythermostat/autotune.py b/pythermostat/pythermostat/autotune.py similarity index 100% rename from pythermostat/autotune.py rename to pythermostat/pythermostat/autotune.py diff --git a/pythermostat/plot.py b/pythermostat/pythermostat/plot.py similarity index 100% rename from pythermostat/plot.py rename to pythermostat/pythermostat/plot.py diff --git a/pythermostat/test.py b/pythermostat/pythermostat/test.py similarity index 100% rename from pythermostat/test.py rename to pythermostat/pythermostat/test.py