This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
esc201_hs2020 [2020/08/31 13:42] stadel removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Simulations in the Natural Sciences I ====== | ||
- | {{:spin:combined.jpg?800x100|}} | ||
- | |||
- | **ESC201:**Fall 2020: Monday Lecture: 13:00-14:00 Exercises: 14:00-17:00 in **online only** | ||
- | |||
- | **TAs**: Stefan Schafroth (**schafrot@physik.uzh.ch**) | ||
- | |||
- | ===== Corona Virus Measures ===== | ||
- | ** | ||
- | Dear Students, | ||
- | |||
- | I will provide a video lectures from the second class onwards, the 21. September 2020. | ||
- | Exercises will in future take place via Microsoft Teams :[[https://teams.microsoft.com/l/channel/19%3a8823c3b7fb424ddca64bb9c5b0a4637b%40thread.tacv2/General?groupId=b928c639-c816-46a5-98b7-16bfd43c9df4&tenantId=c7e438db-e462-4c22-a90a-c358b16980b3|ESC 201]] | ||
- | |||
- | ** | ||
- | |||
- | Joachim Stadel | ||
- | ---- | ||
- | ===== Video Lectures ===== | ||
- | |||
- | Videos for the lectures can be found here (they are too large for my Wiki): | ||
- | |||
- | [[http://www.ics.uzh.ch/~stadel/krone/public_downloads/esc201|ESC201 Video downloads]] | ||
- | |||
- | |||
- | ====== Lectures ====== | ||
- | |||
- | 14. Sep. 2020: {{ :spin:sins1-01.pdf |First Lecture}} | ||
- | |||
- | |||
- | ====== Assignments ====== | ||
- | |||
- | Should be handed in every **Sunday night by 21:00** following the Monday lecture. | ||
- | Assignments should be **individual** and should be in python and **provide a | ||
- | correct virtual environment!** | ||
- | |||
- | For help getting started with virtual environments, please read carefully [[https://towardsdatascience.com/all-you-need-to-know-about-python-virtual-environments-9b4aae690f97|Python Virtual Environments for Pip]] and [[https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/|Python Virtual Environments for Conda]]. | ||
- | |||
- | You should email 3 things to Stefan (**schafrot@physik.uzh.ch**): | ||
- | |||
- | - The working **python source code** | ||
- | - The **requirements.txt** file for your virtual environment | ||
- | - A **.pdf** or **.png** image or animation of the output of your program | ||
- | |||
- | Template: {{template.zip}} | ||
- | |||
- | ** Instructions: ** | ||
- | |||
- | Please add the names of the people you work together (if you do) to the comment section of your python scripts. | ||
- | |||
- | Create a virtual environment using | ||
- | | ||
- | Pip | ||
- | | ||
- | - run **virtualenv yourenv_name** to create a virtual environment | ||
- | |||
- | - run **source yourenv_name/bin/activate** to activate yourenv_name | ||
- | |||
- | - install necessary libraries that you want using **pip install package_name** | ||
- | |||
- | - work in that directory, get your outputs (*.pdf, *.png, *jpeg, *.mp4, etc...) | ||
- | |||
- | - run **pip freeze > requirements.txt** to get your list of libraries | ||
- | | ||
- | Conda | ||
- | |||
- | - run **conda create -n yourenvname python=x.x anaconda** to create a virtual environment | ||
- | |||
- | - run **source activate yourenvname** to activate yourenv_name | ||
- | |||
- | - install necessary libraries that you want using **conda install -n yourenv_name package_name** | ||
- | |||
- | - work in that directory, get your outputs (*.pdf, *.png, *jpeg, *.mp4, etc...) | ||
- | |||
- | - run **conda list --export > requirements.txt** to get your list of libraries | ||
- | |||
- | ====== List of assignments ====== | ||
- | |||