pynucastro.neutrino_cooling package#

Neutrino cooling routines

Submodules#

pynucastro.neutrino_cooling.neutrino_cooling module#

class pynucastro.neutrino_cooling.neutrino_cooling.NeutrinoCooling(neutrino_function=<function sneut5>)[source]#

Bases: object

A class to provide an interface to explore neutrino cooling. This calls a specific implementation of the cooling that includes contributions from pairs, plasma, recombination, bremsstrahlung, and photoneutrinos.

plot(*, Tmin=10000000.0, Tmax=10000000000.0, rhomin=1000.0, rhomax=10000000000.0, abar=20, zbar=10, npts_temp=50, npts_rho=50)[source]#

given a fixed abar/zbar, make a plot of neutrino cooling over a range of density and temperature

pynucastro.neutrino_cooling.sneut5_mod module#

class pynucastro.neutrino_cooling.sneut5_mod.NeutrinoComponents[source]#

Bases: object

a simple container that holds the individual components to the neutrino cooling

pynucastro.neutrino_cooling.sneut5_mod.ifermi12(f)[source]#

apply a rational function expansion to get the inverse fermi-dirac integral of order 1/2 when it is equal to f. maximum error is 4.19e-9_rt. reference: Antia ApJS 84,101 1993

pynucastro.neutrino_cooling.sneut5_mod.sneut5(rho, T, comp=None, *, abar=None, zbar=None, full_output=False)[source]#

compute thermal neutrino losses from the analytic fits of Itoh et al. ApJS 102, 411, 1996. Note that either a Composition object of abar/zbar need to be provided.