Welcome to the yt quickstart!¶
In this brief tutorial, we'll go over how to load up data, analyze things, inspect your data, and make some visualizations.
Our documentation page can provide information on a variety of the commands that are used here, both in narrative documentation as well as recipes for specific functionality in our cookbook. The documentation exists at https://yt-project.org/doc/. If you encounter problems, look for help here: https://yt-project.org/doc/help/.
Acquiring the datasets for this tutorial¶
If you are executing these tutorials interactively, you need some sample datasets on which to run the code. You can download these datasets at https://yt-project.org/data/. The datasets necessary for each lesson are noted next to the corresponding tutorial.
The Notebooks are meant to be explored in this order:
- Data Inspection (IsolatedGalaxy dataset)
- Simple Visualization (enzo_tiny_cosmology & Enzo_64 datasets)
- Data Objects and Time Series (IsolatedGalaxy dataset)
- Derived Fields and Profiles (IsolatedGalaxy dataset)
- Volume Rendering (IsolatedGalaxy dataset)
The following code will download the data needed for this tutorial automatically using
curl. It may take some time so please wait when the kernel is busy. You will need to set
download_datasets to True before using it.
download_datasets = False if download_datasets: !curl -sSO https://yt-project.org/data/enzo_tiny_cosmology.tar.gz print ("Got enzo_tiny_cosmology") !tar xzf enzo_tiny_cosmology.tar.gz !curl -sSO https://yt-project.org/data/Enzo_64.tar.gz print ("Got Enzo_64") !tar xzf Enzo_64.tar.gz !curl -sSO https://yt-project.org/data/IsolatedGalaxy.tar.gz print ("Got IsolatedGalaxy") !tar xzf IsolatedGalaxy.tar.gz print ("All done!")