pynucastro.networks.common_networks module#
Helper functions for creating common networks used in simulations.
- pynucastro.networks.common_networks.aprox13(*, network_type='python')[source]#
Create the aprox13 network.
aprox13 contains 13 nuclei and is suitable for explosive He and C burning. It uses the (α,p)(p,γ) approximation for the α-chain and approximates C+C, C+O, and O+O burning.
- Parameters:
network_type (str) –
The type of network to create. Allowed values are:
”python” : create a
PythonNetwork”cxx” : create a
SimpleCxxNetwork”fortran” : create a
FortranNetwork”amrex” : create a
AmrexAstroCxxNetwork
- Return type:
PythonNetwork, SimpleCxxNetwork, AmrexAstroCxxNetwork, FortranNetwork
- pynucastro.networks.common_networks.cno(*, network_type='python')[source]#
Create a CNO burning network.
This is based on the MESA cno_extras network, but it has more reverse rates (which may or may not be important).
- Parameters:
network_type (str) –
The type of network to create. Allowed values are:
”python” : create a
PythonNetwork”cxx” : create a
SimpleCxxNetwork”fortran” : create a
FortranNetwork”amrex” : create a
AmrexAstroCxxNetwork
- Return type:
PythonNetwork, SimpleCxxNetwork, AmrexAstroCxxNetwork, FortranNetwork
- pynucastro.networks.common_networks.mesa_basic(*, network_type='python')[source]#
Create the MESA basic.net network.
MESA’s basic.net contains 8 nuclei and approximates pp-I,II,III, CNO (but not hot-CNO), and He-burning.
- Parameters:
network_type (str) –
The type of network to create. Allowed values are:
”python” : create a
PythonNetwork”cxx” : create a
SimpleCxxNetwork”fortran” : create a
FortranNetwork”amrex” : create a
AmrexAstroCxxNetwork
- Return type:
PythonNetwork, SimpleCxxNetwork, AmrexAstroCxxNetwork, FortranNetwork