##!/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)
%>
% if Shot(shot)['plasma']:
${make_image("graphs/spectrum_retrofit.png" , "Total retrofits of the spectra")}
<a href="graphs/spectra.svgz">[Details]</a><br/>
${make_image("graphs/proj_retrofit.png" , "Projections retrofit by the radiation model")}
${Shot(shot).get_pygolem_list(['spectrometr:resid_spectra'])}
%else:
<h2>No plasma</h2>
%endif