##!/usr/bin/python2
## -*- coding: utf-8 -*-
<%page args="shot, page" />
<%
from pygolem_lite.modules import make_config, get_page_paths, make_image
from pygolem_lite import Shot
import re
page_path, base_path, page = get_page_paths(shot, page)
%>
<a href="main.py">[Source - main.py]</a><br/>
<a href="CMWT.py">[Source - CMWT.py]</a><br/>
<a href="SoundGenerator.py">[Source - SoundGenerator.py]</a><br/>
<h3>NTM detected from Mirnov coils mc1,mc5,mc9,mc13</h3>
%for i in range(-1,3):
${make_image( "graphs/spectrogram"+str(i)+".png" , "NTM of the order "+str(i))}
<?php
if (file_exists("${ "graphs/spectrogram"+str(i)+".png" }")) {
?>
<br/>
<object type="application/x-shockwave-flash" data="./player_mp3_maxi.swf" width="700" height="20" hspace="-10" >
<param name="movie" value="./player_mp3_maxi.swf" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3=./mp3/sound${str(i)}.mp3&width=700&height=20&showstop=1&showvolume=1" />
</object>
<?php
}
?>
<br/>
% endfor