Recent Releases of vice
vice - v1.3.1
Changelog entries for this release:
1.3.1
vice.multizoneEnforces each zone to run in the same mode (related to the handling of inflow metallicites; see below).vice.singlezoneandvice.multizone- Handles non-zero inflow metallicities in a more stable way. Unit tests search for numerical artifacts in "sudden event" evolutionary histories exhibiting bursts in star formation.
- Includes primordial metallicity component in the reported total abundance in accreting gas at each timestep.
vice.dataframeFixed issues with inheritance structure affecting recent versions of python (3.11 and 3.12)vice.yields.ccsne.fractional- Subtracts the remnant mass from the initial mass in computing net yields from the tables containing gross yields. A small correction for metals, the difference is significant for helium.
Fixed callback objects to be compatible with Cython>=3.0.
- Python
Published by giganano over 2 years ago
vice - v1.3.0
Changelog entries for this release:
1.3.0
vice.mlrAdditional options for the stellar mass-lifetime relation (MLR).vice.mlr.powerlaw:functionThe single power-law formulation assumed in previous versions.vice.mlr.vincenzo2016:functionThe MLR parameterized by Vincenzo et al. (2016), MNRAS, 460, 2238vice.mlr.hpt2000:functionThe MLR parameterized by Hurley, Pols & Tout (2000), MNRAS, 315, 543vice.mlr.ka1997:functionThe MLR parameterized by Kodama & Arimoto (1997), A&A, 320, 41vice.mlr.pm1993:functionThe MLR parameterized by Padovani & Matteucci (1993), ApJ, 416, 26vice.mlr.mm1989:functionThe MLR parameterized by Maeder & Meynet (1989), A&A, 210, 155vice.mlr.larson1974:functionThe MLR parameterized by Larson (1974), MNRAS, 166, 585vice.mlr.setting:strA string denoting which of the above functions to adopt as the current setting determining the MLR in all chemical evolution models and single stellar population calculations.vice.mlr.recognized:tupleContains the strings denoting allowed values forvice.mlr.setting.
vice.yields.agb.ventura13New set of theoretically predicted asymptotic giant branch star yields compiled from the following set of papers:- Ventura et al. (2013), MNRAS, 431, 3642 (Z = 0.0003, 0.008)
- Ventura et al. (2014), MNRAS, 437, 3274 (Z = 0.004)
- Ventura et al. (2018), MNRAS, 475, 2282 (Z = 0.014)
- Ventura et al. (2020), A&A, 641, A103 (Z = 0.04)
These tables also include unpublished yields from the same author at progenitor metallicities of Z = 0.001 and 0.002.
vice.yields.agb.karakas16New set of theoretically predicted asymptotic giant branch star yields compiled from Karakas & Lugaro (2016), ApJ, 825, 26 and Karakas et al. (2018), MNRAS, 477, 421. The Karakas & Lugaro (2016) tables provide yields for progenitor metallicities of Z = 0.007, 0.014, and 0.03, while the Karakas et al. (2018) tables provide them for Z = 0.0028, a metallicity appropriate for stars in the Small Magellanic Cloud.vice.yields.sneia.gronow21New set of theoretically predicted type Ia supernova yields compiled from Gronow et al. (2021a), A&A, 649, 155 and Gronow et al. (2021b), arxiv:2103.14050. These studies report yields for double detonations of sub-Chandrasekhar mass white dwarfs at various progenitor metallicities. The Gronow et al. (2021a) study reports yields for white dwarf progenitors of solar metallicity, while Gronow et al. (2021b) report them for Z / Zsun = 0.01, 0.1, and 3.vice.primordialPrimordial abundance of helium updated from 0.24672 to 0.24721 based on the findings of Pitrou et al. (2021), MNRAS, 502, 2474.Command-Line Functionality When running
vice --tutorialfrom the command line (or equivalently,python -m vice --tutorial), VICE first attempts to download the examples/QuickStartTutorial.ipynb jupyter notebook to the install directory, and then launches it locally. If it cannot download the notebook, it will launch a previously downloaded version if it has one. In the event that no local copy exists and it cannot be downloaded, it will raise aRuntimeError.
Patches
- Addressed single timestep level bug in elemental accretion rate from primordial gas affecting models ran in star formation and gas modes.
- Python
Published by giganano about 4 years ago
vice - Version 1.3.0rc2
This is the second pre-release of version 1.3.0. Changelog entries for this release:
1.3.0
vice.mlrAdditional options for the stellar mass-lifetime relation (MLR).vice.mlr.powerlaw:functionThe single power-law formulation assumed in previous versions.vice.mlr.vincenzo2016:functionThe MLR parameterized by Vincenzo et al. (2016), MNRAS, 460, 2238vice.mlr.hpt2000:functionThe MLR parameterized by Hurley, Pols & Tout (2000), MNRAS, 315, 543vice.mlr.ka1997:functionThe MLR parameterized by Kodama & Arimoto (1997), A&A, 320, 41vice.mlr.pm1993:functionThe MLR parameterized by Padovani & Matteucci (1993), ApJ, 416, 26vice.mlr.mm1989:functionThe MLR parameterized by Maeder & Meynet (1989), A&A, 210, 155vice.mlr.larson1974:functionThe MLR parameterized by Larson (1974), MNRAS, 166, 585vice.mlr.setting:strA string denoting which of the above functions to adopt as the current setting determining the MLR in all chemical evolution models and single stellar population calculations.vice.mlr.recognized:tupleContains the strings denoting allowed values forvice.mlr.setting.
vice.yields.agb.ventura13New set of theoretically predicted asymptotic giant branch star yields compiled from the following set of papers:- Ventura et al. (2013), MNRAS, 431, 3642 (Z = 0.0003, 0.008)
- Ventura et al. (2014), MNRAS, 437, 3274 (Z = 0.004)
- Ventura et al. (2018), MNRAS, 475, 2282 (Z = 0.014)
- Ventura et al. (2020), A&A, 641, A103 (Z = 0.04)
These tables also include unpublished yields from the same author at progenitor metallicities of Z = 0.001 and 0.002.
vice.yields.agb.karakas16New set of theoretically predicted asymptotic giant branch star yields compiled from Karakas & Lugaro (2016), ApJ, 825, 26 and Karakas et al. (2018), MNRAS, 477, 421. The Karakas & Lugaro (2016) tables provide yields for progenitor metallicities of Z = 0.007, 0.014, and 0.03, while the Karakas et al. (2018) tables provide them for Z = 0.0028, a metallicity appropriate for stars in the Small Magellanic Cloud.vice.yields.sneia.gronow21New set of theoretically predicted type Ia supernova yields compiled from Gronow et al. (2021a), A&A, 649, 155 and Gronow et al. (2021b), arxiv:2103.14050. These studies report yields for double detonations of sub-Chandrasekhar mass white dwarfs at various progenitor metallicities. The Gronow et al. (2021a) study reports yields for white dwarf progenitors of solar metallicity, while Gronow et al. (2021b) report them for Z / Zsun = 0.01, 0.1, and 3.vice.primordialPrimordial abundance of helium updated from 0.24672 to 0.24721 based on the findings of Pitrou et al. (2021), MNRAS, 502, 2474.Command-Line Functionality When running
vice --tutorialfrom the command line (or equivalently,python -m vice --tutorial), VICE first attempts to download the examples/QuickStartTutorial.ipynb jupyter notebook to the install directory, and then launches it locally. If it cannot download the notebook, it will launch a previously downloaded version if it has one. In the event that no local copy exists and it cannot be downloaded, it will raise aRuntimeError.
Patches
- Addressed single timestep level bug in elemental accretion rate from primordial gas affecting models ran in star formation and gas modes.
- Python
Published by giganano about 4 years ago
vice - Version 1.3.0rc1
This is the first pre-release of version 1.3.0. Changelog entries for this release:
1.3.0
vice.mlrAdditional options for the stellar mass-lifetime relation (MLR).vice.mlr.powerlaw:functionThe single power-law formulation assumed in previous versions.vice.mlr.vincenzo2016:functionThe MLR parameterized by Vincenzo et al. (2016), MNRAS, 460, 2238vice.mlr.hpt2000:functionThe MLR parameterized by Hurley, Pols & Tout (2000), MNRAS, 315, 543vice.mlr.ka1997:functionThe MLR parameterized by Kodama & Arimoto (1997), A&A, 320, 41vice.mlr.pm1993:functionThe MLR parameterized by Padovani & Matteucci (1993), ApJ, 416, 26vice.mlr.mm1989:functionThe MLR parameterized by Maeder & Meynet (1989), A&A, 210, 155vice.mlr.larson1974:functionThe MLR parameterized by Larson (1974), MNRAS, 166, 585vice.mlr.setting:strA string denoting which of the above functions to adopt as the current setting determining the MLR in all chemical evolution models and single stellar population calculations.vice.mlr.recognized:tupleContains the strings denoting allowed values forvice.mlr.setting.
vice.yields.agb.ventura13New set of theoretically predicted asymptotic giant branch star yields compiled from the following set of papers:- Ventura et al. (2013), MNRAS, 431, 3642 (Z = 0.0003, 0.008)
- Ventura et al. (2014), MNRAS, 437, 3274 (Z = 0.004)
- Ventura et al. (2018), MNRAS, 475, 2282 (Z = 0.014)
- Ventura et al. (2020), A&A, 641, A103 (Z = 0.04)
These tables also include unpublished yields from the same author at progenitor metallicities of Z = 0.001 and 0.002.
vice.yields.agb.karakas16New set of theoretically predicted asymptotic giant branch star yields compiled from Karakas & Lugaro (2016), ApJ, 825, 26 and Karakas et al. (2018), MNRAS, 477, 421. The Karakas & Lugaro (2016) tables provide yields for progenitor metallicities of Z = 0.007, 0.014, and 0.03, while the Karakas et al. (2018) tables provide them for Z = 0.0028, a metallicity appropriate for stars in the Small Magellanic Cloud.vice.yields.sneia.gronow21New set of theoretically predicted type Ia supernova yields compiled from Gronow et al. (2021a), A&A, 649, 155 and Gronow et al. (2021b), arxiv:2103.14050. These studies report yields for double detonations of sub-Chandrasekhar mass white dwarfs at various progenitor metallicities. The Gronow et al. (2021a) study reports yields for white dwarf progenitors of solar metallicity, while Gronow et al. (2021b) report them for Z / Zsun = 0.01, 0.1, and 3.Command-Line Functionality When running
vice --tutorialfrom the command line (or equivalently,python -m vice --tutorial), VICE first attempts to download the examples/QuickStartTutorial.ipynb jupyter notebook to the install directory, and then launches it locally. If it cannot download the notebook, it will launch a previously downloaded version if it has one. In the event that no local copy exists and it cannot be downloaded, it will raise aRuntimeError.
- Python
Published by giganano over 4 years ago
vice - Version 1.2.1
Changelog entries for this release:
1.2.1
- Minor documentation updates
Patches
Addressed spurrious warning regarding NaN main sequence turnoff mass
vice.dataframe.todict()Now returns a copy of the dictionary stored under the hood
- Python
Published by giganano over 4 years ago
vice - Version 1.2.0
Changelog entries for this version:
1.2.0
vice.solar_z:dataframeUsers may now modify their adopted solar composition.vice.solar_z.epsilon_to_z_conversion:staticmethodNew in this version. Converts number density relative to hydrogen to a mass fraction within the sun.vice.elements.element.solar_zNow allows assignment. Accesing and modifying a given element's solar abundance viavice.solar_zis equivalent to going through thevice.elementsmodule.vice.elements.yield.agbNew in this version. Accessing and modifying a given element's asymptotic giant branch star yield viavice.yields.agb.settingsis equivalent to going through thevice.elementsmodule.
vice.single_stellar_population:functionKeyword argument"agb_model"deprecated, instead adopts the global asymptotic giant branch star yield.vice.yields.agb.settings:dataframeNew in this version. Users modify their adopted AGB star yields through a global setting, similar to their supernova yields, rather than specifying keyword arguments to functions and objects. Entries can be a function of progenitor stellar mass and metallicity, in that order, or a keyword denoting a built-in table of yields as in previous versions.vice.yields.agb.interpolator:objectNew in this version. Conducts bi-linear interpolation of the asymptotic giant branch star yields sampled on a grid of masses and metallicities reported by a given study. Can be adopted as the global yield setting.vice.yields.ccsne.fractional:functionKeyword"IMF"can now be a user-defined function of stellar mass. New keyword arguments:"explodability","wind","net":- ``"explodability"`` : The fraction of stars which produce a core collapse supernova event as a function of progenitor zero age main sequence mass. - ``"wind"`` : Whether or not to include stellar winds in the yield calculation. - ``"net"`` : Whether or not to compute a net yield, otherwise computing gross yields.vice.yields.ccsne.table:functionNew in this version. Reads in the table of progenitor masses and mass yields published in a given nucleosynthesis study. Will return the full isotopic breakdown if requested.vice.yields.ccsne.engines:moduleNew in this version. Contains popular built-in forms of black hole landscapes, both simple and complex. They can be adopted as the keyword argument"explodability"to thevice.yields.ccsne.fractionalfunction.vice.yields.ccsne.engines.engine:objectBase class.vice.yields.ccsne.engines.cutoff:engineOnly stars up to some user-defined progenitor mass explode.vice.yields.ccsne.engines.E16:engineImplements the Ertl et al. (2016) black hole landscape and variations thereof.vice.yields.ccsne.engines.S16:moduleModule containing black hole landscapes computed in Sukhbold et al. (2016). The engines "N20", "S19p8", "W15", "W18", and "W20" are included with the same name as in the journal publication, with"S19p8"being an adaptation of "S19.8":vice.yields.ccsne.engines.S16.N20:enginevice.yields.ccsne.engines.S16.S19p8:enginevice.yields.ccsne.engines.S16.W15:enginevice.yields.ccsne.engines.S16.W18:enginevice.yields.ccsne.engines.S16.W20:engine
vice.yields.ccsne.NKT13:moduleNew in this version. Nomoto, Kobayashi & Tominaga (2013) core collapse supernova yield tables.vice.yields.ccsne.S16:moduleNew in this version. Sukhbold et al. (2016) nucleosynthetic yield tables.vice.yields.ccsne.S16.N20:moduleSukhbold et al. (2016) mass yield tables computed under the N20 explosion engine.vice.yields.ccsne.S16.W18:moduleSukhbold et al. (2016) mass yield tables computed under the W18 explosion engine.vice.yields.ccsne.S16.W18F:moduleSukhbold et al. (2016) mass yield tables computed under the W18 explosion engine, forcing explosions in the model stars which otherwise would not have done so.
vice.yields.sneia.settings:dataframeNow allows entries to be a function of progenitor metallicity.vice.singlezone.IMF:propertyNow allows functions of stellar mass.vice.singlezone.tau_star:propertyNow allows functions accepting two parameters as well as those accepting only one.vice.singlezone.agb_model:propertyDeprecated in this version.vice.multizone:objectNew in this version. Runs multi-zone GCE simulations within a highly flexible framework.vice.milkyway:multizoneNew in this version. A subclass of themultizoneobject optimized for modeling Milky Way-like galaxies.vice.migration:moduleNew in this version. Provides a means with which to declare migration prescriptions for use inmultizonemodels.vice.output.agb_yields:propertyNew in this version. Provides a snapshot of the global AGB star yield settings at the time an output was computed from asinglezoneobject.vice.multioutput:objectNew in this version. Handles output from themultizoneobject.vice.stars:functionNew in this version. Reads in the data containing the masses, abundances, and initial and final zone numbers of individual stellar populations from amultizoneobject's output.vice.toolkit:moduleNew in this version. Generally useful utilities.vice.toolkit.hydrodisk:moduleBuilt-in stellar radial migration schema informed by hydrodynamical simulations.vice.toolkit.hydrodisk.hydrodiskstars:objectA stellar migration prescription based on star particles from a hydrodynamical simulation. Requires supplemental data available online which VICE will download automatically.
vice.toolkit.J21_sf_law:objectA star formation law which implements the observationally motivated parameterization in Johnson et al. (2021) and variations thereof.vice.toolkit.interpolation:moduleInterpolation schema.vice.toolkit.interpolation.interp_scheme_1d:object1-dimensional interpolation scheme.vice.toolkit.interpolation.interp_scheme_2d:object2-dimensional interpolation scheme.
- Python
Published by giganano almost 5 years ago
vice - Version 1.1.0
Changelog entries for this version:
New
- Updated source code for Johnson & Weinberg (2020) figures following peer review.
- New chemical element: helium (
he) vice.primordial:dataframeMapping from elements to their abundance by mass immediately following big bang nucleosynthesis.vice.stable_isotopes:dataframeMapping from elements to their non-radioactive isotopes.- Nonzero post-main-sequence lifetimes.
vice.cumulative_return_fractionvice.single_stellar_populationvice.singlezone.postMS
vice.dataframe.remove:functionRemove a variable from a dataframe.vice.dataframe.filter:functionRemove variables from a dataframe based on some criteria.vice.yields.presets:moduleSaved presets for nucleosynthetic yield settings.- User-constructed presets
vice.yields.presets.JW20: built-in preset for Johnson & Weinberg (2020) adopted nucleosynthetic yields.
vice.elements:moduleA means of accessing yields and other data on an element-by-element basis.vice.imf:moduleFunctional forms for popular stellar initial mass functions.vice.singlezone.verbose:propertySinglezone object can be set to print the simulation time as it runs.vice.singlezone.from_output:functionObtain a singlezone object with the same parameters as the one which produced some output. Replacesvice.mirror(now deprecated).vice.output.zipandvice.output.unzip:functionZip and unzip VICE simulation output directories.vice.VisibleRuntimeWarning:WarningARuntimeWarningwhich - contrary to the built-in version - is visible by default.vice.VisibleDeprecationWarning:WarningADeprecationWarningwhich - contrary to the built-in version - is visible by default.
Patches
- Fixed a bug that didn't allow metal enhanced outflows in the
singlezoneobject.
- Python
Published by giganano over 5 years ago
vice - Initial Release
Initial Release
Robust one-zone model simulation features Simulations of enrichment from simple stellar populations Custom nucleosynthetic yield capabilities for supernovae Yield calculations from results of supernova nucleosynthesis studies Convenient automatic handling of simulation outputs A command-line entry for running simple one-zone model simulations
- Python
Published by giganano about 6 years ago