$+
html.Snippet("gui/snippets/input-checkbox-td",
"name=MO",
"label=MO",
"checked=spy.GetParam('snum.NoSpherA2.Property_MO')",
"oncheck=spy.SetParam('snum.NoSpherA2.Property_MO','True')>>html.Update()",
"bgcolor=GetVar(HtmlTableRowBgColour)",
"td1=",
"onuncheck=spy.SetParam('snum.NoSpherA2.Property_MO','False')>>html.Update()"
)
$-
$+
html.Snippet("gui/snippets/input-checkbox-td",
"name=HDEF",
"label=HDEF",
"checked=spy.GetParam('snum.NoSpherA2.Property_ATOM')",
"oncheck=spy.SetParam('snum.NoSpherA2.Property_ATOM','True') >> html.Update()",
"bgcolor=GetVar(HtmlTableRowBgColour)",
"td1= | ",
"onuncheck=spy.SetParam('snum.NoSpherA2.Property_ATOM','False') >> html.Update()"
)
$-
|
Radius /Å |
$+
html.Snippet("gui/snippets/input-text",
"name=SET_SNUM_CUBE_RADIUS_NoSpherA2",
"value=spy.GetParam('snum.NoSpherA2.map.radius')",
"onchange=spy.SetParam('snum.NoSpherA2.map.radius',html.GetValue(~name~))",
"onchangealways=True",
)
$-
|
|
$+
html.Snippet("gui/snippets/gui-link-button",
"value=Calculate",
"onclick=spy.NoSpherA2.calculate_cubes()",
"bgcolor=GetVar(HtmlTableRowBgColour)",
"td1=",
)
$-
#ignoreif -->
#ignoreif -->
#ignoreif -->
| Res /Å |
$+
html.Snippet("gui/snippets/input-text",
"name=SET_SNUM_CUBE_RESOLUTION_NoSpherA2",
"value=spy.GetParam('snum.NoSpherA2.map.resolution')",
"onchange=spy.SetParam('snum.NoSpherA2.map.resolution',html.GetValue(~name~))>>spy.SetParam('snum.map.resolution',html.GetValue(~name~))",
"onchangealways=True",
)
$-
|
Plot |
$+
html.Snippet("gui/snippets/input-combo",
"name=SET_SNUM_NoSpherA2_MAP_TYPE",
"items=spy.NoSpherA2.get_map_types()",
"value=spy.GetParam('snum.NoSpherA2.map.type')",
"onchange=spy.SetParam('snum.NoSpherA2.map.type',html.GetValue('~name~')) >> spy.NoSpherA2.change_map() >> html.Update()",
"onchangealways=True",
)
$-
|
$+
html.Snippet("gui/snippets/gui-link-button",
"value='Disable Map'",
"onclick=xgrid.Visible(False) >> html.Update()",
"bgcolor=\$GetVar(HtmlTableRowBgColour)",
)
$-
#ignoreif -->
View |
$+
html.Snippet("gui/snippets/input-combo",
"name=SET_SNUM_XGRID_VIEW_#suffix",
"items=plane;contour+plane;surface;wire;points",
"value=spy.GetParam(snum.xgrid.view)",
"onchange=spy.SetParam(snum.xgrid.view,html.GetValue(~name~)) >> spy.gui.maps.SetXgridView() >> html.Update()",
"onchangealways=True",
)
$-
|
#ignoreif -->
#ignoreif -->
$+
html.Snippet("gui/snippets/gui-link-button",
"value=Edit Style",
"onclick=editmaterial XGrid",
"bgcolor=\$GetVar(HtmlTableRowBgColour)",
)
$-
Level |
#ignoreif -->
Colours |
$+
html.Snippet("gui/snippets/input-combo",
"name=SET_SNUM_XGRID_HEAT_COLOURS#suffix",
"items=2;3;5;7",
"value=spy.GetParam(snum.xgrid.heat_colours)",
"onchange=spy.SetParam(snum.xgrid.heat_colours,html.GetValue(~name~)) >> spy.gui.maps.SetXgridView() >> html.Update()",
"onchangealways=True",
)
$-
|
Contours |
$+
html.Snippet("gui/snippets/input-slider",
"param=snum.xgrid.contours",
"name=SNUM_XGRID_CONTOUR",
"min=3",
"max=30",
"scale=1",
"bgcolor=\$GetVar(HtmlTableFirstcolColour)",
"cmd=xgrid.Contours(html.GetValue(SNUM_XGRID_CONTOUR_VALUE))",
)
$-
Map Scale |
$+
html.Snippet(GetVar(default_link),
"value=Automatic",
"onclick=xgrid.fix 1 0>>html.SetValue(SNUM_XGRID_STEP_VALUE,0) >> html.SetValue(SNUM_XGRID_STEP_SLIDE,0) >> html.SetValue(SNUM_XGRID_FIX,0)",
)
$-
$+
html.Snippet(GetVar(default_link),
"value=Static",
"onclick=spy.gui.maps.get_best_contour_maps()",
)
$-
Min. |
$+
html.Snippet("gui/snippets/input-slider",
"param=snum.xgrid.fix",
"name=SNUM_XGRID_FIX",
"min=-40",
"max=40",
"scale=4",
"bgcolor=\$GetVar(HtmlTableFirstcolColour)",
"cmd=xgrid.fix(html.GetValue(SNUM_XGRID_FIX_VALUE),html.GetValue(SNUM_XGRID_STEP_VALUE))",
"td1=",
"swidth=75"
)
$-
| Step |
$+
html.Snippet("gui/snippets/input-slider",
"param=snum.xgrid.step",
"name=SNUM_XGRID_STEP",
"min=1",
"max=25",
"scale=50",
"bgcolor=\$GetVar(HtmlTableFirstcolColour)",
"cmd=xgrid.fix(html.GetValue(SNUM_XGRID_FIX_VALUE),html.GetValue(SNUM_XGRID_STEP_VALUE))",
"td1=",
"swidth=75"
)
$-
|
$+
html.Snippet(GetVar(default_link),
"value=Depth",
"onclick=mpln -n>>selback>>mpln",
"td1=",
)
$-
$+
html.Snippet("gui/snippets/input-slider",
"param=snum.xgrid.depth",
"name=SNUM_XGRID_DEPTH",
"min=\$math.eval(-2.5/gl.CalcZoom())",
"max=\$math.eval(2.5/gl.CalcZoom())",
"bgcolor=\$GetVar(HtmlTableFirstcolColour)",
"cmd=xgrid.Depth(html.GetValue(SNUM_XGRID_DEPTH_VALUE))",
"td1= | ",
"scale=1",
"swidth=92"
)
$-
|
Size |
$+
html.Snippet("gui/snippets/input-slider",
"param=snum.xgrid.size",
"name=SNUM_XGRID_SIZE",
"min=1",
"max=50",
"bgcolor=\$GetVar(HtmlTableFirstcolColour)",
"cmd=xgrid.Size(html.GetValue(SNUM_XGRID_SIZE_VALUE))",
"td1=",
"scale=1",
"swidth=92"
)
$-
#ignoreif -->
#ignoreif -->
|