Skip to content

Commit

Permalink
add environment.yml for Jupyter Notebook (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
schuhmaj committed Mar 25, 2024
1 parent d9fad61 commit 19ea015
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions script/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: polyhedral-gravity-jupyter-notebook
channels:
- conda-forge
dependencies:
- jupyter
- numpy
- matplotlib
- sympy
- polyhedral-gravity-model
8 changes: 7 additions & 1 deletion script/polyhedral-gravity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
"source": [
"# The polyhedral gravity model - Python interface\n",
"\n",
"First some imports:\n"
"The dependencies required to run this notebook can be found in the `environment.yml` file. You can create a conda environment with the required dependencies by running:\n",
"\n",
"```bash\n",
"conda env create -f environment.yml\n",
"```\n",
"\n",
"Using this environment, you can start executing this notebook cell by cell:\n"
]
},
{
Expand Down

0 comments on commit 19ea015

Please sign in to comment.