iPython Notebooks showing off NumPy, matplotlib, and our universe
Jupyter Notebook Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
An-Introduction
Skyfield-Notes
Solvers
.gitignore
Asteroids.ipynb
Axis-Wobble.ipynb
Delta-T.ipynb
Hertzsprung-Russell.ipynb
INSTALL-xubuntu-12.10
Interactive-3D-Earth-Satellites.ipynb
Interactive-3D-Solar-System.ipynb
Interactive-Sky.ipynb
Javascript-integration.ipynb
LICENSE
Plot.ipynb
README.md
Risings, Settings, & Culminations.ipynb
Stars.ipynb
Stellar-Color-Index.ipynb
Utils-HORIZONS-data.ipynb
conda.list
download_data.py
setup.bat
setup.sh
sky.html
sky.js
sky.py
spectral_classification.py
starcolors.txt

README.md

astronomy-notebooks

iPython Notebooks showing off NumPy, matplotlib, and our universe

Getting Started

The short version: make sure you have all of the appropriate dependencies installed and then run the appropriate setup script for your platform.

Linux

  1. Install/build the required dependencies. Most dependencies other than Python and virtualenv are automatically installed via the setup script.
  2. Clone or fork this repo.
  3. Run setup.sh to create a new virtualenv, install any missing dependencies, and download required data sets.

Well tested instructions for Xubuntu 12.10 are in INSTALL-xubuntu-12.10.

Windows

  1. Install the required dependencies. See below for details.
  2. Clone or fork this repo.
  3. Run setup.bat to create a new virtualenv, install any missing dependencies, and download required data sets.

Windows Dependencies (the simple way)

The easiest way to get all of the dependencies in Windows is to use a special Python distribution meant for scientific computing. Pick one of the following options:

  • Install Anaconda.
  • Or, install Python(x,y). You can reduce the disk space required by only selecting the dependencies listed below (and any components required by those dependencies). Mayavi is included as part of the 'ETS' component. If you already have Python 2.7 installed, Python(x,y) may clobber your existing installation.
  • Or, install EPD. The free version of EPD does not include Mayavi, but it does contain the tools required to build it from source. If you don't want 3D visualizations, you don't need Mayavi.

Windows Dependencies (the harder way)

  1. Install Python 2.7 and virtualenv. You may also want to install setuptools or distribute.
  2. Download and install binaries for wxPython, iPython, numpy, scipy, matplotlib.
  3. Use pip to install tornado, pyzmq, jinja2, sympy, pyephem, jplephem, de405, sgp4.
  4. (optional) If you're using regular Python, rather than EPD, you'll need to install or build VTK. Python(x,y) bundles an installer which is listed on the standard plugins page. If you want to try building VTK from source, you'll also need CMake, a compiler such as MinGW or Visual Studio, and a very large bottle of whiskey.
  5. Build Mayavi from source. You could also try installing the ETS package from the Python(x,y) standard plugins.

Dependencies

Python

  • Python (obviously), virtualenv

iPython

  • ipython, tornado, pyzmq, jinja2
  • sympy (only required for the 'iPython Features' notebook)

Visualization tools

  • numpy, scipy, matplotlib
  • VTK (must be compiled from source to include python support)
  • mayavi (may need to be compiled from source?)
  • wxPython

Astronomical software

  • pyephem, jplephem, de405, sgp4, python-skyfield
  • Large data sets required by these packages are downloaded automatically by the setup script

for 'An-Introduction--Pandas' notebook

  • pandas