Browse Source

rename day-to-day-comparisons.py to daily-comparisons.py & updates.

master
Craig Oates 1 year ago
parent
commit
bf03b70942
  1. 197
      docs/daily-comparisons.org
  2. 19
      docs/day-to-day-comparisons.org

197
docs/daily-comparisons.org

@ -0,0 +1,197 @@
* Overview of =daily-comparisons.py= Script
I have assumed you have ran ~./separator.sh~ and ~./totalilator.sh~, created a
virtual-environment (venv) (~python3 -m venv venv~) and installed the dependencies
(via ~pip -r install requirements.txt~). See the project's [[file:../README.org][README]] for more
information on setting the repository up.
#+begin_src shell
cd <PATH TO RITHERDON-CHARTS>
# Activate the virtual-environment if you haven't...
source venv/bin/activate
# Run the script...
python day-to-day-comparisons.py
#+end_src
* Design/Trade-Off Notes and Decisions
1. Each Light Meter has different timestamps which are difficult to map onto
each other. So, I have assigned each reading an Id. number instead. This means
the time element of these charts is reduced, for lack of a better word.
1. Both Light Meters took a different amount of readings from each other
throughout the course of the exhibition. This has added to the difficulty
of mapping the x-axis range between the two Light Meters.
2. The charts paint the general pattern of behaviour for a given day and not
an exact retelling of the days events -- to the nearest minute/second.
3. *I have gone into more detail in [[file:./dailies-overlayed.org][dailies-overlayed.org]] if you want more
information on this design constraint.* It is the exact same problem I had
to overcome and the same tactic I used there (replace timestamps with
Id. numbers).
2. These charts are not the main aim of this project. I started working on this
script after completing the main task -- which I did with the
[[file:../daily-breakdowns.py][daily-breakdowns.py]] script. Accuracy was not a major goal. I thought it
was interesting to see the general patterns of behaviour between the two
Light Meters across the same day.
* Files Used
#+begin_src shell :results code
ls ../data/light-meter-*/2021-*-*.csv
#+end_src
#+RESULTS:
#+begin_src shell
../data/light-meter-1/2021-06-13.csv
../data/light-meter-1/2021-06-14.csv
../data/light-meter-1/2021-06-15.csv
../data/light-meter-1/2021-06-16.csv
../data/light-meter-1/2021-06-17.csv
../data/light-meter-1/2021-06-18.csv
../data/light-meter-1/2021-06-19.csv
../data/light-meter-1/2021-06-20.csv
../data/light-meter-1/2021-06-21.csv
../data/light-meter-1/2021-06-22.csv
../data/light-meter-1/2021-06-23.csv
../data/light-meter-1/2021-06-24.csv
../data/light-meter-1/2021-06-25.csv
../data/light-meter-1/2021-06-26.csv
../data/light-meter-1/2021-06-27.csv
../data/light-meter-1/2021-06-28.csv
../data/light-meter-1/2021-06-29.csv
../data/light-meter-1/2021-06-30.csv
../data/light-meter-1/2021-07-01.csv
../data/light-meter-1/2021-07-02.csv
../data/light-meter-1/2021-07-03.csv
../data/light-meter-1/2021-07-04.csv
../data/light-meter-1/2021-07-05.csv
../data/light-meter-1/2021-07-06.csv
../data/light-meter-1/2021-07-07.csv
../data/light-meter-1/2021-07-08.csv
../data/light-meter-1/2021-07-09.csv
../data/light-meter-1/2021-07-10.csv
../data/light-meter-1/2021-07-11.csv
../data/light-meter-1/2021-07-12.csv
../data/light-meter-1/2021-07-13.csv
../data/light-meter-1/2021-07-14.csv
../data/light-meter-1/2021-07-15.csv
../data/light-meter-1/2021-07-16.csv
../data/light-meter-1/2021-07-17.csv
../data/light-meter-1/2021-07-18.csv
../data/light-meter-1/2021-07-19.csv
../data/light-meter-1/2021-07-20.csv
../data/light-meter-1/2021-07-21.csv
../data/light-meter-1/2021-07-22.csv
../data/light-meter-1/2021-07-23.csv
../data/light-meter-1/2021-07-24.csv
../data/light-meter-1/2021-07-25.csv
../data/light-meter-1/2021-07-26.csv
../data/light-meter-1/2021-07-27.csv
../data/light-meter-1/2021-07-28.csv
../data/light-meter-1/2021-07-29.csv
../data/light-meter-1/2021-07-30.csv
../data/light-meter-2/2021-06-13.csv
../data/light-meter-2/2021-06-14.csv
../data/light-meter-2/2021-06-15.csv
../data/light-meter-2/2021-06-16.csv
../data/light-meter-2/2021-06-17.csv
../data/light-meter-2/2021-06-18.csv
../data/light-meter-2/2021-06-19.csv
../data/light-meter-2/2021-06-20.csv
../data/light-meter-2/2021-06-21.csv
../data/light-meter-2/2021-06-22.csv
../data/light-meter-2/2021-06-23.csv
../data/light-meter-2/2021-06-24.csv
../data/light-meter-2/2021-06-25.csv
../data/light-meter-2/2021-06-26.csv
../data/light-meter-2/2021-06-27.csv
../data/light-meter-2/2021-06-28.csv
../data/light-meter-2/2021-06-29.csv
../data/light-meter-2/2021-06-30.csv
../data/light-meter-2/2021-07-01.csv
../data/light-meter-2/2021-07-02.csv
../data/light-meter-2/2021-07-03.csv
../data/light-meter-2/2021-07-04.csv
../data/light-meter-2/2021-07-05.csv
../data/light-meter-2/2021-07-06.csv
../data/light-meter-2/2021-07-07.csv
../data/light-meter-2/2021-07-08.csv
../data/light-meter-2/2021-07-09.csv
../data/light-meter-2/2021-07-10.csv
../data/light-meter-2/2021-07-11.csv
../data/light-meter-2/2021-07-12.csv
../data/light-meter-2/2021-07-13.csv
../data/light-meter-2/2021-07-14.csv
../data/light-meter-2/2021-07-15.csv
../data/light-meter-2/2021-07-16.csv
../data/light-meter-2/2021-07-17.csv
../data/light-meter-2/2021-07-18.csv
../data/light-meter-2/2021-07-19.csv
../data/light-meter-2/2021-07-20.csv
../data/light-meter-2/2021-07-21.csv
../data/light-meter-2/2021-07-22.csv
../data/light-meter-2/2021-07-23.csv
../data/light-meter-2/2021-07-24.csv
../data/light-meter-2/2021-07-25.csv
../data/light-meter-2/2021-07-26.csv
../data/light-meter-2/2021-07-27.csv
../data/light-meter-2/2021-07-28.csv
../data/light-meter-2/2021-07-29.csv
../data/light-meter-2/2021-07-30.csv
#+end_src
* Files Produced
#+begin_src shell :results code
ls ../output/side-by-side-day-*.html
#+end_src
#+RESULTS:
#+begin_src shell
../output/side-by-side-day-06-14.html
../output/side-by-side-day-06-15.html
../output/side-by-side-day-06-16.html
../output/side-by-side-day-06-17.html
../output/side-by-side-day-06-18.html
../output/side-by-side-day-06-19.html
../output/side-by-side-day-06-20.html
../output/side-by-side-day-06-21.html
../output/side-by-side-day-06-22.html
../output/side-by-side-day-06-23.html
../output/side-by-side-day-06-24.html
../output/side-by-side-day-06-25.html
../output/side-by-side-day-06-26.html
../output/side-by-side-day-06-27.html
../output/side-by-side-day-06-28.html
../output/side-by-side-day-06-29.html
../output/side-by-side-day-06-30.html
../output/side-by-side-day-07-14.html
../output/side-by-side-day-07-15.html
../output/side-by-side-day-07-16.html
../output/side-by-side-day-07-17.html
../output/side-by-side-day-07-18.html
../output/side-by-side-day-07-19.html
../output/side-by-side-day-07-20.html
../output/side-by-side-day-07-21.html
../output/side-by-side-day-07-22.html
../output/side-by-side-day-07-23.html
../output/side-by-side-day-07-24.html
../output/side-by-side-day-07-25.html
../output/side-by-side-day-07-26.html
../output/side-by-side-day-07-27.html
../output/side-by-side-day-07-28.html
../output/side-by-side-day-07-29.html
../output/side-by-side-day-07-30.html
#+end_src
* What the Script Does
This script produces charts which compares the readings collected on by both
Light Meter readings from the same day. As a general observation, Light Meter 1
tended to record less readings (for various reasons) than Light Meter 2. So, you
will find the readings for Light Meter 1 stop a lot sooner than Light Meter 2
when viewing the charts.
* Examples/Screenshots
[[file:../assets/side-by-side-comparison-2021-07-19.png]]

19
docs/day-to-day-comparisons.org

@ -1,19 +0,0 @@
* Overview of =day-to-day-comparisons.py= Script
I have assumed you have ran ~./separator.sh~ and ~./totalilator.sh~, created a
virtual-environment (venv) (~python3 -m venv venv~) and installed the dependencies
(via ~pip -r install requirements.txt~). See the project's [[file:../README.org][README]] for more
information on setting the repository up.
#+begin_src shell
cd <PATH TO RITHERDON-CHARTS>
# Activate the virtual-environment if you haven't...
source venv/bin/activate
# Run the script...
python day-to-day-comparisons.py
#+end_src
* What the Script Does
This needs to be written...
Loading…
Cancel
Save