ThreeBodyProblem.jl

An astrodynamics package for working in the three body problem
Author jared711
Popularity
13 Stars
Updated Last
9 Months Ago
Started In
April 2020

ThreeBodyProblem.jl

Build Status Codecov Docs Binder

An astrodynamics package for working in the three-body problem.

Requirements

Julia 1.6+ https://julialang.org/downloads/

Installation

ThreebodyProblem.jl is on the General Registry. That means you can download it and start using it quickly in the Julia repl

Pkg.add("ThreeBodyProblem")
using ThreeBodyProblem

Examples

We've put together some working examples that demonstrate many of the functionalities of ThreeBodyProblem.jl. They can be found in the ThreeBodyProblemExamples.jl repository. Each example has a .jl and .ipynb file. The .jl files can be run line by line in your favorite IDE. Just download the ThreeBodyProblemExamples.jl repo and start a Julia repl.

git clone https://github.com/jared711/ThreeBodyProblemExamples.jl.git
cd ThreeBodyProblemExamples.jl
julia

From the Julia repl run

Pkg.activate(".")
Pkg.instantiate()

to download all the necessary packages.

Jupyter Notebooks

To run Jupyter notebooks on your local machine, you need to have the IJulia package downloaded, which it should be if you followed the steps above. Then run the notebook() command from your desired working directory

using IJulia
notebook(dir=".",detached=true)

VS Code has a Jupyter notebook extension, as do some other popular IDEs.

You can also run the Jupyter notebooks on your browser through binder. Just click the binder icon Binder and wait for a JupyterLab window to appear. It may take a few minutes to load. Make sure to turn off any adblocker for mybinder.org or it won't load. Pick the Jupyter notebook (filetype .ipynb) you want to run from the file tab on the left. Pressing CTRL+ENTER will run a block of code, while SHIFT+ENTER will run a block and move to the next one.

Documentation

The documentation is found here.

Used By Packages

No packages found.