Skip to content

Commit

Permalink
Another test of the automation
Browse files Browse the repository at this point in the history
  • Loading branch information
mklilley committed Dec 26, 2024
1 parent 53f478c commit 3592bf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fusion-rates-gamow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"id": "4acec128-2ab8-43a4-a4b2-843bdf589f73",
"metadata": {},
"outputs": [],
"source": [
"# The nuclear Woods-Saxon nuclear potential \n",
"# The nuclear Woods-Saxon nuclear potential\n",
"def V_nuc(r, V0, r_S, a_S):\n",
" r_safe = np.minimum(r, 100) # Prevents overflow errors in the exponential when r is in the pm range\n",
" return V0 / (1 + np.exp((r_safe - r_S) / a_S))"
Expand Down
2 changes: 1 addition & 1 deletion src/fusion-rates-gamow.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ $$V_{\rm nuc}^{S,L}(r) ~=~ {V_0 \over 1 + e^{(r - r_S) / a_S}}$$


```python
# The nuclear Woods-Saxon nuclear potential
# The nuclear Woods-Saxon nuclear potential
def V_nuc(r, V0, r_S, a_S):
r_safe = np.minimum(r, 100) # Prevents overflow errors in the exponential when r is in the pm range
return V0 / (1 + np.exp((r_safe - r_S) / a_S))
Expand Down

0 comments on commit 3592bf8

Please sign in to comment.