vice.yields.sneia.single¶
Lookup the mass yield of a given element from a single instance of a type Ia supernova (SN Ia) as determined by a specified study and explosion model.
Signature: vice.yields.sneia.single(element, study = “seitenzahl13”, model = “N1”)
Parameters¶
- element
str
[case-insensitive] The symbol of the element to look up the yield for.
- study
str
[case-insensitive] [default“seitenzahl13”] A keyword denoting which study to adopt the yield from
Keywords and their Associated Studies:
- model
str
[case-insensitive] [defaultN1] A keyword denoting the explosion model from the associated study to adopt.
Keywords and their Associated Models:
“seitenzahl13” : N1, N3, N5, N10, N20, N40, N100H, N100, N100L, N150, N200, N300C, N1600, N1600C, N100_Z0.5, N100_Z0.1, N100_Z0.01
“iwamoto99” : W7, W70, WDD1, WDD2, WDD3, CDD1, CDD2
Returns¶
- yreal number
The mass yield of the given element in \(M_\odot\) under the specified explosion model as reported by the nucleosynthesis study.
Raises¶
- ValueError
The element is not built into VICE
The study is not built into VICE
- LookupError
The study is recognized, but the model is not recognized for that particular study.
- IOError [Occurs only if VICE’s file structure has been modified]
The data file is not found.
Notes¶
Note
The nucleosynthetic yield tables built into VICE do not include any treatment of radioactive isotopes. The mass yield of the given element will be reported as the sum of stable isotopes only. In the case of elements with a significant nucleosynthetic contribution from radioactive decay products, the values returned from this function should be interpreted as lower bounds rather than estimates of the true yield.
Example Code¶
>>> import vice
>>> vice.yields.sneia.single("fe")
1.17390714
>>> vice.yields.sneia.single("fe", study = "iwamoto99", model = "W70")
0.77516
>>> vice.yields.sneia.single("ni", model = "n100l")
0.0391409000000526
See also
vice.yields.sneia.fractional