You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.1 KiB
86 lines
2.1 KiB
9 years ago
|
<!doctype html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
|
|
||
9 years ago
|
<title>FFT - Current analyzer</title>
|
||
9 years ago
|
|
||
|
<link href="/css/app.css" rel="stylesheet">
|
||
|
|
||
|
|
||
|
<script src="/js/all.js"></script>
|
||
|
</head>
|
||
9 years ago
|
<body class="page-fft">
|
||
9 years ago
|
<div id="outer">
|
||
|
<nav id="menu">
|
||
9 years ago
|
<div id="brand" onclick="$('#menu').toggleClass('expanded')">Current Analyser</div>
|
||
|
<a href="/">Home</a><a href="/wifi">WiFi config</a><a href="/waveform">Waveform</a><a href="/fft" class="selected">FFT</a><a href="/about">About</a></nav>
|
||
9 years ago
|
<div id="content">
|
||
|
|
||
9 years ago
|
<h1>FFT</h1>
|
||
9 years ago
|
|
||
9 years ago
|
<div class="Box center" id="samp-ctrl">
|
||
|
<div>
|
||
9 years ago
|
<label for="count">Bins</label>
|
||
|
<label for="count" class="select-wrap">
|
||
|
<select name="count" id="count">
|
||
|
<!-- <option value="16">8-->
|
||
|
<!-- <option value="32">16-->
|
||
|
<!-- <option value="64">32-->
|
||
|
<!-- <option value="128">64-->
|
||
|
<!-- <option value="256">128-->
|
||
|
<option value="512">256
|
||
|
<option value="1024">512
|
||
|
<option value="2048" selected>1024
|
||
|
</select>
|
||
|
</label>
|
||
9 years ago
|
</div>
|
||
|
<div>
|
||
9 years ago
|
<label for="freq">Rate <span class="mq-tablet-max" style="font-weight:normal;">(Hz)</span></label>
|
||
9 years ago
|
<input id="freq" type="number" value="4096">
|
||
9 years ago
|
<span class="mq-normal-min">Hz</span>
|
||
|
</div>
|
||
|
<div>
|
||
|
<a id="load" class="button btn-green">Load</a>
|
||
|
</div>
|
||
9 years ago
|
</div>
|
||
|
|
||
9 years ago
|
<div class="Box medium chartbox">
|
||
9 years ago
|
<div id="chart" class="ct-chart ct-wide ct-with-area"></div>
|
||
9 years ago
|
<div class="stats invis">
|
||
|
<table>
|
||
|
<tr>
|
||
9 years ago
|
<th>Samples</th>
|
||
9 years ago
|
<td id="stat-count"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>f<sub>s</sub></th>
|
||
|
<td id="stat-f-s"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>I<sub>peak</sub></th>
|
||
|
<td id="stat-i-peak"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>I<sub>RMS</sub></th>
|
||
|
<td id="stat-i-rms"></td>
|
||
|
</tr>
|
||
|
</table>
|
||
9 years ago
|
<div class="ar"><!-- auto reload -->
|
||
|
<input type="number" id="ar-time" step="0.5" value="1" min="0"> s
|
||
|
<input type="button" id="ar-btn" class="btn-blue narrow" value="Auto">
|
||
|
</div>
|
||
9 years ago
|
</div>
|
||
9 years ago
|
</div>
|
||
|
|
||
|
<script>
|
||
9 years ago
|
$().ready(page_waveform.init('fft'));
|
||
9 years ago
|
</script>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|