AstrochemicalYields

Documentation for AstrochemicalYields.

AstrochemicalYields.Vincenzo2016Type
Vincenzo2016(; bounds=Throw())

Interpolator for the stellar lifetime fits of Vincenzo+2016. These are based on PARSEC stellar models. The lifetimes can be interpolated by calling an instance with a metal mass fraction Z and a stellar mass M (in solar masses), returning the stellar lifetime in Gyr. The keyword argument bounds should be a valid Interpolations.jl extrapolation specifier that will determine how the interpolation is extrapolated (e.g., Flat()).

julia> using AstrochemicalYields: Vincenzo2016

julia> v = Vincenzo2016();

julia> M, Z = 1.0, 1e-2;

julia> v(Z, M) ≈ 9.876997213870718
true
source
AstrochemicalYields.ejecta_alpha_massMethod
ejecta_alpha_mass(table::AbstractYield, Z, M)

Returns the mass of ejected alpha elements (O, Ne, Mg, Si, S, Ar, Ca, and Ti) for a star with initial metallicity Z and initial stellar mass M (masses in solar masses).

source
AstrochemicalYields.ejecta_massMethod
ejecta_mass(table::AbstractYield, Z, M)

Returns the mass of all ejected materials for a star with initial metallicity Z and initial stellar mass M (masses in solar masses). This is generally preSN_mass(...) - remnant_mass(...).

source
AstrochemicalYields.ejecta_metal_massMethod
ejecta_metal_mass(table::AbstractYield, Z, M)

Returns the mass of ejected metals (elements heavier than helium) for a star with initial metallicity Z and initial stellar mass M (masses in solar masses).

source
AstrochemicalYields.extend_boundsMethod
extend_bounds(x, N::Integer)

If x isa Number, returns an SVector{N, typeof(x)}(x), else returns x. Used for adapting constant interpolations for Interpolations.jl into multi-valued SVectors.

source
AstrochemicalYields.preSN_massMethod
remnant_mass(table::AbstractYield, Z, M)

Returns the pre-supernova mass of a star with initial metallicity Z and initial stellar mass M (masses in solar masses). This is not always equal to the stellar initial mass as massive stars can lose mass due to winds before becoming supernovae.

source
AstrochemicalYields.remnant_massMethod
remnant_mass(table::AbstractYield, Z, M)

Returns the remnant mass of a star with initial metallicity Z and initial stellar mass M (masses in solar masses).

source
AstrochemicalYields.Kobayashi2006.Kobayashi2006SNType
Kobayashi2006SN(; bounds=Throw()) <: AbstractYield

Load the Kobayashi+2006 core-collapse supernova yield table (this is mostly the same as Nomoto+2006). The yield table can be interpolated by calling it with the metal mass fraction Z and stellar mass M (in solar masses) of the progenitor. The keyword argument bounds should be a valid Interpolations.jl extrapolation specifier that will determine how the interpolation is extrapolated (e.g., Flat()).

julia> n = Kobayashi2006SN();

julia> n(0.002, 13.5) isa NamedTuple
true
source
AstrochemicalYields.Nomoto2006.Nomoto2006SNType
Nomoto2006SN(; bounds=Throw()) <: AbstractYield

Load the Nomoto+2006 core-collapse supernova yield table. The yield table can be interpolated by calling it with the metal mass fraction Z and stellar mass M (in solar masses) of the progenitor. The keyword argument bounds should be a valid Interpolations.jl extrapolation specifier that will determine how the interpolation is extrapolated (e.g., Flat()).

julia> n = Nomoto2006SN();

julia> n(0.002, 13.5) isa NamedTuple
true
source
AstrochemicalYields.Portinari1998.Portinari1998SNType
Portinari1998SN(; bounds=Throw()) <: AbstractYield

Load the Portinari+1998 core-collapse supernova yield table. The yield table can be interpolated by calling it with the metal mass fraction Z and stellar mass M (in solar masses) of the progenitor. The keyword argument bounds should be a valid Interpolations.jl extrapolation specifier that will determine how the interpolation is extrapolated (e.g., Flat()).

julia> n = Portinari1998SN();

julia> n(0.002, 13.5) isa NamedTuple
true
source