vice.core.dataframe.ccsn_yield_table

The VICE dataframe: derived class (inherits from base)

Stores the data from a core collapse supernova (CCSN) mass yield table published in a nucleosynthesis study.

Note

This dataframe is not customizable. Its values cannot be altered.

Attributes

massestuple

The initial CCSN progenitor masses in \(M_\odot\).

isotopestuple

The stable isotopes of the element with reported yields in \(M_\odot\). None if created with a call to vice.yields.ccsne.table with the keyword argument isotopic = False.

Indexing

  • real numberprogenitor stellar mass

    The initial mass of the CCSN progenitor in \(M_\odot\).

  • strisotope

    The isotope of the element. Only allowed when the dataframe is initialized with the keyword argument isotopic = True.

Functions

  • keys

  • todict

Example Code

>>> import vice
>>> example = vice.yields.ccsne.table('o')
>>> example
        vice.dataframe{
                13.0 -----------> 0.247071034
                15.0 -----------> 0.585730308
                20.0 -----------> 1.256452301
                25.0 -----------> 2.4764558329999997
                30.0 -----------> 0.073968147
                40.0 -----------> 0.087475695
                60.0 -----------> 0.149385561
                80.0 -----------> 0.24224373600000002
                120.0 ----------> 0.368598602
        }
>>> example = vice.yields.ccsne.table('c', isotopic = True)
>>> example
        vice.dataframe{
                13 -------------> {'c12': 0.11404, 'c13': 0.0006918}
                15 -------------> {'c12': 0.22096, 'c13': 0.00077869}
                20 -------------> {'c12': 0.40941, 'c13': 0.0010411}
                25 -------------> {'c12': 0.61944, 'c13': 0.0012839}
                30 -------------> {'c12': 0.025054, 'c13': 0.0014423}
                40 -------------> {'c12': 0.031933, 'c13': 0.0018031}
                60 -------------> {'c12': 0.39826, 'c13': 0.0017254}
                80 -------------> {'c12': 1.1226, 'c13': 0.0017021}
                120 ------------> {'c12': 2.0178, 'c13': 0.0023899}
        }

Signature: vice.core.dataframe.ccsn_yield_table(masses, yields, isotopes = None)

Warning

Users should avoid creating new instances of derived classes of the VICE dataframe. To obtain instances of this class, use the lookup function vice.yields.ccsne.table.

Parameters

massestuple

The progenitor masses on which the grid is sampled in \(M_\odot\).

yieldstuple

The yields at each mass. A 2-D tuple is interpreted as an isotopic breakdown.

isotopestuple [defaultNone]

The isotopes of the element. None if created with a call to vice.yields.ccsne.table with the keyword argument isotopic = False.