PageRenderTime 45ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/index.html

https://github.com/tris-sondon/scipy-lectures.github.com
HTML | 304 lines | 284 code | 20 blank | 0 comment | 0 complexity | e0975226d4aa7d648a34bf9d944dfdf4 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Python Scientific Lecture Notes &mdash; Scipy lecture notes</title>
  7. <link rel="stylesheet" href="_static/default.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '',
  12. VERSION: '2011',
  13. COLLAPSE_INDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="_static/jquery.js"></script>
  19. <script type="text/javascript" src="_static/underscore.js"></script>
  20. <script type="text/javascript" src="_static/doctools.js"></script>
  21. <link rel="top" title="Scipy lecture notes" href="#" />
  22. <link rel="next" title="Authors" href="AUTHORS.html" />
  23. </head>
  24. <body>
  25. <div class="related">
  26. <h3>Navigation</h3>
  27. <ul>
  28. <li class="right" style="margin-right: 10px">
  29. <a href="AUTHORS.html" title="Authors"
  30. accesskey="N">next</a></li>
  31. <li><a href="#">Scipy lecture notes</a> &raquo;</li>
  32. </ul>
  33. </div>
  34. <div class="document">
  35. <div class="documentwrapper">
  36. <div class="body">
  37. <div class="section" id="python-scientific-lecture-notes">
  38. <h1>Python Scientific Lecture Notes<a class="headerlink" href="#python-scientific-lecture-notes" title="Permalink to this headline">ΒΆ</a></h1>
  39. <style type="text/css">
  40. div.documentwrapper h1 {
  41. text-align: center;
  42. font-size: 200% ;
  43. font-weight: bold;
  44. }
  45. </style><style type="text/css">
  46. div.bodywrapper blockquote {
  47. margin: 0 ;
  48. }
  49. div.toctree-wrapper ul {
  50. margin: 0 ;
  51. padding-left: 0px ;
  52. }
  53. li.toctree-l1 {
  54. padding: 0 ;
  55. list-style-type: none;
  56. font-size: 150% ;
  57. font-family: Arial, sans-serif;
  58. background-color: #f2f2f2;
  59. font-weight: normal;
  60. color: #20435c;
  61. margin-left: 0;
  62. margin-bottom: 1em;
  63. font-weight: bold;
  64. }
  65. li.toctree-l1 a {
  66. padding: 0 0 0 10px ;
  67. }
  68. li.toctree-l2 {
  69. padding: 0.25em 0 0.25em 0 ;
  70. list-style-type: none;
  71. background-color: #FFFFFF;
  72. font-size: 90% ;
  73. font-weight: bold;
  74. }
  75. li.toctree-l2 ul {
  76. padding-left: 40px ;
  77. }
  78. li.toctree-l3 {
  79. font-size: 70% ;
  80. list-style-type: square;
  81. font-weight: normal;
  82. }
  83. li.toctree-l4 {
  84. font-size: 85% ;
  85. list-style-type: circle;
  86. font-weight: normal;
  87. }
  88. div.topic li.toctree-l1 {
  89. font-size: 100% ;
  90. font-weight: bold;
  91. background-color: transparent;
  92. margin-bottom: 0;
  93. margin-left: 5em;
  94. display:inline;
  95. }
  96. div.topic p {
  97. font-size: 90% ;
  98. margin: 0.4ex;
  99. }
  100. div.topic p.topic-title {
  101. display:inline;
  102. font-size: 100% ;
  103. margin-bottom: 0;
  104. }
  105. </style><div class="sidebar">
  106. <p class="first sidebar-title">Download</p>
  107. <ul class="last simple">
  108. <li><a class="reference external" href="./_downloads/PythonScientific.pdf">PDF, 2 pages per side</a></li>
  109. <li><a class="reference external" href="./_downloads/PythonScientific-simple.pdf">PDF, 1 page per side</a></li>
  110. <li><a class="reference external" href="https://github.com/scipy-lectures/scipy-lectures.github.com/zipball/master">HTML and example files</a></li>
  111. <li><a class="reference external" href="https://github.com/scipy-lectures">Source code (github)</a></li>
  112. </ul>
  113. </div>
  114. <div class="topic">
  115. <p class="topic-title first">This document</p>
  116. <p>Teaching material on the scientific Python ecosystem, a quick
  117. introduction to central tools and technics. The different chapters
  118. each correspond to a 1 to 2 hours course with increasing level of
  119. expertise, from beginner to expert.</p>
  120. <div class="toctree-wrapper compound">
  121. <ul>
  122. <li class="toctree-l1"><a class="reference internal" href="AUTHORS.html">Authors</a></li>
  123. <li class="toctree-l1"><a class="reference internal" href="LICENSE.html">License</a></li>
  124. </ul>
  125. </div>
  126. </div>
  127. <hr class="docutils" />
  128. <div class="toctree-wrapper compound">
  129. <ul>
  130. <li class="toctree-l1"><a class="reference internal" href="intro/index.html">1. Getting started with Python for science</a><ul>
  131. <li class="toctree-l2"><a class="reference internal" href="intro/intro.html">1.1. Scientific computing with tools and workflow</a><ul>
  132. <li class="toctree-l3"><a class="reference internal" href="intro/intro.html#why-python">1.1.1. Why Python?</a></li>
  133. <li class="toctree-l3"><a class="reference internal" href="intro/intro.html#scientific-python-building-blocks">1.1.2. Scientific Python building blocks</a></li>
  134. <li class="toctree-l3"><a class="reference internal" href="intro/intro.html#the-interactive-workflow-ipython-and-a-text-editor">1.1.3. The interactive workflow: IPython and a text editor</a></li>
  135. </ul>
  136. </li>
  137. <li class="toctree-l2"><a class="reference internal" href="intro/language/python_language.html">1.2. The Python language</a><ul>
  138. <li class="toctree-l3"><a class="reference internal" href="intro/language/first_steps.html">1.2.1. First steps</a></li>
  139. <li class="toctree-l3"><a class="reference internal" href="intro/language/basic_types.html">1.2.2. Basic types</a></li>
  140. <li class="toctree-l3"><a class="reference internal" href="intro/language/assignment.html">1.2.3. Assignment operator</a></li>
  141. <li class="toctree-l3"><a class="reference internal" href="intro/language/control_flow.html">1.2.4. Control Flow</a></li>
  142. <li class="toctree-l3"><a class="reference internal" href="intro/language/functions.html">1.2.5. Defining functions</a></li>
  143. <li class="toctree-l3"><a class="reference internal" href="intro/language/reusing_code.html">1.2.6. Reusing code: scripts and modules</a></li>
  144. <li class="toctree-l3"><a class="reference internal" href="intro/language/io.html">1.2.7. Input and Output</a></li>
  145. <li class="toctree-l3"><a class="reference internal" href="intro/language/standard_library.html">1.2.8. Standard Library</a></li>
  146. <li class="toctree-l3"><a class="reference internal" href="intro/language/exceptions.html">1.2.9. Exceptions handling in Python</a></li>
  147. <li class="toctree-l3"><a class="reference internal" href="intro/language/oop.html">1.2.10. Object-oriented programming (OOP)</a></li>
  148. </ul>
  149. </li>
  150. <li class="toctree-l2"><a class="reference internal" href="intro/numpy/numpy.html">1.3. NumPy: creating and manipulating numerical data</a><ul>
  151. <li class="toctree-l3"><a class="reference internal" href="intro/numpy/numpy.html#intro">1.3.1. Intro</a></li>
  152. <li class="toctree-l3"><a class="reference internal" href="intro/numpy/numpy.html#basics-i">1.3.2. 1. Basics I</a></li>
  153. <li class="toctree-l3"><a class="reference internal" href="intro/numpy/numpy.html#basics-ii">1.3.3. 2. Basics II</a></li>
  154. <li class="toctree-l3"><a class="reference internal" href="intro/numpy/numpy.html#moving-on">1.3.4. 3. Moving on</a></li>
  155. <li class="toctree-l3"><a class="reference internal" href="intro/numpy/numpy.html#under-the-hood">1.3.5. 4. Under the hood</a></li>
  156. </ul>
  157. </li>
  158. <li class="toctree-l2"><a class="reference internal" href="intro/help/help.html">1.4. Getting help and finding documentation</a></li>
  159. <li class="toctree-l2"><a class="reference internal" href="intro/matplotlib/matplotlib.html">1.5. Matplotlib</a><ul>
  160. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#introduction">1.5.1. Introduction</a></li>
  161. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#ipython">1.5.2. IPython</a></li>
  162. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#pylab">1.5.3. pylab</a></li>
  163. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#simple-plots">1.5.4. Simple Plots</a></li>
  164. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#properties">1.5.5. Properties</a></li>
  165. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#text">1.5.6. Text</a></li>
  166. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#ticks">1.5.7. Ticks</a></li>
  167. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#figures-subplots-and-axes">1.5.8. Figures, Subplots, and Axes</a></li>
  168. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#other-types-of-plots">1.5.9. Other Types of Plots</a></li>
  169. <li class="toctree-l3"><a class="reference internal" href="intro/matplotlib/matplotlib.html#the-class-library">1.5.10. The Class Library</a></li>
  170. </ul>
  171. </li>
  172. <li class="toctree-l2"><a class="reference internal" href="intro/scipy.html">1.6. Scipy : high-level scientific computing</a><ul>
  173. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#scipy-builds-upon-numpy">1.6.1. Scipy builds upon Numpy</a></li>
  174. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#file-input-output-scipy-io">1.6.2. File input/output: <tt class="docutils literal"><span class="pre">scipy.io</span></tt></a></li>
  175. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#signal-processing-scipy-signal">1.6.3. Signal processing: <tt class="docutils literal"><span class="pre">scipy.signal</span></tt></a></li>
  176. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#special-functions-scipy-special">1.6.4. Special functions: <tt class="docutils literal"><span class="pre">scipy.special</span></tt></a></li>
  177. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#statistics-and-random-numbers-scipy-stats">1.6.5. Statistics and random numbers: <tt class="docutils literal"><span class="pre">scipy.stats</span></tt></a></li>
  178. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#linear-algebra-operations-scipy-linalg">1.6.6. Linear algebra operations: <tt class="docutils literal"><span class="pre">scipy.linalg</span></tt></a></li>
  179. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#numerical-integration-scipy-integrate">1.6.7. Numerical integration: <tt class="docutils literal"><span class="pre">scipy.integrate</span></tt></a></li>
  180. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#fast-fourier-transforms-scipy-fftpack">1.6.8. Fast Fourier transforms: <tt class="docutils literal"><span class="pre">scipy.fftpack</span></tt></a></li>
  181. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#interpolation-scipy-interpolate">1.6.9. Interpolation: <tt class="docutils literal"><span class="pre">scipy.interpolate</span></tt></a></li>
  182. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#optimization-and-fit-scipy-optimize">1.6.10. Optimization and fit: <tt class="docutils literal"><span class="pre">scipy.optimize</span></tt></a></li>
  183. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#image-processing-scipy-ndimage">1.6.11. Image processing: <tt class="docutils literal"><span class="pre">scipy.ndimage</span></tt></a></li>
  184. <li class="toctree-l3"><a class="reference internal" href="intro/scipy.html#summary-exercises-on-scientific-computing">1.6.12. Summary exercises on scientific computing</a></li>
  185. </ul>
  186. </li>
  187. </ul>
  188. </li>
  189. <li class="toctree-l1"><a class="reference internal" href="advanced/index.html">2. Advanced topics</a><ul>
  190. <li class="toctree-l2"><a class="reference internal" href="advanced/advanced_python/index.html">2.1. Advanced Python Constructs</a><ul>
  191. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_python/index.html#iterators-generator-expressions-and-generators">2.1.1. Iterators, generator expressions and generators</a></li>
  192. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_python/index.html#decorators">2.1.2. Decorators</a></li>
  193. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_python/index.html#context-managers">2.1.3. Context managers</a></li>
  194. </ul>
  195. </li>
  196. <li class="toctree-l2"><a class="reference internal" href="advanced/advanced_numpy/index.html">2.2. Advanced Numpy</a><ul>
  197. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_numpy/index.html#life-of-ndarray">2.2.1. Life of ndarray</a></li>
  198. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_numpy/index.html#universal-functions">2.2.2. Universal functions</a></li>
  199. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_numpy/index.html#interoperability-features">2.2.3. Interoperability features</a></li>
  200. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_numpy/index.html#siblings-chararray-maskedarray-matrix">2.2.4. Siblings: <tt class="docutils literal"><span class="pre">chararray</span></tt>, <tt class="docutils literal"><span class="pre">maskedarray</span></tt>, <tt class="docutils literal"><span class="pre">matrix</span></tt></a></li>
  201. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_numpy/index.html#summary">2.2.5. Summary</a></li>
  202. <li class="toctree-l3"><a class="reference internal" href="advanced/advanced_numpy/index.html#contributing-to-numpy-scipy">2.2.6. Contributing to Numpy/Scipy</a></li>
  203. </ul>
  204. </li>
  205. <li class="toctree-l2"><a class="reference internal" href="advanced/debugging/index.html">2.3. Debugging code</a><ul>
  206. <li class="toctree-l3"><a class="reference internal" href="advanced/debugging/index.html#avoiding-bugs">2.3.1. Avoiding bugs</a></li>
  207. <li class="toctree-l3"><a class="reference internal" href="advanced/debugging/index.html#debugging-workflow">2.3.2. Debugging workflow</a></li>
  208. <li class="toctree-l3"><a class="reference internal" href="advanced/debugging/index.html#using-the-python-debugger">2.3.3. Using the Python debugger</a></li>
  209. <li class="toctree-l3"><a class="reference internal" href="advanced/debugging/index.html#debugging-segmentation-faults-using-gdb">2.3.4. Debugging segmentation faults using gdb</a></li>
  210. </ul>
  211. </li>
  212. <li class="toctree-l2"><a class="reference internal" href="advanced/optimizing/index.html">2.4. Optimizing code</a><ul>
  213. <li class="toctree-l3"><a class="reference internal" href="advanced/optimizing/index.html#optimization-workflow">2.4.1. Optimization workflow</a></li>
  214. <li class="toctree-l3"><a class="reference internal" href="advanced/optimizing/index.html#profiling-python-code">2.4.2. Profiling Python code</a></li>
  215. <li class="toctree-l3"><a class="reference internal" href="advanced/optimizing/index.html#making-code-go-faster">2.4.3. Making code go faster</a></li>
  216. <li class="toctree-l3"><a class="reference internal" href="advanced/optimizing/index.html#writing-faster-numerical-code">2.4.4. Writing faster numerical code</a></li>
  217. </ul>
  218. </li>
  219. <li class="toctree-l2"><a class="reference internal" href="advanced/scipy_sparse/index.html">2.5. Sparse Matrices in SciPy</a><ul>
  220. <li class="toctree-l3"><a class="reference internal" href="advanced/scipy_sparse/introduction.html">2.5.1. Introduction</a></li>
  221. <li class="toctree-l3"><a class="reference internal" href="advanced/scipy_sparse/storage_schemes.html">2.5.2. Storage Schemes</a></li>
  222. <li class="toctree-l3"><a class="reference internal" href="advanced/scipy_sparse/solvers.html">2.5.3. Linear System Solvers</a></li>
  223. <li class="toctree-l3"><a class="reference internal" href="advanced/scipy_sparse/other_packages.html">2.5.4. Other Interesting Packages</a></li>
  224. </ul>
  225. </li>
  226. <li class="toctree-l2"><a class="reference internal" href="advanced/image_processing/index.html">2.6. Image manipulation and processing using Numpy and Scipy</a><ul>
  227. <li class="toctree-l3"><a class="reference internal" href="advanced/image_processing/index.html#opening-and-writing-to-image-files">2.6.1. Opening and writing to image files</a></li>
  228. <li class="toctree-l3"><a class="reference internal" href="advanced/image_processing/index.html#displaying-images">2.6.2. Displaying images</a></li>
  229. <li class="toctree-l3"><a class="reference internal" href="advanced/image_processing/index.html#basic-manipulations">2.6.3. Basic manipulations</a></li>
  230. <li class="toctree-l3"><a class="reference internal" href="advanced/image_processing/index.html#image-filtering">2.6.4. Image filtering</a></li>
  231. <li class="toctree-l3"><a class="reference internal" href="advanced/image_processing/index.html#feature-extraction">2.6.5. Feature extraction</a></li>
  232. <li class="toctree-l3"><a class="reference internal" href="advanced/image_processing/index.html#measuring-objects-properties">2.6.6. Measuring objects properties</a></li>
  233. </ul>
  234. </li>
  235. <li class="toctree-l2"><a class="reference internal" href="advanced/3d_plotting/index.html">2.7. 3D plotting with Mayavi</a><ul>
  236. <li class="toctree-l3"><a class="reference internal" href="advanced/3d_plotting/simple_example.html">2.7.1. A simple example</a></li>
  237. <li class="toctree-l3"><a class="reference internal" href="advanced/3d_plotting/3d_plotting_functions.html">2.7.2. 3D plotting functions</a></li>
  238. <li class="toctree-l3"><a class="reference internal" href="advanced/3d_plotting/figures_and_decorations.html">2.7.3. Figures and decorations</a></li>
  239. <li class="toctree-l3"><a class="reference internal" href="advanced/3d_plotting/interaction.html">2.7.4. Interaction</a></li>
  240. </ul>
  241. </li>
  242. <li class="toctree-l2"><a class="reference internal" href="advanced/sympy.html">2.8. Sympy : Symbolic Mathematics in Python</a><ul>
  243. <li class="toctree-l3"><a class="reference internal" href="advanced/sympy.html#first-steps-with-sympy">2.8.1. First Steps with SymPy</a></li>
  244. <li class="toctree-l3"><a class="reference internal" href="advanced/sympy.html#algebraic-manipulations">2.8.2. Algebraic manipulations</a></li>
  245. <li class="toctree-l3"><a class="reference internal" href="advanced/sympy.html#calculus">2.8.3. Calculus</a></li>
  246. <li class="toctree-l3"><a class="reference internal" href="advanced/sympy.html#equation-solving">2.8.4. Equation solving</a></li>
  247. <li class="toctree-l3"><a class="reference internal" href="advanced/sympy.html#linear-algebra">2.8.5. Linear Algebra</a></li>
  248. </ul>
  249. </li>
  250. <li class="toctree-l2"><a class="reference internal" href="advanced/scikit-learn/index.html">2.9. scikit-learn: machine learning in Python</a><ul>
  251. <li class="toctree-l3"><a class="reference internal" href="advanced/scikit-learn/index.html#loading-an-example-dataset">2.9.1. Loading an example dataset</a></li>
  252. <li class="toctree-l3"><a class="reference internal" href="advanced/scikit-learn/index.html#supervised-learning">2.9.2. Supervised learning</a></li>
  253. <li class="toctree-l3"><a class="reference internal" href="advanced/scikit-learn/index.html#clustering-grouping-observations-together">2.9.3. Clustering: grouping observations together</a></li>
  254. <li class="toctree-l3"><a class="reference internal" href="advanced/scikit-learn/index.html#putting-it-all-together-face-recognition-with-support-vector-machines">2.9.4. Putting it all together : face recognition with Support Vector Machines</a></li>
  255. </ul>
  256. </li>
  257. </ul>
  258. </li>
  259. </ul>
  260. </div>
  261. <div style='visibility: hidden'><ul class="simple">
  262. <li><a class="reference download internal" href="_downloads/PythonScientific.pdf"><tt class="xref download docutils literal"><span class="pre">PythonScientific.pdf</span></tt></a></li>
  263. <li><a class="reference download internal" href="_downloads/PythonScientific-simple.pdf"><tt class="xref download docutils literal"><span class="pre">PythonScientific-simple.pdf</span></tt></a></li>
  264. </ul>
  265. </div></div>
  266. </div>
  267. </div>
  268. <div class="clearer"></div>
  269. </div>
  270. <div class="related">
  271. <h3>Navigation</h3>
  272. <ul>
  273. <li class="right" style="margin-right: 10px">
  274. <a href="AUTHORS.html" title="Authors"
  275. >next</a></li>
  276. <li><a href="#">Scipy lecture notes</a> &raquo;</li>
  277. </ul>
  278. </div>
  279. <div class="footer">
  280. &copy; Copyright 2011.
  281. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.
  282. </div>
  283. </body>
  284. </html>