Skip to content

Commit fd8fde6

Browse files
committed
2 parents eb1a5db + 12c2d69 commit fd8fde6

13 files changed

+2106
-535
lines changed

‎Lecture-0-Scientific-Computing-with-Python.ipynb‎

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@
3939
"metadata": {},
4040
"source": [
4141
"Science has traditionally been divided into experimental and theoretical disciplines, but during the last several decades computing has emerged as a very important part of science. Scientific computing is often closely related to theory, but it also has many characteristics in common with experimental work. It is therefore often viewed as a new third branch of science. In most fields of science, computational work is an important complement to both experiments and theory, and nowadays a vast majority of both experimental and theoretical papers involve some numerical calculations, simulations or computer modeling.\n",
42-
"\n",
4342
"<center>\n",
44-
"<!-- offline version <img src=\"files/images/theory-experiment-computation.svg\" width=\"300\"> -->\n",
45-
"<img src=\"https://raw.github.com/jrjohansson/scientific-python-lectures/master/images/theory-experiment-computation.png\" width=\"300\"> \n",
43+
"<img src=\"images/theory-experiment-computation.png\" width=\"300\">\n",
4644
"</center>\n",
4745
"\n",
4846
"In experimental and theoretical sciences there are well established codes of conducts for how results and methods are published and made available to other scientists. For example, in theoretical sciences, derivations, proofs and other results are published in full detail, or made available upon request. Likewise, in experimental sciences, the methods used and the results are published, and all experimental data should be available upon request. It is considered unscientific to withhold crucial details in a theoretical proof or experimental method, that would hinder other scientists from replicating and reproducing the results.\n",
@@ -190,7 +188,7 @@
190188
"cell_type": "markdown",
191189
"metadata": {},
192190
"source": [
193-
"<img src=\"https://raw.github.com/jrjohansson/scientific-python-lectures/master/images/optimizing-what.png\" width=\"600\">\n",
191+
"<img src=\"images/optimizing-what.png\" width=\"600\">\n",
194192
"\n",
195193
"* Python has a strong position in scientific computing: \n",
196194
" * Large community of users, easy to find help and documentation.\n",
@@ -226,7 +224,7 @@
226224
"metadata": {},
227225
"source": [
228226
"<!-- <img src=\"files/images/scientific-python-stack.svg\" width=\"300\"> -->\n",
229-
"<img src=\"https://raw.github.com/jrjohansson/scientific-python-lectures/master/images/scientific-python-stack.png\" width=\"300\">"
227+
"<img src=\"images/scientific-python-stack.png\" width=\"300\">"
230228
]
231229
},
232230
{
@@ -267,7 +265,7 @@
267265
"We can also start the interpreter by simply typing ``python`` at the command line, and interactively type python code into the interpreter. \n",
268266
"\n",
269267
"<!-- <img src=\"files/images/python-screenshot.jpg\" width=\"600\"> -->\n",
270-
"<img src=\"https://raw.github.com/jrjohansson/scientific-python-lectures/master/images/python-screenshot.jpg\" width=\"600\">\n",
268+
"<img src=\"images/python-screenshot.jpg\" width=\"600\">\n",
271269
"\n",
272270
"\n",
273271
"This is often how we want to work when developing scientific applications, or when doing small calculations. But the standard python interpreter is not very convenient for this kind of work, due to a number of limitations."
@@ -288,7 +286,7 @@
288286
"IPython is an interactive shell that addresses the limitation of the standard python interpreter, and it is a work-horse for scientific use of python. It provides an interactive prompt to the python interpreter with a greatly improved user-friendliness.\n",
289287
"\n",
290288
"<!-- <img src=\"files/images/ipython-screenshot.jpg\" width=\"600\"> -->\n",
291-
"<img src=\"https://raw.github.com/jrjohansson/scientific-python-lectures/master/images/ipython-screenshot.jpg\" width=\"600\">\n",
289+
"<img src=\"images/ipython-screenshot.jpg\" width=\"600\">\n",
292290
"\n",
293291
"Some of the many useful features of IPython includes:\n",
294292
"\n",
@@ -315,7 +313,7 @@
315313
"[IPython notebook](http://ipython.org/notebook.html) is an HTML-based notebook environment for Python, similar to Mathematica or Maple. It is based on the IPython shell, but provides a cell-based environment with great interactivity, where calculations can be organized documented in a structured way.\n",
316314
"\n",
317315
"<!-- <img src=\"files/images/ipython-notebook-screenshot.jpg\" width=\"800\"> -->\n",
318-
"<img src=\"https://raw.github.com/jrjohansson/scientific-python-lectures/master/images/ipython-notebook-screenshot.jpg\" width=\"800\">\n",
316+
"<img src=\"images/ipython-notebook-screenshot.jpg\" width=\"800\">\n",
319317
"\n",
320318
"Although using the a web browser as graphical interface, IPython notebooks are usually run locally, from the same computer that run the browser. To start a new IPython notebook session, run the following command:\n",
321319
"\n",
@@ -339,7 +337,7 @@
339337
"[Spyder](http://code.google.com/p/spyderlib/) is a MATLAB-like IDE for scientific computing with python. It has the many advantages of a traditional IDE environment, for example that everything from code editing, execution and debugging is carried out in a single environment, and work on different calculations can be organized as projects in the IDE environment.\n",
340338
"\n",
341339
"<!-- <img src=\"files/images/spyder-screenshot.jpg\" width=\"800\"> -->\n",
342-
"<img src=\"https://raw.github.com/jrjohansson/scientific-python-lectures/master/images/spyder-screenshot.jpg\" width=\"800\">\n",
340+
"<img src=\"images/spyder-screenshot.jpg\" width=\"800\">\n",
343341
"\n",
344342
"Some advantages of Spyder:\n",
345343
"\n",
@@ -469,9 +467,9 @@
469467
"cell_type": "markdown",
470468
"metadata": {},
471469
"source": [
472-
" * [Python](http://www.python.org>). The official Python web site.\n",
473-
" * [Python tutorials](http://docs.python.org/2/tutorial/). The official Python tutorials.\n",
474-
" * [Think Python](http://www.greenteapress.com/thinkpython/). A free book on Python."
470+
" * [Python](http://www.python.org). The official Python web site.\n",
471+
" * [Python tutorials](http://docs.python.org/2/tutorial). The official Python tutorials.\n",
472+
" * [Think Python](http://www.greenteapress.com/thinkpython). A free book on Python."
475473
]
476474
},
477475
{
@@ -552,6 +550,7 @@
552550
"\\hline \\multicolumn{2}{|l|}{Thu Aug 08 11:18:41 2013 JST} \\\\ \\hline\n",
553551
"\\end{tabular}\n"
554552
],
553+
"metadata": {},
555554
"output_type": "pyout",
556555
"prompt_number": 2,
557556
"text": [
@@ -574,4 +573,4 @@
574573
"metadata": {}
575574
}
576575
]
577-
}
576+
}

0 commit comments

Comments
 (0)