##!/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="PlasmaPosition.py">[Source - PlasmaPosition.py]</a><br/>
<a href="MagFieldCalc.py">[Source - MagFieldCalc.py]</a><br/>
<a href="MagFieldProfileGen.py">[Source - MagFieldProfileGen.py]</a><br/>
% if Shot(shot)['plasma']:
${make_image("graphs/retrofit" , "Retrofit normalized by plasma current")}
%else:
<h2>No plasma</h2>
%endif