{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Scientific Libraries with Python" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Although coding with Python is very versatile and allows many advanced features that are useful when manipulating massive data (a common task in science), Python is still a multipurpose language, what implies that scientific routines and functions cannot (should not) be supported within its basic core. Nevertheless, there are many different scientific libraries that can extend the capabilities of Python to scientific implementations in a natural way. Two of the most used libraries are NumPy and SciPy, intended for manipulating mathematical objects more efficiently and for extending and including numerical methods, respectively. Another less used libraries like SymPy are intended for manipulating analytical expressions, i.e. a CAS (Computer Algebraic System).\n", "\n", "\n", "Installation of these libraries is often an easy task. In most of the Linux distros you should find them in the official repositories." ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Official Pages" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "See the official pages of the libraries for new versions, news and manuals.\n", "\n", "**NumPy:**\n", "\n", "[http://www.numpy.org/](http://www.numpy.org/)\n", "\n", "**SciPy**\n", "\n", "[http://www.scipy.org/](http://www.scipy.org/)\n", "\n", "**SymPy**\n", "\n", "[http://www.sympy.org/en/index.html](http://www.sympy.org/en/index.html)\n", "\n", "**Anaconda**\n", "\n", "[https://store.continuum.io/cshop/anaconda/](https://store.continuum.io/cshop/anaconda/)\n", "\n", "*Anaconda is an interesting proposal that integrates many standard scientific libraries with Python*\n", "\n", "\n", "There are many different scientific libraries for Python with many different uses, even for very specific tasks. However, as we are interested in general numerical methods, we will focus only on NumPy and Scipy.\n", "\n", "- - - " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "- [Official Pages](#Official-Pages)\n", "- [**NumPy**](#NumPy)\n", " - [Basic Use](#Basic-Use)\n", " - [Importing and basic math](#Importing-and-basic-math)\n", " - [Lists vs NumPy arrays](#Lists-vs-NumPy-arrays)\n", " - [Advanced features of arrays](#Advanced-features-of-arrays)\n", " - [Miscellaneous Functions](#Miscellaneous-Functions)\n", "- [**SciPy**](#Scipy)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "- - - " ] }, { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "