Skip to content

Commit

Permalink
Updates Publication
Browse files Browse the repository at this point in the history
Fixed requirements and removed latex dependence in the example
  • Loading branch information
MeighenBergerS committed Jun 28, 2021
1 parent 0f90b51 commit 2c2de8b
Show file tree
Hide file tree
Showing 14 changed files with 126 additions and 75 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ fd.log
.ipynb_checkpoints

venv3

*.json
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"python.pythonPath": "c:\\Users\\steph\\Anaconda3\\envs\\fd\\python.exe"
}
31 changes: 27 additions & 4 deletions examples/example_analysis.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/example_analysis_data_creation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down
17 changes: 8 additions & 9 deletions examples/example_attenuation_measurement.ipynb

Large diffs are not rendered by default.

21 changes: 7 additions & 14 deletions examples/example_basics.ipynb

Large diffs are not rendered by default.

23 changes: 11 additions & 12 deletions examples/example_calibration_analysis.ipynb

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions examples/example_density_analysis.ipynb

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions examples/example_spectral_distributions.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/example_velocity_dependence.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"# Font style\n",
"from matplotlib import rc\n",
"rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})\n",
"rc('text', usetex=True)"
"rc('text', usetex=False)"
]
},
{
Expand Down Expand Up @@ -298,7 +298,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions probabilistic_modelling/probabilistic_comp_strawb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
"source": [
"from matplotlib import rc\n",
"rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})\n",
"rc('text', usetex=True)"
"rc('text', usetex=False)"
]
},
{
Expand Down Expand Up @@ -1419,7 +1419,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down
19 changes: 2 additions & 17 deletions probabilistic_modelling/probabilistic_model_constructions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"source": [
"# General imports\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import sys\n",
"from tqdm import tqdm\n",
"import pickle"
Expand Down Expand Up @@ -53,8 +52,7 @@
"outputs": [],
"source": [
"# Module imports\n",
"from fourth_day import Fourth_Day, config\n",
"from fourth_day.pdfs import construct_pdf"
"from fourth_day import Fourth_Day, config"
]
},
{
Expand All @@ -70,19 +68,6 @@
"h_length=1."
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"from matplotlib import rc\n",
"rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})\n",
"## for Palatino and other serif fonts use:\n",
"#rc('font',**{'family':'serif','serif':['Palatino']})\n",
"rc('text', usetex=True)"
]
},
{
"cell_type": "code",
"execution_count": 8,
Expand Down Expand Up @@ -249,7 +234,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down
46 changes: 39 additions & 7 deletions probabilistic_modelling/probabilistic_model_plot.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
jupyter
pandas
yaml
pyyaml
nbstripout
matplotlib
numpy
Expand Down

0 comments on commit 2c2de8b

Please sign in to comment.