Skip to content

Commit

Permalink
deploy: 3458667
Browse files Browse the repository at this point in the history
  • Loading branch information
kandersolar committed Nov 14, 2023
1 parent 3cb4fa1 commit c3745cc
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 8 deletions.
14 changes: 11 additions & 3 deletions _sources/pages/data-aggregation.ipynb.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions _static/pygments.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */
.highlight .gd { color: #a40000 } /* Generic.Deleted */
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .ges { color: #000000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #ef2929 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
Expand Down
8 changes: 7 additions & 1 deletion pages/data-aggregation.html
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,13 @@ <h1>Data Aggregation: 5 to 30/60 minute<a class="headerlink" href="#Data-Aggrega
<img alt="../_images/pages_data-aggregation_11_0.png" src="../_images/pages_data-aggregation_11_0.png" />
</div>
</div>
<p>The 60-minute values are dead simple: they’re actually just every other 30-minute value. Therefore, they actually reflect the average only over the 30 minutes centered on the timestamp, not the entire hour. Other than simplicity and not having to store a separate dataset, it’s not clear to me why this is a good idea – I’d have thought that extending the above approach (average of thirteen 5-minute values) would make more sense.</p>
<p>The 60-minute values are dead simple: they’re actually just every other 30-minute value. Therefore, they actually reflect the average only over the 30 minutes centered on the timestamp, not the entire hour. Here’s an ASCII illustrattion:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Timestamps: 10 15 20 25 30 35 40 45 50 55 00 05 10 15 20 25 30 35 40 45 50
Interval 1: --------------------
Interval 2: --------------------
</pre></div>
</div>
<p>Other than simplicity and not having to store a separate dataset, it’s not clear to me why this is a good idea – I’d have thought that extending the above approach (average of thirteen 5-minute values) would make more sense.</p>
<p>Regardless, let’s show that it’s true:</p>
<div class="nbinput docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[10]:
Expand Down
14 changes: 11 additions & 3 deletions pages/data-aggregation.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit c3745cc

Please sign in to comment.