Git Product home page Git Product logo

thesis's Introduction

Simulations of Magnetohydrodynamic Waves Driven by Photospheric Motions

Code: DOI Thesis: DOI

This is the PhD Thesis of Stuart Mumford.

Quick Start

To build this thesis you should be able to run:

git clone [email protected]:Cadair/Thesis.git
cd Thesis
git annex get
conda env create -f conda_requirements.yml
source activate thesis
python run.py thesis

This assumes a few things:

  1. You have pythontex, pdfLaTeX and bibtex.
  2. You have conda installed.
  3. You have an ssh key configured for GitLab
  4. You have git-annex installed.

If you need more information continue reading!

Information

This is based on the thesis template here. To run this you need Python 2.7 with PythonTex, PDFLaTeX and BibTeX. The Python dependencies needed are given in conda_requirements.txt.

Using conda

You can build the thesis from inside a conda environment as long as you have TexLive and pythontex installed in your system path. You can create a conda environment with the following command:

conda env create -f conda_requirements.yml

activate the new environment with:

source activate thesis

Obtaining the data

The data needed to run the Python code in this thesis is managed using git-annex. Firstly, therefore, you will need to install git-annex.

Once you have installed git-annex you will need to have the GitLab Repository as a remote, as this hosts the git-annex data. If you have already cloned from GitHub you will need to run:

git remote add gitlab [email protected]:Cadair/Thesis.git

NOTE: You must have an ssh key configured on GitLab for git-annex to work. If you have cloned directly from the GitLab repository you can skip this step.

once you have this remote run:

git fetch --all
git annex get

to download the data.

Building the Thesis

Once the data has been obtained and the environment built, you can build the pdf with the following command:

python run.py thesis

This will produce a file: thesis/smumford_thesis.pdf.

Copyright

The LaTeX here I used is copyright Krishna Kumar and licensed under the terms of the MIT licence. All LaTeX code (not embedded Python) is licenced under the MIT license. All Python code contained in this repository is copyright Stuart Mumford and is made availble under the MIT or 2-clause BSD license.

The actual content of the document is made availble under the terms of the CC-BY 4.0 license. The contents of Chapter 4 form part of Mumford et. al (2015) and is subject to the license of that journal. Permission for the material to be included and distributed as part of this thesis has been obtained, but derivative works are a murky area.

thesis's People

Contributors

cadair avatar

Stargazers

M Arifin Dobson avatar Muhammad Rafay Awan avatar Hasret Atsy avatar Will Barnes avatar Nick Murphy avatar  avatar  avatar

Watchers

James Cloos avatar  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.