vice.singlezone.entrainment

Type : <entrainment object>

Default : all elements from all enrichment channels assigned a value of 1.

Each element from each enrichment channel assigned a value of 1. These values denote the mass fraction of nucleosynthetic yields that are retained by the interstellar medium, the remainder of which is added directly to outflows. These must always be numerical values between 0 and 1.

Attributes

agbdataframe

The entrainment fraction of each element from AGB stars

ccsnedataframe

The entrainment fraction of each element from CCSNe

sneiadataframe

The entrainment fraction of each element fron SNe Ia

See also

vice.dataframe

Example Code

>>> import vice
>>> sz = vice.singlezone(name = "example")
>>> # set the entrainment of CCSN ejecta to 80 percent
>>> for i in sz.elements:
        sz.entrainment.ccsne[i] = 0.8
>>> # set the entrainment of SN Ia ejecta to 90 percent
>>> for i in sz.elements:
        sz.entrainment.sneia[i] = 0.9