Skip to content

Commit

Permalink
update the network docs (#1709)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Jan 27, 2025
1 parent 88c36e0 commit 2508d29
Show file tree
Hide file tree
Showing 11 changed files with 285 additions and 177 deletions.
Binary file removed Docs/source/CNO_He_burn.png
Binary file not shown.
433 changes: 263 additions & 170 deletions Docs/source/networks.rst

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions Docs/source/refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,20 @@ @ARTICLE{itoh:1996
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

@ARTICLE{iso7,
author = {{Timmes}, F.~X. and {Hoffman}, R.~D. and {Woosley}, S.~E.},
title = "{An Inexpensive Nuclear Energy Generation Network for Stellar Hydrodynamics}",
journal = {\apjs},
keywords = {Hydrodynamics, Methods: Numerical, Nuclear Reactions, Nucleosynthesis, Abundances, Stars: General},
year = 2000,
month = jul,
volume = {129},
number = {1},
pages = {377-398},
doi = {10.1086/313407},
adsurl = {https://ui.adsabs.harvard.edu/abs/2000ApJS..129..377T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

@article{amrex_joss,
doi = {10.21105/joss.01370},
Expand Down
Binary file removed Docs/source/subch_base.png
Binary file not shown.
Binary file removed Docs/source/subch_simple.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions networks/he-burn/cno-he-burn-33a/cno_he_burn_33a.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ def doit():
rho = 1.e6
T = 1.e9

net.plot(rho, T, comp, outfile="cno-he-burn-33a.png",
rotated=True, hide_xalpha=True, curved_edges=True,
size=(1500, 450),
node_size=500, node_font_size=11, node_color="#337dff", node_shape="s",
Z_range=(1, 29))
fig = net.plot(rho, T, comp,
rotated=True, hide_xalpha=True, curved_edges=True,
size=(1500, 450),
node_size=500, node_font_size=11, node_color="#337dff", node_shape="s",
Z_range=(1, 29))

net.write_network()

fig.savefig("cno-he-burn-33a.png", bbox_inches="tight")

if __name__ == "__main__":
doit()
Binary file modified networks/he-burn/he-burn-31anp/he-burn-31anp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion networks/he-burn/he-burn-31anp/he_burn_31anp.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def doit():
size=(1800, 900),
node_size=500, node_shape="s", node_color="#337dff", node_font_size=10)

fig.savefig("he-burn-31anp.png")
fig.savefig("he-burn-31anp.png", bbox_inches="tight")

net.write_network()

Expand Down
Binary file modified networks/he-burn/he-burn-36a/he-burn-36a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion networks/he-burn/he-burn-36a/he_burn_36a.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def doit():
size=(1800, 900),
node_size=500, node_shape="s", node_color="#337dff", node_font_size=10)

fig.savefig("he-burn-36a.png")
fig.savefig("he-burn-36a.png", bbox_inches="tight")

net.write_network()

Expand Down

0 comments on commit 2508d29

Please sign in to comment.