vice.milkyway.bins

Type : list [elements must be real numbers]

Default: [-3, -2.95, -2.9, … , 0.9, 0.95, 1.0]

The bins in each [X/Y] abundance and [X/Y] abundance ratio to sort the normalized stellar metallicity distribution function into. By default, VICE sorts everything into 0.05-dex bins between [X/H] and [X/Y] = -3 and +1.

Note

The metallicity distributions reported by VICE are normalized to probability distribution functions (i.e. the integral over all bins is equal to 1).

See also

vice.milkyway.elements

Example Code

>>> import numpy as np
>>> import vice
>>> mw = vice.milkyway(name = "example", zone_width = 0.2)
>>> mw.bins = np.linspace(-3, 1, 401) # 400 bins between -3 and 1
>>> mw.bins = np.linspace(-2, 2, 801) # 800 bins between -2 and +2