Skip to content

Commit 2508d29

Browse files
authored
update the network docs (#1709)
1 parent 88c36e0 commit 2508d29

File tree

11 files changed

+285
-177
lines changed

11 files changed

+285
-177
lines changed

Docs/source/CNO_He_burn.png

-111 KB
Binary file not shown.

Docs/source/networks.rst

+263-170
Large diffs are not rendered by default.

Docs/source/refs.bib

+14
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,20 @@ @ARTICLE{itoh:1996
702702
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
703703
}
704704

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

706720
@article{amrex_joss,
707721
doi = {10.21105/joss.01370},

Docs/source/subch_base.png

-105 KB
Binary file not shown.

Docs/source/subch_simple.png

-108 KB
Binary file not shown.
Loading

networks/he-burn/cno-he-burn-33a/cno_he_burn_33a.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@ def doit():
3939
rho = 1.e6
4040
T = 1.e9
4141

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

4848
net.write_network()
4949

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

5152
if __name__ == "__main__":
5253
doit()
-14.1 KB
Loading

networks/he-burn/he-burn-31anp/he_burn_31anp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def doit():
4646
size=(1800, 900),
4747
node_size=500, node_shape="s", node_color="#337dff", node_font_size=10)
4848

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

5151
net.write_network()
5252

-7.35 KB
Loading

networks/he-burn/he-burn-36a/he_burn_36a.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def doit():
4040
size=(1800, 900),
4141
node_size=500, node_shape="s", node_color="#337dff", node_font_size=10)
4242

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

4545
net.write_network()
4646

0 commit comments

Comments
 (0)