Difference: PostExamPython (9 vs. 10)

Revision 1029 May 2019 - AndrewCasey

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Course Notes:

PH2150 - Post Exam Python (to be moved onto the PH2150 Moodle page during the summer moodle rol-over)

Read this first Basic Python notes (written for 2.x, to be updated during the summer): ph2150_notes_2016.pdf (25 pages)

The complete guide to Scientific Programming in Python written by the developers: ScipyLectures-simple.pdf, html version here https://scipy-lectures.org/

Post Exam Week:

  1. Introduction
    • Starting python and getting used to the environment
    • Python as a calculator
  2. Functions
    • Use functions already defined in python or python libraries
    • Write your own functions to do something useful
  3. Lists
    • Lists to store data
    • Functions on lists
  4. Control structures
    • Conditionals (==, etc)
    • if, for, while
  5. Arrays
    • Data and mathematical data structures
  6. Plotting
    • Scatter plot
    • Axis labels
  7. Advanced plotting

Post Exam Lectures:

During the course we will be using Jupyter notebooks, that are files that can run code and contain notes. Here I have created a static pdf version of each lecture so that you can easily read the info. To run the Juypter notbook copy the file to your working directory, open Juypter notebooks in Anaconda and navigate to your file. Alternatively you can launch a slide show from the python terminal with the command:

Deleted:
<
<
 
jupyter nbconvert *filename*.ipynb to slides --post serve

Lecture 1 Tues AM: ( Jupyter Notebook) Course Aims, PH2150_2019_Lecture1.ipynb

Lecture 1: Tues AM: (pdf version) Course Aims, PH2150_2019_Lecture1.pdf

Lecture 2: (Jupyter Notebook), Variables, Modules, Control Structures, PH2150_Lecture2.ipynb

Lecture 2: (pdf), Variables, Modules, Control Structures, PH2150_Lecture2.pdf

Lecture 3: (Jupyter Notebook),User Defined Functions, PH2150_Lecture3.ipynb

Lecture 3: (pdf),User Defined Functions, PH2150_Lecture3.pdf

Lecture 4: (Jupyter Notebook) The Numpy Array, PH2150_lecture4.ipynb

Lecture 4: (pdf) The Numpy Array, PH2150_lecture4.pdf

Changed:
<
<
Lecture 5: (Jupyter Notebook), Matplotlib, PostExamPython-Matplotlib_tutorial.ipynb
>
>
Lecture 5: (Jupyter Notebook), Matplotlib, PH2150_lecture5.ipynb
 
Changed:
<
<
Lecture 5: (html file), Matplotlib, PostExamPython-Matplotlib_tutorial.html
>
>
Lecture 5: (pdf), Matplotlib, PH2150_lecture5.pdf
 

PH2150 Problem sheets:

PS1: (Due in after the first session in the Autumn term) PH2150-2019-PS1.pdf

PS2: (Due in after 2nd session in the Autumn term) PH2150-2019-PS2.pdf

PS3: (Due in before 3rd session in the Autumn term) PH2150-2019-PS3.pdf

META FILEATTACHMENT attachment="Lecture-1-PH2150_Post_Exam_Scietific_Computing_and_Employabilty_Skills.ipynb" attr="" comment="" date="1526871194" name="Lecture-1-PH2150_Post_Exam_Scietific_Computing_and_Employabilty_Skills.ipynb" path="Lecture-1-PH2150 Post Exam Scietific Computing (and Employabilty Skills).ipynb" size="15005" user="phap023" version="1"
META FILEATTACHMENT attachment="ph2150_notes_2016.pdf" attr="" comment="" date="1526871221" name="ph2150_notes_2016.pdf" path="ph2150_notes_2016.pdf" size="386916" user="phap023" version="1"
META FILEATTACHMENT attachment="ScipyLectures-simple.pdf" attr="" comment="" date="1526871430" name="ScipyLectures-simple.pdf" path="ScipyLectures-simple.pdf" size="18754417" user="phap023" version="1"
META FILEATTACHMENT attachment="Lecture-1-PH2150_Post_Exam_Scietific_Computing_and_Employabilty_Skills.html" attr="" comment="" date="1526874249" name="Lecture-1-PH2150_Post_Exam_Scietific_Computing_and_Employabilty_Skills.html" path="Lecture-1-PH2150 Post Exam Scietific Computing (and Employabilty Skills).html" size="269675" user="phap023" version="1"
META FILEATTACHMENT attachment="lecture2-2018am.pptx" attr="" comment="" date="1526947760" name="lecture2-2018am.pptx" path="lecture2-2018am.pptx" size="490621" user="phap023" version="1"
META FILEATTACHMENT attachment="Lecture-2pm-userdefinedfunction.ipynb" attr="" comment="" date="1526950382" name="Lecture-2pm-userdefinedfunction.ipynb" path="Lecture-2pm-userdefinedfunction.ipynb" size="15807" user="phap023" version="1"
META FILEATTACHMENT attachment="lecture4-2018.pptx" attr="" comment="" date="1527055445" name="lecture4-2018.pptx" path="lecture4-2018.pptx" size="1156176" user="phap023" version="1"
META FILEATTACHMENT attachment="PostExamPython-Matplotlib_tutorial.ipynb" attr="" comment="" date="1527115431" name="PostExamPython-Matplotlib_tutorial.ipynb" path="PostExamPython-Matplotlib tutorial.ipynb" size="99639" user="phap023" version="1"
META FILEATTACHMENT attachment="PostExamPython-Matplotlib_tutorial.html" attr="" comment="" date="1527116569" name="PostExamPython-Matplotlib_tutorial.html" path="PostExamPython-Matplotlib tutorial.html" size="360845" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150-2019-PS1.pdf" attr="" comment="" date="1559024263" name="PH2150-2019-PS1.pdf" path="PH2150-2019-PS1.pdf" size="122209" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150-2019-PS2.pdf" attr="" comment="" date="1559024920" name="PH2150-2019-PS2.pdf" path="PH2150-2019-PS2.pdf" size="117076" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150-2019-PS3.pdf" attr="" comment="" date="1559025392" name="PH2150-2019-PS3.pdf" path="PH2150-2019-PS3.pdf" size="62801" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_2019_Lecture1.ipynb" attr="" comment="" date="1559027947" name="PH2150_2019_Lecture1.ipynb" path="PH2150_2019_Lecture1.ipynb" size="15681" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_2019_Lecture1.pdf" attr="" comment="" date="1559028047" name="PH2150_2019_Lecture1.pdf" path="PH2150_2019_Lecture1.pdf" size="874073" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_Lecture2.ipynb" attr="" comment="" date="1559031917" name="PH2150_Lecture2.ipynb" path="PH2150_Lecture2.ipynb" size="25160" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_Lecture2.pdf" attr="" comment="" date="1559032037" name="PH2150_Lecture2.pdf" path="PH2150_Lecture2.pdf" size="324155" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_Lecture3.ipynb" attr="" comment="" date="1559068303" name="PH2150_Lecture3.ipynb" path="PH2150_Lecture3.ipynb" size="23190" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_Lecture3.pdf" attr="" comment="" date="1559068342" name="PH2150_Lecture3.pdf" path="PH2150_Lecture3.pdf" size="208300" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_lecture4.ipynb" attr="" comment="" date="1559120116" name="PH2150_lecture4.ipynb" path="PH2150_lecture4.ipynb" size="30291" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_lecture4.pdf" attr="" comment="" date="1559120208" name="PH2150_lecture4.pdf" path="PH2150_lecture4.pdf" size="214515" user="phap023" version="1"
Added:
>
>
META FILEATTACHMENT attachment="PH2150_lecture5.pdf" attr="" comment="" date="1559150162" name="PH2150_lecture5.pdf" path="PH2150_lecture5.pdf" size="346198" user="phap023" version="1"
META FILEATTACHMENT attachment="PH2150_lecture5.ipynb" attr="" comment="" date="1559150191" name="PH2150_lecture5.ipynb" path="PH2150_lecture5.ipynb" size="608417" user="phap023" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback