Source code :: Impurities content.php

[Return]
 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
##!/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)
%>

<a href="main.py">[Source - main.py]</a><br/>
<a href="CalcIonProjections.py">[Source - CalcIonProjections.py]</a><br/>
<a href="CalcDensTemp.py">[Source - CalcDensTemp.py]</a><br/>





% if Shot(shot)['plasma']:
	${make_image("graphs/temperature.png" , "Electron temperature")}
	${make_image("graphs/TotalPower.png" , "Total radiated power in UV,VIS,NIR range")}
	${make_image("graphs/density.png" , "Impurities relative concentration")}

	##${Shot(shot).get_pygolem_list(['spectrometr:temperature', 'spectrometr:impurities_concentration','spectrometr:total_radiated_power'])}
	${Shot(shot).get_pygolem_list(['spectrometr:data','spectrometr:impurities_concentration','spectrometr:total_radiated_power',
				      'spectrometr:resid_spectra','spectrometr:temperature','spectrometr:projections','spectrometr:projections_basis','spectrometr:energy_coefficients',
				      'spectrometr:mean_temperature', 'spectrometr:mean_radiation_power', 'IDA:IDA_ions_projections'  ])}

%else:
	<h2>No plasma</h2>
%endif

Navigation