##!/usr/bin/python2
## -*- coding: utf-8 -*-
<%page args="shot, page" />
<%
from pygolem_lite.web import make_config, get_page_paths, make_image
from pygolem_lite import Shot
page_path, base_path, page = get_page_paths(shot, page)
%>
<h4>Oscilloscope screenshot</h4>
${make_image('screenshot') }
<h4>Graphs: <a href="main.py">[Source main.py]</a> <a href="makefile">[Source makefile]</a> <a href="isf_read.py">[Source isf_read.py]</a></h4>
% for i in range(1, 4+1):
%try:
${ make_config(page_path + ('/ch%i.cfg' % i) ) }
${ make_image("graph%i" % i) }
${ make_image("graph%i_intgr" % i) }
%except Exception, e:
${e}
%endtry
% endfor
${Shot(shot).get_pygolem_das('Tektronix3014')}