|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="chrome=1"> |
| 6 | + <title>Scientific Programming in Python by scientificprogrammingUOS</title> |
| 7 | + |
| 8 | + <link rel="stylesheet" href="stylesheets/styles.css"> |
| 9 | + <link rel="stylesheet" href="stylesheets/github-light.css"> |
| 10 | + <meta name="viewport" content="width=device-width"> |
| 11 | + <!--[if lt IE 9]> |
| 12 | + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
| 13 | + <![endif]--> |
| 14 | + </head> |
| 15 | + <body> |
| 16 | + <div class="wrapper"> |
| 17 | + <header> |
| 18 | + <h1>Scientific Programming in Python</h1> |
| 19 | + <p>Lectures for the course "Scientific Programming in Python" at Osnabrück University</p> |
| 20 | + |
| 21 | + <p class="view"><a href="https://github.com/scientificprogrammingUOS/lectures">View the Project on GitHub <small>scientificprogrammingUOS/lectures</small></a></p> |
| 22 | + |
| 23 | + |
| 24 | + <ul> |
| 25 | + <li><a href="https://github.com/scientificprogrammingUOS/lectures/zipball/master">Download <strong>ZIP File</strong></a></li> |
| 26 | + <li><a href="https://github.com/scientificprogrammingUOS/lectures/tarball/master">Download <strong>TAR Ball</strong></a></li> |
| 27 | + <li><a href="https://github.com/scientificprogrammingUOS/lectures">View On <strong>GitHub</strong></a></li> |
| 28 | + </ul> |
| 29 | + </header> |
| 30 | + <section> |
| 31 | + <p><a href="https://mybinder.org/v2/gh/scientificprogrammingUOS/lectures/master?urlpath=lab"><img src="https://mybinder.org/badge_logo.svg" alt="Binder"></a></p> |
| 32 | +<h1> |
| 33 | +<a id="lectures-in-scientific-computing-in-python" class="anchor" href="#lectures-in-scientific-computing-in-python" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Lectures in Scientific Computing in Python</h1> |
| 34 | +<p>This repository contains all lectures from the course |
| 35 | +<em>Scientific programming in Python</em> that is part of the Cognitive Science program |
| 36 | +at the University Osnabrück. Each lecture is accompanied by a Jupyter notebook |
| 37 | +that explains each topic with a combination of code and text. You |
| 38 | +can view the notebooks directly on GitHub or run them locally and play |
| 39 | +with the code. If you do not want to install anything, click on the Binder |
| 40 | +logo above to run all the notebooks in a ready to use environment in the cloud.</p> |
| 41 | +<h2> |
| 42 | +<a id="recordings" class="anchor" href="#recordings" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Recordings</h2> |
| 43 | +<p>All lecture recordings from 2018 and 2019 can be viewed on <a href="https://www.youtube.com/channel/UC_FUSDNAoX8woYbGXaFdtvw">Youtube</a> and on the Opencast platform (which is available only to students of the University of Osnabrück).</p> |
| 44 | +<table> |
| 45 | +<thead> |
| 46 | +<tr> |
| 47 | +<th>Lecture</th> |
| 48 | +<th>YouTube 2018</th> |
| 49 | +<th>Youtube 2019</th> |
| 50 | +<th>Opencast 2018</th> |
| 51 | +<th>Opencast 2019</th> |
| 52 | +</tr> |
| 53 | +</thead> |
| 54 | +<tbody> |
| 55 | +<tr> |
| 56 | +<td>Introduction</td> |
| 57 | +<td><a href="https://www.youtube.com/watch?v=UmVC3XxkXhI&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl&index=1">View</a></td> |
| 58 | +<td> |
| 59 | +<a href="https://www.youtube.com/watch?v=uLYuLW_H7c0&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1">Part 1</a>, <a href="https://www.youtube.com/watch?v=835JkTU--9E&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1">Part 2</a> |
| 60 | +</td> |
| 61 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=b0079cbf-51b7-47c1-8a38-21147935d249">View</a></td> |
| 62 | +<td> |
| 63 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=1581f0ee-b9c7-44ef-a483-0897d3c3de68">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=a7acc8d9-a374-44e7-b538-b98fb2f5f51e">Part 2</a> |
| 64 | +</td> |
| 65 | +</tr> |
| 66 | +<tr> |
| 67 | +<td>Basic Python</td> |
| 68 | +<td><a href="https://www.youtube.com/watch?v=awAl94Rx0u8&index=2&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl">View</a></td> |
| 69 | +<td> |
| 70 | +<a href="https://www.youtube.com/watch?v=-I37mS8_7Dc&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1">Part 1</a>, <a href="https://www.youtube.com/watch?v=7GdEJkcoHvI&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1">Part 2</a> |
| 71 | +</td> |
| 72 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=f41dc9ef-c846-4f07-a7a8-b87b92cd82f9">View</a></td> |
| 73 | +<td> |
| 74 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=342723fe-5c97-4d19-9f30-f43c5d0bc9d8">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=1c46a715-f965-4c63-92c1-b6d022d22c52">Part 2</a> |
| 75 | +</td> |
| 76 | +</tr> |
| 77 | +<tr> |
| 78 | +<td>Advanced Python</td> |
| 79 | +<td><a href="https://www.youtube.com/watch?v=s01yqt2fxwk&index=3&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl">View</a></td> |
| 80 | +<td> |
| 81 | +<a href="https://www.youtube.com/watch?v=L-C9mwFmxpc&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=6">Part 1</a>, <a href="https://www.youtube.com/watch?v=YDHlRnwoWQg&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=7">Part 2</a> |
| 82 | +</td> |
| 83 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=fcb80388-4dc3-4336-bec4-a294ccc096de">View</a></td> |
| 84 | +<td> |
| 85 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=e0415562-98d4-4a21-95c9-484acb775119">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=a0fd26c4-85a8-48a7-8d3f-f085532b5548">Part 2</a> |
| 86 | +</td> |
| 87 | +</tr> |
| 88 | +<tr> |
| 89 | +<td>Numpy</td> |
| 90 | +<td><a href="https://www.youtube.com/watch?v=oxo-3fDJE6M&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl&index=4">View</a></td> |
| 91 | +<td> |
| 92 | +<a href="https://www.youtube.com/watch?v=v603JUrsIr4&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=8">Part 1</a>, <a href="https://www.youtube.com/watch?v=DH6FuWjxQiA&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=9">Part 2</a> |
| 93 | +</td> |
| 94 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=f695daea-8ee4-473b-8684-c46cbef62586">View</a></td> |
| 95 | +<td> |
| 96 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=b1410913-3857-485b-ab6c-2acf89dfce87">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=3921cc73-a4ee-450f-8002-22344b9e3260">Part 2</a> |
| 97 | +</td> |
| 98 | +</tr> |
| 99 | +<tr> |
| 100 | +<td>Matplotlib</td> |
| 101 | +<td><a href="https://www.youtube.com/watch?v=VmWEcqdcqa4&index=5&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl">View</a></td> |
| 102 | +<td> |
| 103 | +<a href="https://www.youtube.com/watch?v=phfZTV94qp8&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=10">Part 1</a>, <a href="https://www.youtube.com/watch?v=oJy2SyWFc20&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=11">Part 2</a> |
| 104 | +</td> |
| 105 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=3a01b270-efc0-4d38-8457-586ec2fc6886">View</a></td> |
| 106 | +<td> |
| 107 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=bcc3363e-9ab4-4212-bec8-b89054fe33ae">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=39f91b82-c484-4765-88e1-3df771c9cbbb">Part 2</a> |
| 108 | +</td> |
| 109 | +</tr> |
| 110 | +<tr> |
| 111 | +<td>Basic Pandas</td> |
| 112 | +<td><a href="https://www.youtube.com/watch?v=AHXj14joofo&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl&index=6">View</a></td> |
| 113 | +<td> |
| 114 | +<a href="https://www.youtube.com/watch?v=P4t3E5PgCI8&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=12">Part 1</a>, <a href="https://www.youtube.com/watch?v=u92m5yRUHJc&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=13">Part 2</a> |
| 115 | +</td> |
| 116 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=0b158123-ecdb-4081-a13a-4a13c57cfeac">View</a></td> |
| 117 | +<td> |
| 118 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=fefe0cf1-4aed-4bbe-88e0-5902b54c3c41">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=e0015e0f-504d-4ed6-945e-4404a2494d60">Part 2</a> |
| 119 | +</td> |
| 120 | +</tr> |
| 121 | +<tr> |
| 122 | +<td>Pandas: Cleaning Data</td> |
| 123 | +<td><a href="https://www.youtube.com/watch?v=Yw2uqr__5-M&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl&index=7">View</a></td> |
| 124 | +<td> |
| 125 | +<a href="https://www.youtube.com/watch?v=A_xLroDojDc&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=14">Part 1</a>, <a href="https://www.youtube.com/watch?v=rH0oehOhixY&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=15">Part 2</a> |
| 126 | +</td> |
| 127 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=e077a983-89b3-40f7-818c-4cd34906f41f">View</a></td> |
| 128 | +<td> |
| 129 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=df86ac4b-332f-4554-8d54-116696ba668b">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=b2c16421-5c00-438a-8e4a-50493062950c">Part 2</a> |
| 130 | +</td> |
| 131 | +</tr> |
| 132 | +<tr> |
| 133 | +<td>Pandas: Analyzing Data & Time Series</td> |
| 134 | +<td><a href="https://www.youtube.com/watch?v=QAiFhPNZ4hU&index=8&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl">View</a></td> |
| 135 | +<td> |
| 136 | +<a href="https://www.youtube.com/watch?v=sU3SJG_mJL0&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=16">Part 1</a>, <a href="https://www.youtube.com/watch?v=_OsV2hlPAIQ&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=17">Part 2</a> |
| 137 | +</td> |
| 138 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=4f440f84-8de7-4336-8f3f-b8f5764d84f3">View</a></td> |
| 139 | +<td> |
| 140 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=d2a54683-4c1f-4b0e-976a-649e21bc9f00">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=5bbdc5c5-723c-4608-993d-2882c0638547">Part 2</a> |
| 141 | +</td> |
| 142 | +</tr> |
| 143 | +<tr> |
| 144 | +<td>Debugging in Pycharm</td> |
| 145 | +<td></td> |
| 146 | +<td><a href="https://www.youtube.com/watch?v=RKgCuN3jg0w&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=18">View</a></td> |
| 147 | +<td></td> |
| 148 | +<td><a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=6e0b9236-a71f-45fb-be6f-8128eb9c11ee">View</a></td> |
| 149 | +</tr> |
| 150 | +<tr> |
| 151 | +<td>Statistical Visualization (ggplot, seaborn)</td> |
| 152 | +<td><a href="https://www.youtube.com/watch?v=k371NeL-7tM&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl&index=9">View</a></td> |
| 153 | +<td> |
| 154 | +<a href="https://www.youtube.com/watch?v=bIVrkNMjOx8&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=21">Part 1</a>, <a href="https://www.youtube.com/watch?v=3wkbry7YiAI&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=22">Part 2</a> |
| 155 | +</td> |
| 156 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=79bce1f2-48e3-407b-8a1d-caf2a74e5517">View</a></td> |
| 157 | +<td> |
| 158 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=cef6e799-ac3f-4612-ba85-505e5ca6ef9d">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=f3f364cf-fcfe-464c-91f4-35580bbe1d2d">Part 2</a> |
| 159 | +</td> |
| 160 | +</tr> |
| 161 | +<tr> |
| 162 | +<td>Statistical Modeling (statsmodels)</td> |
| 163 | +<td><a href="https://www.youtube.com/watch?v=1Ba9LmyJ1ko&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl&index=10">View</a></td> |
| 164 | +<td> |
| 165 | +<a href="https://www.youtube.com/watch?v=npM0J-e-35s&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=23">Part 1</a>, <a href="https://www.youtube.com/watch?v=WXR-AEjOUNI&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=24&t=0s">Part 2</a> |
| 166 | +</td> |
| 167 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=634cd5c8-0227-4c19-9400-e348b53b2bf0">View</a></td> |
| 168 | +<td> |
| 169 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=90d3b2ee-f346-4932-84c1-69de535fc901">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=40f29cc0-b24b-427c-bf83-548411644450">Part 2</a> |
| 170 | +</td> |
| 171 | +</tr> |
| 172 | +<tr> |
| 173 | +<td>Experiments (expyriment)</td> |
| 174 | +<td><a href="https://www.youtube.com/watch?v=YEt6Eww26s4&index=11&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl">View</a></td> |
| 175 | +<td> |
| 176 | +<a href="https://www.youtube.com/watch?v=9lR2Uk0nRD0&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=19">Part 1</a>, <a href="https://www.youtube.com/watch?v=RTwzombMuls&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=20">Part 2</a> |
| 177 | +</td> |
| 178 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=a34a0164-19da-406b-b1e1-3570ebcdc8d4">View</a></td> |
| 179 | +<td> |
| 180 | +<a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=f4510a77-f4d7-4065-9426-360a7f848d6e">Part 1</a>, <a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=8114a025-fbcf-49f9-8ba8-cfc47755a1db">Part 2</a> |
| 181 | +</td> |
| 182 | +</tr> |
| 183 | +<tr> |
| 184 | +<td>Study: A to Z, Scikit-Learn, Parallelism</td> |
| 185 | +<td><a href="https://www.youtube.com/watch?v=BV35GhsqmuE&list=PL7Rs54JKuEjFRyyhtJy2eDOhqTtmWpXzl&index=12">View</a></td> |
| 186 | +<td></td> |
| 187 | +<td><a href="https://video4.virtuos.uos.de/engage/theodul/ui/core.html?cid=a18d5bd1b862d194bcd7b56bca95c32f&id=6d4e5f5e-727f-4834-80db-4322a86b0a96">View</a></td> |
| 188 | +<td></td> |
| 189 | +</tr> |
| 190 | +<tr> |
| 191 | +<td>Interactive Visualization (Widgets, Altair)</td> |
| 192 | +<td></td> |
| 193 | +<td><a href="https://www.youtube.com/watch?v=o1ApUz6dEi8&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=25">View</a></td> |
| 194 | +<td></td> |
| 195 | +<td><a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=2a67645e-8aab-4444-8e9a-8455dfff107c">View</a></td> |
| 196 | +</tr> |
| 197 | +<tr> |
| 198 | +<td>Data Exploration, Performance-Optimization</td> |
| 199 | +<td></td> |
| 200 | +<td><a href="https://www.youtube.com/watch?v=b_hL6ITo0aM&list=PL7Rs54JKuEjE5PV8m3ksRuq_-DxLP8Kq1&index=26">View</a></td> |
| 201 | +<td></td> |
| 202 | +<td><a href="https://video4.virtuos.uni-osnabrueck.de/paella/ui/watch.html?cid=48c679d3c81e6414ab61bba835ecae97&id=ccb55af9-2081-445f-a76e-7b36fa4313e0">View</a></td> |
| 203 | +</tr> |
| 204 | +</tbody> |
| 205 | +</table> |
| 206 | +<p>To view the Jupyter Notebooks corresponding to the videos of the respective years, access this repository's state from <a href="https://github.com/scientificprogrammingUOS/lectures/tree/v2018">2018</a> or <a href="https://github.com/scientificprogrammingUOS/lectures/tree/v2019">2019</a>, respectively. To access the videos in the better Opencast-player, make sure you're logged into Myuos before clicking the link.</p> |
| 207 | +<h2> |
| 208 | +<a id="installation" class="anchor" href="#installation" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Installation</h2> |
| 209 | +<p>Create a virtual Python environment, name e.g. <em>scientific</em>, for example using <code>conda</code>.</p> |
| 210 | +<pre><code>$ conda env create -f environment.yml |
| 211 | +</code></pre> |
| 212 | +<p>Activate the environment</p> |
| 213 | +<pre><code>$ conda activate scientific |
| 214 | +</code></pre> |
| 215 | +<p>you might see some error like <code>your shell has not been set up to use conda activate</code>. Follow the instructions given in your shell to make it work.</p> |
| 216 | +<p>then start JupyterLab</p> |
| 217 | +<pre><code>$ jupyter lab |
| 218 | +</code></pre> |
| 219 | +<p>JupyterLab should open in your browser. From there you can navigate to the notebooks |
| 220 | +and interact with them.</p> |
| 221 | +<h2> |
| 222 | +<a id="contributing" class="anchor" href="#contributing" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Contributing</h2> |
| 223 | +<p>Before committing changes, run the whole notebook from top to bottom using (for <code>fish</code>)</p> |
| 224 | +<pre><code>$ env RUNALL=1 jupyter nbconvert --execute --allow-errors --inplace lecture.ipynb |
| 225 | +</code></pre> |
| 226 | +<p>for <code>bash</code></p> |
| 227 | +<pre><code>$ export RUNALL=1 jupyter nbconvert --execute --allow-errors --inplace lecture.ipynb |
| 228 | +</code></pre> |
| 229 | +<p>To make new interactive exercises install <a href="https://github.com/rmotr/jupyterlab-solutions">jupyter-solutions</a> and set up as teacher, by setting</p> |
| 230 | +<pre><code>c.JupyterLabRmotrSolutions.role = "teacher" |
| 231 | +</code></pre> |
| 232 | +<p>in the repositories <code>jupyter_notebook_config.py</code>.</p> |
| 233 | +<p>Only use markdown headers to structure the lectures. Numbering will be automatically handled by the <a href="https://github.com/jupyterlab/jupyterlab-toc">jupyterlab-toc extension</a>. |
| 234 | +Also use markdown to talk about the content of the lecture and the next cells. Use comments only if you want to highlight something in a specific line of code. |
| 235 | +If you write comments, write them in full sentences.</p> |
| 236 | +<p>Use <a href="https://github.com/jupyter/nbdime"><code>nbdime</code></a> to make working with notebooks and git easier</p> |
| 237 | +<pre><code>pip install nbdime |
| 238 | +nbdime config-git --enable |
| 239 | +</code></pre> |
| 240 | +<h2> |
| 241 | +<a id="acknowledgments" class="anchor" href="#acknowledgments" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Acknowledgments</h2> |
| 242 | +<ul> |
| 243 | +<li>Some parts of this lecture base on Jake VanderPlas' <a href="https://jakevdp.github.io/PythonDataScienceHandbook/">Python Data Science Handbook</a>, which is a very good source for Scientific Python.</li> |
| 244 | +<li>Thanks to <a href="https://github.com/aauss">Auss Abbood</a> for making 2018's videos YouTube ready!</li> |
| 245 | +</ul> |
| 246 | + </section> |
| 247 | + <footer> |
| 248 | + <p>This project is maintained by <a href="https://github.com/scientificprogrammingUOS">scientificprogrammingUOS</a></p> |
| 249 | + <p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p> |
| 250 | + </footer> |
| 251 | + </div> |
| 252 | + <script src="javascripts/scale.fix.js"></script> |
| 253 | + |
| 254 | + </body> |
| 255 | +</html> |
0 commit comments