Commit 2691fcd2 authored by Matthew Tam's avatar Matthew Tam
Browse files

Merge branch 'master' of gitlab.gwdg.de:jschulz1/proxtoolbox

parents f3fd5f38 9de2800b
......@@ -17,7 +17,7 @@ calls up version 3 of python, then you can type
ipython
If you don't understand that last statement, skip it, it's not important.
Either way, if see a different cursor prompt, then your in. Congratulations,
Either way, if you see a different cursor prompt, then your in. Congratulations,
you have graduated to step 2!
2. Type
......@@ -31,26 +31,70 @@ if that makes any sense, which it probably doesn't, so just do it and stop askin
questions. There will be a lot of these kind of command you will be told to type
without explanation, so we'll just denote them JDI for ``just do it".
3. Demo-specific JDI: type
3. Demo-specific JDI: enter
from proxtoolbox.Problems import Sudoku
at the python prompt.
4. Demo-specific JDI: type
4. Demo-specific JDI: enter
ps=Sudoku()
at the python prompt.
5. Demo-specific JDI: type
ps.solve()
at the python prompt.
6. Demo-specific JDI: type
ps.show()
at the python prompt.
7. Did a graphics window appear with two Sudoku boards (one unsolved, one solved) and two graphs
underneat? Congratulations, you've just taken your first step into a larger world!
underneath? Congratulations, you've just taken your first step into a larger world!
Got that? Great. Let's try it again, with another demo. First, to keep python running fast
lets clear out the current session by typing
exit()
at the python prompt. Yup. You're back in the X-window shell. Repeat steps 1-2 above.
3'. Demo-specific JDI: enter
from proxtoolbox.Problems import Ptychography
at the python prompt.
4'. Demo-specific JDI: enter
pp=Ptychography()
at the python prompt.
5'. Demo-specific JDI: enter
pp.solve()
at the python prompt.
6'. Demo-specific JDI: enter
pp.show()
at the python prompt.
7'. Did several graphics windows appear with lots of graphs and pictures?
Congratulations, you've just taken your second step into a larger world!
Now, to see that you've understood everything, debug Ziehe's code, because
the pictures show that it is not working properly.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment