vice.singlezone.name¶
Type : str
Default : “onezonemodel”
The name of the simulation. The output will be stored in a directory
under this name with the extension “.vice”. This can also be of the
form ./path/to/directory/name
and the output will be stored there.
Tip
Users need not interact with any of the output files. The
output
object is designed to read in all of the results
automatically.
Tip
By forcing a “.vice” extension on the output directory, users can
run <command> \*.vice
in a terminal to run commands over all
VICE outputs in a given directory.
Note
The outputs of this class include the full time evolution of the interstellar abundances, the resulting stellar metallicity distribution, and pickled objects that allow a singlezone object to construct itself from the output. By separating the output into a handful of files, the full time evolution data and the resulting stellar metallicity distribution can be stored in pure ascii text files. This allows users to analyze their simulations in languages other than python with ease. Most of the relevant information is stored in the history.out and mdf.out files within the output directory.
Example Code¶
>>> import vice
>>> sz = vice.singlezone(name = "example")
>>> sz.name = "another_name"