-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ f03b4ca 🚀
- Loading branch information
Showing
205 changed files
with
1,356 additions
and
964 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=9"/> | ||
<meta name="generator" content="Doxygen 1.9.1"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>3-phase PV router: Member List</title> | ||
<link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="dynsections.js"></script> | ||
<link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="search/searchdata.js"></script> | ||
<script type="text/javascript" src="search/search.js"></script> | ||
<link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr style="height: 56px;"> | ||
<td id="projectalign" style="padding-left: 0.5em;"> | ||
<div id="projectname">3-phase PV router | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.9.1 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript" src="menudata.js"></script> | ||
<script type="text/javascript" src="menu.js"></script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */</script> | ||
<div id="main-nav"></div> | ||
<!-- window showing the filter options --> | ||
<div id="MSearchSelectWindow" | ||
onmouseover="return searchBox.OnSearchSelectShow()" | ||
onmouseout="return searchBox.OnSearchSelectHide()" | ||
onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<iframe src="javascript:void(0)" frameborder="0" | ||
name="MSearchResults" id="MSearchResults"> | ||
</iframe> | ||
</div> | ||
|
||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="headertitle"> | ||
<div class="title">EWMA_average< A > Member List</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
|
||
<p>This is the complete list of members for <a class="el" href="classEWMA__average.html">EWMA_average< A ></a>, including all inherited members.</p> | ||
<table class="directory"> | ||
<tr class="even"><td class="entry"><a class="el" href="classEWMA__average.html#a208b9b3d82809466b4d90aedb3c7e4db">addValue</a>(int32_t input)</td><td class="entry"><a class="el" href="classEWMA__average.html">EWMA_average< A ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> | ||
<tr><td class="entry"><a class="el" href="classEWMA__average.html#a6fbbe5221e07dccf5bb8af302c9c59f1">getAverage</a>() const</td><td class="entry"><a class="el" href="classEWMA__average.html">EWMA_average< A ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> | ||
</table></div><!-- contents --> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 | ||
</small></address> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=9"/> | ||
<meta name="generator" content="Doxygen 1.9.1"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>3-phase PV router: EWMA_average< A > Class Template Reference</title> | ||
<link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="jquery.js"></script> | ||
<script type="text/javascript" src="dynsections.js"></script> | ||
<link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="search/searchdata.js"></script> | ||
<script type="text/javascript" src="search/search.js"></script> | ||
<link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr style="height: 56px;"> | ||
<td id="projectalign" style="padding-left: 0.5em;"> | ||
<div id="projectname">3-phase PV router | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.9.1 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript" src="menudata.js"></script> | ||
<script type="text/javascript" src="menu.js"></script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */</script> | ||
<div id="main-nav"></div> | ||
<!-- window showing the filter options --> | ||
<div id="MSearchSelectWindow" | ||
onmouseover="return searchBox.OnSearchSelectShow()" | ||
onmouseout="return searchBox.OnSearchSelectHide()" | ||
onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<iframe src="javascript:void(0)" frameborder="0" | ||
name="MSearchResults" id="MSearchResults"> | ||
</iframe> | ||
</div> | ||
|
||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="summary"> | ||
<a href="#pub-methods">Public Member Functions</a> | | ||
<a href="classEWMA__average-members.html">List of all members</a> </div> | ||
<div class="headertitle"> | ||
<div class="title">EWMA_average< A > Class Template Reference</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
|
||
<p>Exponentially Weighted Moving Average. | ||
<a href="classEWMA__average.html#details">More...</a></p> | ||
|
||
<p><code>#include <<a class="el" href="movingAvg_8h_source.html">movingAvg.h</a>></code></p> | ||
<table class="memberdecls"> | ||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> | ||
Public Member Functions</h2></td></tr> | ||
<tr class="memitem:a208b9b3d82809466b4d90aedb3c7e4db"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classEWMA__average.html#a208b9b3d82809466b4d90aedb3c7e4db">addValue</a> (int32_t input)</td></tr> | ||
<tr class="separator:a208b9b3d82809466b4d90aedb3c7e4db"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:a6fbbe5221e07dccf5bb8af302c9c59f1"><td class="memItemLeft" align="right" valign="top">auto </td><td class="memItemRight" valign="bottom"><a class="el" href="classEWMA__average.html#a6fbbe5221e07dccf5bb8af302c9c59f1">getAverage</a> () const</td></tr> | ||
<tr class="separator:a6fbbe5221e07dccf5bb8af302c9c59f1"><td class="memSeparator" colspan="2"> </td></tr> | ||
</table> | ||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | ||
<div class="textblock"><h3>template<uint8_t A = 10><br /> | ||
class EWMA_average< A ></h3> | ||
|
||
<p>Exponentially Weighted Moving Average. </p> | ||
<p>The smoothing factor is the approximate amount of values taken to calculate the average. Since the Arduino is very slow and does not provide any dedicated math co-processor, the smoothing factor will be rounded to the previous power of 2. Ie 120 will be rounded to 64. This allows to perform all the calculations with integer math, which is much faster !</p> | ||
<dl class="section note"><dt>Note</dt><dd>Because of the 'sign extension', the sign is copied into lower bits.</dd></dl> | ||
<dl class="tparams"><dt>Template Parameters</dt><dd> | ||
<table class="tparams"> | ||
<tr><td class="paramname">A</td><td>Smoothing factor </td></tr> | ||
</table> | ||
</dd> | ||
</dl> | ||
<dl class="params"><dt>Parameters</dt><dd> | ||
<table class="params"> | ||
<tr><td class="paramname">input</td><td>Input value </td></tr> | ||
</table> | ||
</dd> | ||
</dl> | ||
<dl class="section return"><dt>Returns</dt><dd>long Output value </dd></dl> | ||
|
||
<p class="definition">Definition at line <a class="el" href="movingAvg_8h_source.html#l00055">55</a> of file <a class="el" href="movingAvg_8h_source.html">movingAvg.h</a>.</p> | ||
</div><h2 class="groupheader">Member Function Documentation</h2> | ||
<a id="a208b9b3d82809466b4d90aedb3c7e4db"></a> | ||
<h2 class="memtitle"><span class="permalink"><a href="#a208b9b3d82809466b4d90aedb3c7e4db">◆ </a></span>addValue()</h2> | ||
|
||
<div class="memitem"> | ||
<div class="memproto"> | ||
<div class="memtemplate"> | ||
template<uint8_t A = 10> </div> | ||
<table class="mlabels"> | ||
<tr> | ||
<td class="mlabels-left"> | ||
<table class="memname"> | ||
<tr> | ||
<td class="memname">void <a class="el" href="classEWMA__average.html">EWMA_average</a>< A >::addValue </td> | ||
<td>(</td> | ||
<td class="paramtype">int32_t </td> | ||
<td class="paramname"><em>input</em></td><td>)</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
</td> | ||
<td class="mlabels-right"> | ||
<span class="mlabels"><span class="mlabel">inline</span></span> </td> | ||
</tr> | ||
</table> | ||
</div><div class="memdoc"> | ||
|
||
<p class="definition">Definition at line <a class="el" href="movingAvg_8h_source.html#l00058">58</a> of file <a class="el" href="movingAvg_8h_source.html">movingAvg.h</a>.</p> | ||
<div class="dynheader"> | ||
Here is the call graph for this function:</div> | ||
<div class="dyncontent"> | ||
<div class="center"><img src="classEWMA__average_a208b9b3d82809466b4d90aedb3c7e4db_cgraph.png" border="0" usemap="#aclassEWMA__average_a208b9b3d82809466b4d90aedb3c7e4db_cgraph" alt=""/></div> | ||
<map name="aclassEWMA__average_a208b9b3d82809466b4d90aedb3c7e4db_cgraph" id="aclassEWMA__average_a208b9b3d82809466b4d90aedb3c7e4db_cgraph"> | ||
<area shape="rect" title=" " alt="" coords="5,5,197,32"/> | ||
<area shape="rect" href="movingAvg_8h.html#ab2d65d6104cd09368e1b72bb4342cae5" title="Helper compile-time function to retrieve the previous power of 2 of the given number (120 => 64 => 6)" alt="" coords="245,5,429,32"/> | ||
</map> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
<a id="a6fbbe5221e07dccf5bb8af302c9c59f1"></a> | ||
<h2 class="memtitle"><span class="permalink"><a href="#a6fbbe5221e07dccf5bb8af302c9c59f1">◆ </a></span>getAverage()</h2> | ||
|
||
<div class="memitem"> | ||
<div class="memproto"> | ||
<div class="memtemplate"> | ||
template<uint8_t A = 10> </div> | ||
<table class="mlabels"> | ||
<tr> | ||
<td class="mlabels-left"> | ||
<table class="memname"> | ||
<tr> | ||
<td class="memname">auto <a class="el" href="classEWMA__average.html">EWMA_average</a>< A >::getAverage </td> | ||
<td>(</td> | ||
<td class="paramname"></td><td>)</td> | ||
<td> const</td> | ||
</tr> | ||
</table> | ||
</td> | ||
<td class="mlabels-right"> | ||
<span class="mlabels"><span class="mlabel">inline</span></span> </td> | ||
</tr> | ||
</table> | ||
</div><div class="memdoc"> | ||
|
||
<p class="definition">Definition at line <a class="el" href="movingAvg_8h_source.html#l00064">64</a> of file <a class="el" href="movingAvg_8h_source.html">movingAvg.h</a>.</p> | ||
|
||
</div> | ||
</div> | ||
<hr/>The documentation for this class was generated from the following file:<ul> | ||
<li>Mk2_3phase_RFdatalog_temp/<a class="el" href="movingAvg_8h_source.html">movingAvg.h</a></li> | ||
</ul> | ||
</div><!-- contents --> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 | ||
</small></address> | ||
</body> | ||
</html> |
4 changes: 4 additions & 0 deletions
4
classEWMA__average_a208b9b3d82809466b4d90aedb3c7e4db_cgraph.map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<map id="EWMA_average::addValue" name="EWMA_average::addValue"> | ||
<area shape="rect" id="node1" title=" " alt="" coords="5,5,197,32"/> | ||
<area shape="rect" id="node2" href="$movingAvg_8h.html#ab2d65d6104cd09368e1b72bb4342cae5" title="Helper compile-time function to retrieve the previous power of 2 of the given number (120 => 64 => 6)" alt="" coords="245,5,429,32"/> | ||
</map> |
1 change: 1 addition & 0 deletions
1
classEWMA__average_a208b9b3d82809466b4d90aedb3c7e4db_cgraph.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ac8d6991aa144f2b873ce2ccef59f989 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.