|
Testing
|
$+
html.Snippet("gui/snippets/input-combo",
"items=spy.ED._get_description_items()",
"name=description@testing",
"value=spy.ED.get_stored_param('testing.description','.')",
"onchange=spy.ED._set_description_item(html.GetValue(~name~))",
"readonly=False",
)
$-
|
$+
html.Snippet("gui/snippets/input-combo","name=RZ@testing",
"width=100%",
"items=R1;Z",
"value=spy.ED.get_stored_param('testing.RZ','R1')",
"onchange=spy.ED.set_stored_param('testing.RZ', html.GetValue(~name~))",
"readonly=true")
$-
|
$+
html.Snippet("gui/snippets/gui-link-plain",
"value=Go!",
"name=DEFBTN_GO",
"scope=#scope",
"onclick=spy.ed.refinement_tests()",
"bgcolor=GetVar(gui.action_colour)",
"fgcolor=#ffffff",
)
$-
|
$+
html.Snippet("gui/snippets/gui-link-plain",
"value=Plot",
"name=DEFBTN_GO",
"scope=#scope",
"onclick=spy.ed._plot()",
"bgcolor=GetVar(gui.action_colour)",
"fgcolor=#ffffff",
)
$-
|
$+
html.Snippet("gui/snippets/gui-link-plain",
"value=STOP",
"name=DEFBTN_GO",
"scope=#scope",
"onclick=spy.ed.write_stop_file()",
"bgcolor=GetVar(gui.red)",
"fgcolor=#ffffff",
)
$-
|
Tests
|
$+html.Snippet("gui/snippets/input-combo",
"name=what@testing",
"width=100%",
"items=n-beams;points;weight;width;EDT;maxsg;span;step",
"value=spy.ED.get_stored_param('testing.what','N-Beams')",
"onchange=spy.ED.set_refinement_tests_settings(html.GetValue(~name~))",
"readonly=true")
$-
|
Start
|
$+
html.Snippet("gui/snippets/input-text",
"name=start@testing",
"value=spy.ED.get_stored_param('testing.start','3')",
"onchange=spy.ED.set_stored_param('testing.start', html.GetValue(~name~))",
)
$-
|
Incr
|
$+
html.Snippet("gui/snippets/input-text",
"name=increment@testing",
"value=spy.ED.get_stored_param('testing.increment','2')",
"onchange=spy.ED.set_stored_param('testing.increment', html.GetValue(~name~))",
)
$-
|
Iter
|
$+
html.Snippet("gui/snippets/input-text",
"name=iterations@testing",
"value=spy.ED.get_stored_param('testing.iterations','20')",
"onchange=spy.ED.set_stored_param('testing.iterations', html.GetValue(~name~))",
)
$-
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=new@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=New",
"checked=spy.ED.get_stored_param('testing.new',True)",
"onclick=spy.ED.set_stored_param('testing.new', html.GetState('~name~'))",
"disabled=not(spy.ED.is_dynamic())")
$-
|
Note
|
$+
html.Snippet("gui/snippets/input-text",
"multiline=false",
"name=TESTING.COMMENT",
"value=spy.ED.get_stored_param('testing.comment')",
"onchange=spy.ED.set_stored_param('testing.comment', html.GetValue('~name~'))")
$-
|
Include
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=plotR1@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=R1",
"checked=spy.ED.get_stored_param('plot.R1',True)",
"onclick=spy.ED.set_stored_param('plot.R1', html.GetState('~name~'))",
)
$-
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=plotR1Z@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=R1Z",
"checked=spy.ED.get_stored_param('plot.R1Z',True)",
"onclick=spy.ED.set_stored_param('plot.R1Z', html.GetState('~name~'))",
)
$-
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=plotEDT@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=EDT",
"checked=spy.ED.get_stored_param('plot.EDT',False)",
"onclick=spy.ED.set_stored_param('plot.EDT', html.GetState('~name~'))",
)
$-
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=plotEDTZ@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=EDTZ",
"checked=spy.ED.get_stored_param('plot.EDTZ',False)",
"onclick=spy.ED.set_stored_param('plot.EDTZ', html.GetState('~name~'))",
)
$-
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=plotZScore@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=Z",
"checked=spy.ED.get_stored_param('plot.ZScore',False)",
"onclick=spy.ED.set_stored_param('plot.ZScore', html.GetState('~name~'))",
)
$-
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=plotTime@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=T",
"checked=spy.ED.get_stored_param('plot.Time',True)",
"onclick=spy.ED.set_stored_param('plot.Time', html.GetState('~name~'))",
)
$-
|
$+
html.Snippet("gui/snippets/input-checkbox",
"name=plotN_obs@testing",
"bgcolor=GetVar(HtmlTableGroupBgColour)",
"value=N_obs",
"checked=spy.ED.get_stored_param('plot.N_obs',True)",
"onclick=spy.ED.set_stored_param('plot.N_obs', html.GetState('~name~'))",
)
$-
|