pynucastro.neutrino_cooling.neutrino_cooling module#
Classes and methods for exploring thermal neutrinos.
- class pynucastro.neutrino_cooling.neutrino_cooling.NeutrinoCooling(neutrino_function=<function sneut5>)[source]#
Bases:
objectA 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]#
Plot the cooling term in as a function of density and temperature given a fixed abar/zbar.
- Parameters:
Tmin (float) – Minimum temperature to plot
Tmax (float) – Maximum temperature to plot
rhomin (float) – Minimum density to plot
rhomax (float) – Maximum density to plot
abar (float) – Mean molecular weight of composition
zbar (float) – Average charge of composition
npts_temp (int) – Number of temperature samples to use
npts_rho (int) – Number of density samples to use
- Return type: