vice.multioutput.stars

Type : dataframe

The data for the star particles of this simulation. This stores the formation time in Gyr of each particle, its mass, its formation and final zone numbers, and the metallicity by mass of each element in the simulation.

Example Code

>>> import vice
>>> example = vice.multioutput("example")
>>> example.stars
        vice.dataframe{
                formation_time -> [0, 0, 0, ... , 10, 10, 10]
                zone_origin ----> [0, 1, 2, ... , 7, 8, 9]
                zone_final -----> [0, 1, 2, ... , 7, 8, 9]
                mass -----------> [3e+07, 3e+07, 3e+07, ... , 2.96329e+07, 2.96329e+07, 2.96329e+07]
                z(fe) ----------> [0, 0, 0, ... , 0.000846062, 0.000846062, 0.000846062]
                z(sr) ----------> [0, 0, 0, ... , 1.03519e-08, 1.03519e-08, 1.03519e-08]
                z(o) -----------> [0, 0, 0, ... , 0.0018231, 0.0018231, 0.0018231]
                [fe/h] ---------> [-inf, -inf, -inf, ... , -0.183187, -0.183187, -0.183187]
                [sr/h] ---------> [-inf, -inf, -inf, ... , -0.660756, -0.660756, -0.660756]
                [o/h] ----------> [-inf, -inf, -inf, ... , -0.496585, -0.496585, -0.496585]
                [sr/fe] --------> [nan, nan, nan, ... , -0.477569, -0.477569, -0.477569]
                [o/fe] ---------> [nan, nan, nan, ... , -0.313397, -0.313397, -0.313397]
                [o/sr] ---------> [nan, nan, nan, ... , 0.164171, 0.164171, 0.164171]
                z --------------> [0, 0, 0, ... , 0.0053307, 0.0053307, 0.0053307]
                [m/h] ----------> [-inf, -inf, -inf, ... , -0.419344, -0.419344, -0.419344]
                age ------------> [10, 10, 10, ... , 0, 0, 0]
        }