Code Monkey home page Code Monkey logo

teaching's Introduction

Statistical Physics Interactive Examples in Python

Binder

Lead

Professor Bart. W. Hoogenboom

Authors
  • Luke K. Davis (@patherlkd)
  • Lorenzo Braccini
  • Livia Maskos
  • Adrien Claret-Tournier

How to use this repository

Running the examples

  1. Click on the Launch Binder button at the top of this README.

  2. Wait for the remote server to build the repo (can take a few moments), which will start a new window with the remote jupyter notebook directory.

  3. Click on a jupyter notebook of your choice.

  4. Click Cell and then Run All (Unless other running instructions specified).

Notes: Different cells take time to run, if on the left side of the notebook you see In[] (empty) it has not run yet. If you see In[*] it is currently running. If you see In[<number>] it has been executed (number relates to the order of its execution e.g. = 1st to tun).

Using the code

  • Either clone/fork this repository.

  • Download individual coding files.

Issues and course content

Please contact the lead/ raise an issue on the repository.

For the implementers (that have been granted push access):

Github commands (assuming UNIX (linux/Mac OS) terminal):

  • To clone current version onto you local machine:
<terminal>$ git clone https://github.com/hoogenboom-lab/teaching.git
  • To update your local copy with updated remote changes:
<terminal>$ git pull origin master
  • To remove a file (please take care when doing this):
<terminal>$ rm <file>
<terminal>$ git add .
<terminal>$ git commit -m "Removed <file>"
<terminal>$ git push origin master
  • To add or change a file:
<terminal>$ jupyter notebook

Then add or change your code to the notebook and save to a sensible filename = <file>. If you are updating an existing notebook, save it to the same filename.

<terminal>$ git add <file>
<terminal>$ git commit -m "Added <file>".
<terminal>$ git push origin master

You can also upload files on the github page itself ( Add file).

  • If you encounter merge issues, please contact Luke Davis (via Slack/email/github).

teaching's People

Contributors

patherlkd avatar liviamaskos avatar lorenzobracciniucl avatar adrienct avatar hoogenboom-lab avatar

Stargazers

 avatar

Watchers

 avatar

teaching's Issues

Tqdm fixes

I just tried the Maxwell–Boltzmann Distribution notebook in Binder, and was very impressed. However, to get it run I needed to add

!conda install -y -q tqdm

Then there is one more warning:

/srv/conda/envs/notebook/lib/python3.7/site-packages/ipykernel_launcher.py:39: TqdmDeprecationWarning: This function will be removed in tqdm==5.0.0
Please use `tqdm.notebook.tqdm` instead of `tqdm.tqdm_notebook`

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.