Git Product home page Git Product logo

hyperpython's Introduction

HyperPython

A brief and practical introduction to the solution of hyperbolic conservation laws. This set of IPython notebooks was originally prepared for a 1-day tutorial that I taught in Gyor, Hungary in May 2014 as part of the Workshop on Design, Simulation, Optimization and Control of Green Vehicles and Transportation.

Installation

The easiest way to run these is to create a free account on SageMathCloud. Then create a new project, click "new file", type https://github.com/ketch/HyperPython.git into the box and hit enter. That's it!

To run the notebooks on your own computer, you'll need:

  • Python >=2.7
  • IPython >=1.2.0
  • Numpy
  • Matplotlib
  • Clawpack >=5.1

The last four can all be installed using pip:

pip install ipython
pip install numpy
pip install matplotlib
pip install clawpack

Then clone or download the repository.

Running the notebooks

To start the course, do

git clone https://github.com/ketch/HyperPython.git
cd HyperPython
ipython notebook

and click on Lesson 0.

Acknowledgment

The design of the notebooks and their organization was inspired by Lorena Barba's excellent AeroPython course.

Contributing

If you spot any errors or would like to make improvements, pull requests are welcome!

Content provided under a Creative Commons Attribution license, CC-BY 4.0; code under MIT License.

(c)2014 David I. Ketcheson

hyperpython's People

Contributors

cbm755 avatar hadjimy avatar ianhawke avatar ketch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyperpython's Issues

PyClaw introduced in lesson 4, used in lesson 1

When plotting the exact solution for the advection equation in lesson 1, pyclaw is needed (in the second input cell there's the line
from clawpack.visclaw.JSAnimation import IPython_display
).
As it had been mentioned in lesson 0 I just installed it; however, there's then detailed installation instructions in lesson 4. Maybe those should be moved to lesson 0?

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.