Difference between revisions of "UnixRX"
Peter Beerli (talk | contribs) |
Peter Beerli (talk | contribs) |
||
Line 2: | Line 2: | ||
'''Course notes for the Workshop August 2017: | '''Course notes for the Workshop August 2017: | ||
''' | ''' | ||
− | # Thursday: Python lists, loops, how to code a program from start to finish: example "calculate Pi using the | + | # Thursday: Python lists, loops, how to code a program from start to finish: example "calculate Pi using the Monte Carlo method" |
− | # Friday: Functions, reading and writing, plotting and other packages to make | + | # Friday: Functions, reading and writing, plotting and other packages to make Python life easier |
[http://peterbeerli.com/workshops/unixrx/unixrx_2017.zip Workshop codes and presentation] | [http://peterbeerli.com/workshops/unixrx/unixrx_2017.zip Workshop codes and presentation] | ||
Line 15: | Line 15: | ||
[[File:unixrx.png|center|top|800px]] | [[File:unixrx.png|center|top|800px]] | ||
− | '''Course notes for the Workshop | + | '''Course notes for the Workshop May 2013: |
''' | ''' | ||
− | # [[Media:unixrx_1_intro.pdf|Monday: UNIX introduction]]. On the first day, we explore the UNIX command line, learn about copying renaming, deleting, but also about extracting lines from files etc. ([[Media:unixcheatsheet.pdf|UNIX | + | # [[Media:unixrx_1_intro.pdf|Monday: UNIX introduction]]. On the first day, we explore the UNIX command line, learn about copying renaming, deleting, but also about extracting lines from files etc. ([[Media:unixcheatsheet.pdf|UNIX cheat sheet]]) |
− | # [[Media:unixrx_2_python.pdf|Tuesday: Python baby steps: calculating Pi]] We learn the very basics of the programming language Python, and end the day with writing a full | + | # [[Media:unixrx_2_python.pdf|Tuesday: Python baby steps: calculating Pi]] We learn the very basics of the programming language Python, and end the day with writing a full Python program to estimate the value of Pi using a Monte Carlo approach. |
# [[Media:unixrx_3_readwrite.pdf|Wednesday: Reading and Writing]]. We learn how to read from a file and write to a file using python. | # [[Media:unixrx_3_readwrite.pdf|Wednesday: Reading and Writing]]. We learn how to read from a file and write to a file using python. | ||
− | # [[Media:unixrx_4_plotting.pdf|Thursday: Plotting]]. Python makes plotting easy and we can create nice | + | # [[Media:unixrx_4_plotting.pdf|Thursday: Plotting]]. Python makes plotting easy and we can create nice XY-plots and histograms. |
− | # [[Media:unixrx_5_scpy_numpy.pdf|Friday: Scipy/Numpy and other complications]]. Python has a small core but there are many modules that can be imported, modules for computation such as | + | # [[Media:unixrx_5_scpy_numpy.pdf|Friday: Scipy/Numpy and other complications]]. Python has a small core but there are many modules that can be imported, modules for computation such as Scipy and Numpy are necessary if you want to do any serious computing with python. We learn about how to use these models. |
[[File:groupsmall.jpg|center|bottom|500px]]<br> | [[File:groupsmall.jpg|center|bottom|500px]]<br> |
Revision as of 06:21, 26 August 2017
Course notes for the Workshop August 2017:
- Thursday: Python lists, loops, how to code a program from start to finish: example "calculate Pi using the Monte Carlo method"
- Friday: Functions, reading and writing, plotting and other packages to make Python life easier
Workshop codes and presentation
Course notes for the Workshop May 2013:
- Monday: UNIX introduction. On the first day, we explore the UNIX command line, learn about copying renaming, deleting, but also about extracting lines from files etc. (UNIX cheat sheet)
- Tuesday: Python baby steps: calculating Pi We learn the very basics of the programming language Python, and end the day with writing a full Python program to estimate the value of Pi using a Monte Carlo approach.
- Wednesday: Reading and Writing. We learn how to read from a file and write to a file using python.
- Thursday: Plotting. Python makes plotting easy and we can create nice XY-plots and histograms.
- Friday: Scipy/Numpy and other complications. Python has a small core but there are many modules that can be imported, modules for computation such as Scipy and Numpy are necessary if you want to do any serious computing with python. We learn about how to use these models.