Coder Social home page Coder Social logo

tigeryi1998 / astronomy-notebooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skyfielders/astronomy-notebooks

0.0 0.0 0.0 4.94 MB

iPython Notebooks showing off NumPy, matplotlib, and our universe

License: MIT License

Shell 0.02% HTML 0.07% JavaScript 0.20% Python 0.62% Batchfile 0.03% Jupyter Notebook 99.06%

astronomy-notebooks's Introduction

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

astronomy-notebooks's People

Contributors

aisipos avatar brandon-rhodes avatar chrisgilmerproj avatar erinspace avatar james-prior avatar joshpaterson avatar oefe avatar ozialien avatar tritium21 avatar velociraptors avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.