File: index.html

package info (click to toggle)
bart 0.9.00-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,040 kB
  • sloc: ansic: 116,116; python: 1,329; sh: 726; makefile: 639; javascript: 589; cpp: 106
file content (62 lines) | stat: -rw-r--r-- 2,315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!-- Copyright 2023. Christian Tönnes.
  All rights reserved. Use of this source code is governed by
  a BSD-style license which can be found in the LICENSE file.
  
  Authors:
  2023 Christian Tönnes <christian.toennes@keks.li>
 -->
<!DOCTYPE html>
<html>
    <head>
        <script src="./bart.js"></script>
        <script src="./test.js"></script>
    </head>
    <body>
        <div>
            <a href="/cmd.html">Go to full BART CMD interface</a>
        </div>
        <div>
            <label for="select_phantom">Select Phantom Type:</label>
            <select id="select_phantom">
                <option value="0">Shepp-Logan</option>
                <option value="1">BART</option>
                <option value="2">Circle</option>
            </select>
        </div>
        <div>
            <button id="show_phantom" onclick="show_phantom()">Show Phantom</button>
            <button id="fft_phantom" onclick="fft_phantom()" disabled>Show FFT of Phantom</button>
            <button id="ifft_phantom" onclick="ifft_fft_phantom()" disabled>Show IFFT of FFT of Phantom</button>
            <div>
                <canvas style="width:128;height:128" id="phant"></canvas>
            </div>
        </div>
        <div>
            <div>
                <canvas style="width:128;height:128" id="fft_phant"></canvas>
            </div>
        </div>
        <div>
            <div>
                <canvas style="width:128;height:128" id="ifft_phant"></canvas>
            </div>
        </div>
        <div>
            <button id="btn_pics_phantom" onclick="pics_phantom()">Calculate Phantom for PICS</button>
            <button id="btn_pics_ifft" onclick="pics_ifft()" disabled>IFFT of Phantom</button>
            <button id="btn_pics" onclick="pics()" disabled>PICS reconstruction of Phantom</button>
            <div>
                <canvas style="width:128;height:128" id="pics_kspace"></canvas>
            </div>
            <div>
                <canvas style="width:128;height:128" id="pics_ifft"></canvas>
            </div>
            <div>
                <canvas style="width:128;height:128" id="pics_sens"></canvas>
            </div>
            <div>
                <canvas style="width:128;height:128" id="pics"></canvas>
            </div>
        </div>
    </body>
</html>