Using yt to view and analyze Gadget-OWLS outputsΒΆ

Notebook

OWLS Examples

Setup

The first thing you will need to run these examples is a working installation of yt. The author or these examples followed the instructions under "Get yt: from source" at http://yt-project.org/ to install an up to date development version of yt.

Next you should set the default test_data_dir in the .yt/config file in your home directory. Note that you may have to create the directory and file if it doesn't exist already.

[yt]

test_data_dir=/home/galtay/yt-data

Now you should create the directory referenced above (in this case /home/galtay/yt-data). The first time you request ion fields from yt it will download a supplementary data file to this directory.

Next we will get an example OWLS snapshot. There is a snapshot available on the yt data site, http://yt-project.org/data/snapshot_033.tar.gz (269 MB). Save this tar.gz file in the same directory as this notebook, then unzip and untar it.

Now we will tell the notebook that we want figures produced inline.

In [1]:
%matplotlib inline

Loading

In [2]:
import yt

Now we will load the snapshot. See the docs (http://yt-project.org/docs/dev/examining/loading_data.html#indexing-criteria) for a description of n_ref and over_refine_factor.

In [3]:
fname = 'snapshot_033/snap_033.0.hdf5'
ds = yt.load(fname, n_ref=64, over_refine_factor=1)

Set a YTRegion that contains all the data.

In [4]:
ad = ds.all_data()

Inspecting

The dataset can tell us what fields it knows about,

In [5]:
ds.field_list
Out[5]:
[('PartType0', 'AExpMaximumEntropy'),
 ('PartType0', 'AExpMaximumTemperature'),
 ('PartType0', 'Carbon'),
 ('PartType0', 'Coordinates'),
 ('PartType0', 'Density'),
 ('PartType0', 'Helium'),
 ('PartType0', 'Hydrogen'),
 ('PartType0', 'InternalEnergy'),
 ('PartType0', 'Iron'),
 ('PartType0', 'IronFromSNIa'),
 ('PartType0', 'Magnesium'),
 ('PartType0', 'Mass'),
 ('PartType0', 'MaximumEntropy'),
 ('PartType0', 'MaximumTemperature'),
 ('PartType0', 'Metallicity'),
 ('PartType0', 'MetallicityWeightedPotential'),
 ('PartType0', 'MetallicityWeightedRedshift'),
 ('PartType0', 'Neon'),
 ('PartType0', 'Nitrogen'),
 ('PartType0', 'OnEquationOfState'),
 ('PartType0', 'Oxygen'),
 ('PartType0', 'ParticleIDs'),
 ('PartType0', 'Potential'),
 ('PartType0', 'Silicon'),
 ('PartType0', 'SmoothedIronFromSNIa'),
 ('PartType0', 'SmoothedMetallicity'),
 ('PartType0', 'SmoothingLength'),
 ('PartType0', 'StarFormationRate'),
 ('PartType0', 'Temperature'),
 ('PartType0', 'Velocity'),
 ('PartType0', 'WindFlag'),
 ('PartType1', 'Coordinates'),
 ('PartType1', 'Mass'),
 ('PartType1', 'ParticleIDs'),
 ('PartType1', 'Potential'),
 ('PartType1', 'Velocity'),
 ('PartType4', 'AExpMaximumEntropy'),
 ('PartType4', 'AExpMaximumTemperature'),
 ('PartType4', 'Carbon'),
 ('PartType4', 'Coordinates'),
 ('PartType4', 'Density'),
 ('PartType4', 'Helium'),
 ('PartType4', 'Hydrogen'),
 ('PartType4', 'InitialMass'),
 ('PartType4', 'Iron'),
 ('PartType4', 'IronFromSNIa'),
 ('PartType4', 'Magnesium'),
 ('PartType4', 'Mass'),
 ('PartType4', 'MaximumEntropy'),
 ('PartType4', 'MaximumTemperature'),
 ('PartType4', 'Metallicity'),
 ('PartType4', 'MetallicityWeightedPotential'),
 ('PartType4', 'MetallicityWeightedRedshift'),
 ('PartType4', 'Neon'),
 ('PartType4', 'Nitrogen'),
 ('PartType4', 'Oxygen'),
 ('PartType4', 'ParticleIDs'),
 ('PartType4', 'Potential'),
 ('PartType4', 'Silicon'),
 ('PartType4', 'SmoothedIronFromSNIa'),
 ('PartType4', 'SmoothedMetallicity'),
 ('PartType4', 'SmoothingLength'),
 ('PartType4', 'StellarFormationTime'),
 ('PartType4', 'Velocity'),
 ('PartType4', 'WindFlag'),
 ('all', 'Coordinates'),
 ('all', 'Mass'),
 ('all', 'ParticleIDs'),
 ('all', 'Potential'),
 ('all', 'Velocity')]
In [6]:
ds.derived_field_list
Out[6]:
[('PartType0', 'AExpMaximumEntropy'),
 ('PartType0', 'AExpMaximumTemperature'),
 ('PartType0', 'C_density'),
 ('PartType0', 'C_fraction'),
 ('PartType0', 'C_mass'),
 ('PartType0', 'C_nuclei_density'),
 ('PartType0', 'C_number_density'),
 ('PartType0', 'C_p0_density'),
 ('PartType0', 'C_p0_fraction'),
 ('PartType0', 'C_p0_mass'),
 ('PartType0', 'C_p0_number_density'),
 ('PartType0', 'C_p1_density'),
 ('PartType0', 'C_p1_fraction'),
 ('PartType0', 'C_p1_mass'),
 ('PartType0', 'C_p1_number_density'),
 ('PartType0', 'C_p2_density'),
 ('PartType0', 'C_p2_fraction'),
 ('PartType0', 'C_p2_mass'),
 ('PartType0', 'C_p2_number_density'),
 ('PartType0', 'C_p3_density'),
 ('PartType0', 'C_p3_fraction'),
 ('PartType0', 'C_p3_mass'),
 ('PartType0', 'C_p3_number_density'),
 ('PartType0', 'C_p4_density'),
 ('PartType0', 'C_p4_fraction'),
 ('PartType0', 'C_p4_mass'),
 ('PartType0', 'C_p4_number_density'),
 ('PartType0', 'C_p5_density'),
 ('PartType0', 'C_p5_fraction'),
 ('PartType0', 'C_p5_mass'),
 ('PartType0', 'C_p5_number_density'),
 ('PartType0', 'Carbon'),
 ('PartType0', 'Coordinates'),
 ('PartType0', 'Density'),
 ('PartType0', 'Fe_density'),
 ('PartType0', 'Fe_fraction'),
 ('PartType0', 'Fe_mass'),
 ('PartType0', 'Fe_nuclei_density'),
 ('PartType0', 'Fe_number_density'),
 ('PartType0', 'Fe_p16_density'),
 ('PartType0', 'Fe_p16_fraction'),
 ('PartType0', 'Fe_p16_mass'),
 ('PartType0', 'Fe_p16_number_density'),
 ('PartType0', 'Fe_p1_density'),
 ('PartType0', 'Fe_p1_fraction'),
 ('PartType0', 'Fe_p1_mass'),
 ('PartType0', 'Fe_p1_number_density'),
 ('PartType0', 'H_density'),
 ('PartType0', 'H_fraction'),
 ('PartType0', 'H_mass'),
 ('PartType0', 'H_nuclei_density'),
 ('PartType0', 'H_number_density'),
 ('PartType0', 'H_p0_density'),
 ('PartType0', 'H_p0_fraction'),
 ('PartType0', 'H_p0_mass'),
 ('PartType0', 'H_p0_number_density'),
 ('PartType0', 'He_density'),
 ('PartType0', 'He_fraction'),
 ('PartType0', 'He_mass'),
 ('PartType0', 'He_nuclei_density'),
 ('PartType0', 'He_number_density'),
 ('PartType0', 'He_p0_density'),
 ('PartType0', 'He_p0_fraction'),
 ('PartType0', 'He_p0_mass'),
 ('PartType0', 'He_p0_number_density'),
 ('PartType0', 'He_p1_density'),
 ('PartType0', 'He_p1_fraction'),
 ('PartType0', 'He_p1_mass'),
 ('PartType0', 'He_p1_number_density'),
 ('PartType0', 'Helium'),
 ('PartType0', 'Hydrogen'),
 ('PartType0', 'InternalEnergy'),
 ('PartType0', 'Iron'),
 ('PartType0', 'IronFromSNIa'),
 ('PartType0', 'Magnesium'),
 ('PartType0', 'Mass'),
 ('PartType0', 'MaximumEntropy'),
 ('PartType0', 'MaximumTemperature'),
 ('PartType0', 'Metallicity'),
 ('PartType0', 'MetallicityWeightedPotential'),
 ('PartType0', 'MetallicityWeightedRedshift'),
 ('PartType0', 'Mg_density'),
 ('PartType0', 'Mg_fraction'),
 ('PartType0', 'Mg_mass'),
 ('PartType0', 'Mg_nuclei_density'),
 ('PartType0', 'Mg_number_density'),
 ('PartType0', 'Mg_p0_density'),
 ('PartType0', 'Mg_p0_fraction'),
 ('PartType0', 'Mg_p0_mass'),
 ('PartType0', 'Mg_p0_number_density'),
 ('PartType0', 'Mg_p1_density'),
 ('PartType0', 'Mg_p1_fraction'),
 ('PartType0', 'Mg_p1_mass'),
 ('PartType0', 'Mg_p1_number_density'),
 ('PartType0', 'N_density'),
 ('PartType0', 'N_fraction'),
 ('PartType0', 'N_mass'),
 ('PartType0', 'N_nuclei_density'),
 ('PartType0', 'N_number_density'),
 ('PartType0', 'N_p1_density'),
 ('PartType0', 'N_p1_fraction'),
 ('PartType0', 'N_p1_mass'),
 ('PartType0', 'N_p1_number_density'),
 ('PartType0', 'N_p2_density'),
 ('PartType0', 'N_p2_fraction'),
 ('PartType0', 'N_p2_mass'),
 ('PartType0', 'N_p2_number_density'),
 ('PartType0', 'N_p3_density'),
 ('PartType0', 'N_p3_fraction'),
 ('PartType0', 'N_p3_mass'),
 ('PartType0', 'N_p3_number_density'),
 ('PartType0', 'N_p4_density'),
 ('PartType0', 'N_p4_fraction'),
 ('PartType0', 'N_p4_mass'),
 ('PartType0', 'N_p4_number_density'),
 ('PartType0', 'N_p5_density'),
 ('PartType0', 'N_p5_fraction'),
 ('PartType0', 'N_p5_mass'),
 ('PartType0', 'N_p5_number_density'),
 ('PartType0', 'N_p6_density'),
 ('PartType0', 'N_p6_fraction'),
 ('PartType0', 'N_p6_mass'),
 ('PartType0', 'N_p6_number_density'),
 ('PartType0', 'Ne_density'),
 ('PartType0', 'Ne_fraction'),
 ('PartType0', 'Ne_mass'),
 ('PartType0', 'Ne_nuclei_density'),
 ('PartType0', 'Ne_number_density'),
 ('PartType0', 'Ne_p7_density'),
 ('PartType0', 'Ne_p7_fraction'),
 ('PartType0', 'Ne_p7_mass'),
 ('PartType0', 'Ne_p7_number_density'),
 ('PartType0', 'Ne_p8_density'),
 ('PartType0', 'Ne_p8_fraction'),
 ('PartType0', 'Ne_p8_mass'),
 ('PartType0', 'Ne_p8_number_density'),
 ('PartType0', 'Ne_p9_density'),
 ('PartType0', 'Ne_p9_fraction'),
 ('PartType0', 'Ne_p9_mass'),
 ('PartType0', 'Ne_p9_number_density'),
 ('PartType0', 'Neon'),
 ('PartType0', 'Nitrogen'),
 ('PartType0', 'O_density'),
 ('PartType0', 'O_fraction'),
 ('PartType0', 'O_mass'),
 ('PartType0', 'O_nuclei_density'),
 ('PartType0', 'O_number_density'),
 ('PartType0', 'O_p0_density'),
 ('PartType0', 'O_p0_fraction'),
 ('PartType0', 'O_p0_mass'),
 ('PartType0', 'O_p0_number_density'),
 ('PartType0', 'O_p5_density'),
 ('PartType0', 'O_p5_fraction'),
 ('PartType0', 'O_p5_mass'),
 ('PartType0', 'O_p5_number_density'),
 ('PartType0', 'O_p6_density'),
 ('PartType0', 'O_p6_fraction'),
 ('PartType0', 'O_p6_mass'),
 ('PartType0', 'O_p6_number_density'),
 ('PartType0', 'O_p7_density'),
 ('PartType0', 'O_p7_fraction'),
 ('PartType0', 'O_p7_mass'),
 ('PartType0', 'O_p7_number_density'),
 ('PartType0', 'OnEquationOfState'),
 ('PartType0', 'Oxygen'),
 ('PartType0', 'ParticleIDs'),
 ('PartType0', 'Potential'),
 ('PartType0', 'Si_density'),
 ('PartType0', 'Si_fraction'),
 ('PartType0', 'Si_mass'),
 ('PartType0', 'Si_nuclei_density'),
 ('PartType0', 'Si_number_density'),
 ('PartType0', 'Si_p12_density'),
 ('PartType0', 'Si_p12_fraction'),
 ('PartType0', 'Si_p12_mass'),
 ('PartType0', 'Si_p12_number_density'),
 ('PartType0', 'Si_p1_density'),
 ('PartType0', 'Si_p1_fraction'),
 ('PartType0', 'Si_p1_mass'),
 ('PartType0', 'Si_p1_number_density'),
 ('PartType0', 'Si_p2_density'),
 ('PartType0', 'Si_p2_fraction'),
 ('PartType0', 'Si_p2_mass'),
 ('PartType0', 'Si_p2_number_density'),
 ('PartType0', 'Si_p3_density'),
 ('PartType0', 'Si_p3_fraction'),
 ('PartType0', 'Si_p3_mass'),
 ('PartType0', 'Si_p3_number_density'),
 ('PartType0', 'Silicon'),
 ('PartType0', 'SmoothedIronFromSNIa'),
 ('PartType0', 'SmoothedMetallicity'),
 ('PartType0', 'SmoothingLength'),
 ('PartType0', 'StarFormationRate'),
 ('PartType0', 'Temperature'),
 ('PartType0', 'Velocity'),
 ('PartType0', 'WindFlag'),
 ('PartType0', 'density'),
 ('PartType0', 'mesh_id'),
 ('PartType0', 'metallicity'),
 ('PartType0', 'particle_angular_momentum'),
 ('PartType0', 'particle_angular_momentum_magnitude'),
 ('PartType0', 'particle_angular_momentum_x'),
 ('PartType0', 'particle_angular_momentum_y'),
 ('PartType0', 'particle_angular_momentum_z'),
 ('PartType0', 'particle_cylindrical_velocity_theta'),
 ('PartType0', 'particle_cylindrical_velocity_z'),
 ('PartType0', 'particle_index'),
 ('PartType0', 'particle_mass'),
 ('PartType0', 'particle_ones'),
 ('PartType0', 'particle_position'),
 ('PartType0', 'particle_position_cylindrical_radius'),
 ('PartType0', 'particle_position_cylindrical_theta'),
 ('PartType0', 'particle_position_cylindrical_z'),
 ('PartType0', 'particle_position_relative'),
 ('PartType0', 'particle_position_relative_x'),
 ('PartType0', 'particle_position_relative_y'),
 ('PartType0', 'particle_position_relative_z'),
 ('PartType0', 'particle_position_spherical_phi'),
 ('PartType0', 'particle_position_spherical_radius'),
 ('PartType0', 'particle_position_spherical_theta'),
 ('PartType0', 'particle_position_x'),
 ('PartType0', 'particle_position_y'),
 ('PartType0', 'particle_position_z'),
 ('PartType0', 'particle_radial_velocity'),
 ('PartType0', 'particle_radius'),
 ('PartType0', 'particle_specific_angular_momentum'),
 ('PartType0', 'particle_specific_angular_momentum_x'),
 ('PartType0', 'particle_specific_angular_momentum_y'),
 ('PartType0', 'particle_specific_angular_momentum_z'),
 ('PartType0', 'particle_spherical_position_phi'),
 ('PartType0', 'particle_spherical_position_radius'),
 ('PartType0', 'particle_spherical_position_theta'),
 ('PartType0', 'particle_spherical_velocity_phi'),
 ('PartType0', 'particle_spherical_velocity_radius'),
 ('PartType0', 'particle_spherical_velocity_theta'),
 ('PartType0', 'particle_velocity'),
 ('PartType0', 'particle_velocity_cylindrical_radius'),
 ('PartType0', 'particle_velocity_cylindrical_theta'),
 ('PartType0', 'particle_velocity_cylindrical_z'),
 ('PartType0', 'particle_velocity_magnitude'),
 ('PartType0', 'particle_velocity_relative'),
 ('PartType0', 'particle_velocity_relative_x'),
 ('PartType0', 'particle_velocity_relative_y'),
 ('PartType0', 'particle_velocity_relative_z'),
 ('PartType0', 'particle_velocity_spherical_phi'),
 ('PartType0', 'particle_velocity_spherical_radius'),
 ('PartType0', 'particle_velocity_spherical_theta'),
 ('PartType0', 'particle_velocity_x'),
 ('PartType0', 'particle_velocity_y'),
 ('PartType0', 'particle_velocity_z'),
 ('PartType0', 'smoothing_length'),
 ('PartType0', 'temperature'),
 ('PartType0', 'thermal_energy'),
 ('PartType1', 'Coordinates'),
 ('PartType1', 'Mass'),
 ('PartType1', 'ParticleIDs'),
 ('PartType1', 'Potential'),
 ('PartType1', 'Velocity'),
 ('PartType1', 'mesh_id'),
 ('PartType1', 'particle_angular_momentum'),
 ('PartType1', 'particle_angular_momentum_magnitude'),
 ('PartType1', 'particle_angular_momentum_x'),
 ('PartType1', 'particle_angular_momentum_y'),
 ('PartType1', 'particle_angular_momentum_z'),
 ('PartType1', 'particle_cylindrical_velocity_theta'),
 ('PartType1', 'particle_cylindrical_velocity_z'),
 ('PartType1', 'particle_index'),
 ('PartType1', 'particle_mass'),
 ('PartType1', 'particle_ones'),
 ('PartType1', 'particle_position'),
 ('PartType1', 'particle_position_cylindrical_radius'),
 ('PartType1', 'particle_position_cylindrical_theta'),
 ('PartType1', 'particle_position_cylindrical_z'),
 ('PartType1', 'particle_position_relative'),
 ('PartType1', 'particle_position_relative_x'),
 ('PartType1', 'particle_position_relative_y'),
 ('PartType1', 'particle_position_relative_z'),
 ('PartType1', 'particle_position_spherical_phi'),
 ('PartType1', 'particle_position_spherical_radius'),
 ('PartType1', 'particle_position_spherical_theta'),
 ('PartType1', 'particle_position_x'),
 ('PartType1', 'particle_position_y'),
 ('PartType1', 'particle_position_z'),
 ('PartType1', 'particle_radial_velocity'),
 ('PartType1', 'particle_radius'),
 ('PartType1', 'particle_specific_angular_momentum'),
 ('PartType1', 'particle_specific_angular_momentum_x'),
 ('PartType1', 'particle_specific_angular_momentum_y'),
 ('PartType1', 'particle_specific_angular_momentum_z'),
 ('PartType1', 'particle_spherical_position_phi'),
 ('PartType1', 'particle_spherical_position_radius'),
 ('PartType1', 'particle_spherical_position_theta'),
 ('PartType1', 'particle_spherical_velocity_phi'),
 ('PartType1', 'particle_spherical_velocity_radius'),
 ('PartType1', 'particle_spherical_velocity_theta'),
 ('PartType1', 'particle_velocity'),
 ('PartType1', 'particle_velocity_cylindrical_radius'),
 ('PartType1', 'particle_velocity_cylindrical_theta'),
 ('PartType1', 'particle_velocity_cylindrical_z'),
 ('PartType1', 'particle_velocity_magnitude'),
 ('PartType1', 'particle_velocity_relative'),
 ('PartType1', 'particle_velocity_relative_x'),
 ('PartType1', 'particle_velocity_relative_y'),
 ('PartType1', 'particle_velocity_relative_z'),
 ('PartType1', 'particle_velocity_spherical_phi'),
 ('PartType1', 'particle_velocity_spherical_radius'),
 ('PartType1', 'particle_velocity_spherical_theta'),
 ('PartType1', 'particle_velocity_x'),
 ('PartType1', 'particle_velocity_y'),
 ('PartType1', 'particle_velocity_z'),
 ('PartType4', 'AExpMaximumEntropy'),
 ('PartType4', 'AExpMaximumTemperature'),
 ('PartType4', 'C_density'),
 ('PartType4', 'C_fraction'),
 ('PartType4', 'C_mass'),
 ('PartType4', 'C_nuclei_density'),
 ('PartType4', 'C_number_density'),
 ('PartType4', 'Carbon'),
 ('PartType4', 'Coordinates'),
 ('PartType4', 'Density'),
 ('PartType4', 'Fe_density'),
 ('PartType4', 'Fe_fraction'),
 ('PartType4', 'Fe_mass'),
 ('PartType4', 'Fe_nuclei_density'),
 ('PartType4', 'Fe_number_density'),
 ('PartType4', 'H_density'),
 ('PartType4', 'H_fraction'),
 ('PartType4', 'H_mass'),
 ('PartType4', 'H_nuclei_density'),
 ('PartType4', 'H_number_density'),
 ('PartType4', 'He_density'),
 ('PartType4', 'He_fraction'),
 ('PartType4', 'He_mass'),
 ('PartType4', 'He_nuclei_density'),
 ('PartType4', 'He_number_density'),
 ('PartType4', 'Helium'),
 ('PartType4', 'Hydrogen'),
 ('PartType4', 'InitialMass'),
 ('PartType4', 'Iron'),
 ('PartType4', 'IronFromSNIa'),
 ('PartType4', 'Magnesium'),
 ('PartType4', 'Mass'),
 ('PartType4', 'MaximumEntropy'),
 ('PartType4', 'MaximumTemperature'),
 ('PartType4', 'Metallicity'),
 ('PartType4', 'MetallicityWeightedPotential'),
 ('PartType4', 'MetallicityWeightedRedshift'),
 ('PartType4', 'Mg_density'),
 ('PartType4', 'Mg_fraction'),
 ('PartType4', 'Mg_mass'),
 ('PartType4', 'Mg_nuclei_density'),
 ('PartType4', 'Mg_number_density'),
 ('PartType4', 'N_density'),
 ('PartType4', 'N_fraction'),
 ('PartType4', 'N_mass'),
 ('PartType4', 'N_nuclei_density'),
 ('PartType4', 'N_number_density'),
 ('PartType4', 'Ne_density'),
 ('PartType4', 'Ne_fraction'),
 ('PartType4', 'Ne_mass'),
 ('PartType4', 'Ne_nuclei_density'),
 ('PartType4', 'Ne_number_density'),
 ('PartType4', 'Neon'),
 ('PartType4', 'Nitrogen'),
 ('PartType4', 'O_density'),
 ('PartType4', 'O_fraction'),
 ('PartType4', 'O_mass'),
 ('PartType4', 'O_nuclei_density'),
 ('PartType4', 'O_number_density'),
 ('PartType4', 'Oxygen'),
 ('PartType4', 'ParticleIDs'),
 ('PartType4', 'Potential'),
 ('PartType4', 'Si_density'),
 ('PartType4', 'Si_fraction'),
 ('PartType4', 'Si_mass'),
 ('PartType4', 'Si_nuclei_density'),
 ('PartType4', 'Si_number_density'),
 ('PartType4', 'Silicon'),
 ('PartType4', 'SmoothedIronFromSNIa'),
 ('PartType4', 'SmoothedMetallicity'),
 ('PartType4', 'SmoothingLength'),
 ('PartType4', 'StellarFormationTime'),
 ('PartType4', 'Velocity'),
 ('PartType4', 'WindFlag'),
 ('PartType4', 'density'),
 ('PartType4', 'mesh_id'),
 ('PartType4', 'metallicity'),
 ('PartType4', 'particle_angular_momentum'),
 ('PartType4', 'particle_angular_momentum_magnitude'),
 ('PartType4', 'particle_angular_momentum_x'),
 ('PartType4', 'particle_angular_momentum_y'),
 ('PartType4', 'particle_angular_momentum_z'),
 ('PartType4', 'particle_cylindrical_velocity_theta'),
 ('PartType4', 'particle_cylindrical_velocity_z'),
 ('PartType4', 'particle_index'),
 ('PartType4', 'particle_mass'),
 ('PartType4', 'particle_ones'),
 ('PartType4', 'particle_position'),
 ('PartType4', 'particle_position_cylindrical_radius'),
 ('PartType4', 'particle_position_cylindrical_theta'),
 ('PartType4', 'particle_position_cylindrical_z'),
 ('PartType4', 'particle_position_relative'),
 ('PartType4', 'particle_position_relative_x'),
 ('PartType4', 'particle_position_relative_y'),
 ('PartType4', 'particle_position_relative_z'),
 ('PartType4', 'particle_position_spherical_phi'),
 ('PartType4', 'particle_position_spherical_radius'),
 ('PartType4', 'particle_position_spherical_theta'),
 ('PartType4', 'particle_position_x'),
 ('PartType4', 'particle_position_y'),
 ('PartType4', 'particle_position_z'),
 ('PartType4', 'particle_radial_velocity'),
 ('PartType4', 'particle_radius'),
 ('PartType4', 'particle_specific_angular_momentum'),
 ('PartType4', 'particle_specific_angular_momentum_x'),
 ('PartType4', 'particle_specific_angular_momentum_y'),
 ('PartType4', 'particle_specific_angular_momentum_z'),
 ('PartType4', 'particle_spherical_position_phi'),
 ('PartType4', 'particle_spherical_position_radius'),
 ('PartType4', 'particle_spherical_position_theta'),
 ('PartType4', 'particle_spherical_velocity_phi'),
 ('PartType4', 'particle_spherical_velocity_radius'),
 ('PartType4', 'particle_spherical_velocity_theta'),
 ('PartType4', 'particle_velocity'),
 ('PartType4', 'particle_velocity_cylindrical_radius'),
 ('PartType4', 'particle_velocity_cylindrical_theta'),
 ('PartType4', 'particle_velocity_cylindrical_z'),
 ('PartType4', 'particle_velocity_magnitude'),
 ('PartType4', 'particle_velocity_relative'),
 ('PartType4', 'particle_velocity_relative_x'),
 ('PartType4', 'particle_velocity_relative_y'),
 ('PartType4', 'particle_velocity_relative_z'),
 ('PartType4', 'particle_velocity_spherical_phi'),
 ('PartType4', 'particle_velocity_spherical_radius'),
 ('PartType4', 'particle_velocity_spherical_theta'),
 ('PartType4', 'particle_velocity_x'),
 ('PartType4', 'particle_velocity_y'),
 ('PartType4', 'particle_velocity_z'),
 ('PartType4', 'smoothing_length'),
 ('all', 'Coordinates'),
 ('all', 'Mass'),
 ('all', 'ParticleIDs'),
 ('all', 'Potential'),
 ('all', 'Velocity'),
 ('all', 'mesh_id'),
 ('all', 'particle_angular_momentum'),
 ('all', 'particle_angular_momentum_magnitude'),
 ('all', 'particle_angular_momentum_x'),
 ('all', 'particle_angular_momentum_y'),
 ('all', 'particle_angular_momentum_z'),
 ('all', 'particle_cylindrical_velocity_theta'),
 ('all', 'particle_cylindrical_velocity_z'),
 ('all', 'particle_index'),
 ('all', 'particle_mass'),
 ('all', 'particle_ones'),
 ('all', 'particle_position'),
 ('all', 'particle_position_cylindrical_radius'),
 ('all', 'particle_position_cylindrical_theta'),
 ('all', 'particle_position_cylindrical_z'),
 ('all', 'particle_position_relative'),
 ('all', 'particle_position_relative_x'),
 ('all', 'particle_position_relative_y'),
 ('all', 'particle_position_relative_z'),
 ('all', 'particle_position_spherical_phi'),
 ('all', 'particle_position_spherical_radius'),
 ('all', 'particle_position_spherical_theta'),
 ('all', 'particle_position_x'),
 ('all', 'particle_position_y'),
 ('all', 'particle_position_z'),
 ('all', 'particle_radial_velocity'),
 ('all', 'particle_radius'),
 ('all', 'particle_specific_angular_momentum'),
 ('all', 'particle_specific_angular_momentum_x'),
 ('all', 'particle_specific_angular_momentum_y'),
 ('all', 'particle_specific_angular_momentum_z'),
 ('all', 'particle_spherical_position_phi'),
 ('all', 'particle_spherical_position_radius'),
 ('all', 'particle_spherical_position_theta'),
 ('all', 'particle_spherical_velocity_phi'),
 ('all', 'particle_spherical_velocity_radius'),
 ('all', 'particle_spherical_velocity_theta'),
 ('all', 'particle_velocity'),
 ('all', 'particle_velocity_cylindrical_radius'),
 ('all', 'particle_velocity_cylindrical_theta'),
 ('all', 'particle_velocity_cylindrical_z'),
 ('all', 'particle_velocity_magnitude'),
 ('all', 'particle_velocity_relative'),
 ('all', 'particle_velocity_relative_x'),
 ('all', 'particle_velocity_relative_y'),
 ('all', 'particle_velocity_relative_z'),
 ('all', 'particle_velocity_spherical_phi'),
 ('all', 'particle_velocity_spherical_radius'),
 ('all', 'particle_velocity_spherical_theta'),
 ('all', 'particle_velocity_x'),
 ('all', 'particle_velocity_y'),
 ('all', 'particle_velocity_z'),
 ('deposit', 'PartType0_cic'),
 ('deposit', 'PartType0_cic_velocity_x'),
 ('deposit', 'PartType0_cic_velocity_y'),
 ('deposit', 'PartType0_cic_velocity_z'),
 ('deposit', 'PartType0_count'),
 ('deposit', 'PartType0_density'),
 ('deposit', 'PartType0_mass'),
 ('deposit', 'PartType0_nn_velocity_x'),
 ('deposit', 'PartType0_nn_velocity_y'),
 ('deposit', 'PartType0_nn_velocity_z'),
 ('deposit', 'PartType0_smoothed_C_density'),
 ('deposit', 'PartType0_smoothed_C_fraction'),
 ('deposit', 'PartType0_smoothed_C_p0_density'),
 ('deposit', 'PartType0_smoothed_C_p0_mass'),
 ('deposit', 'PartType0_smoothed_C_p0_number_density'),
 ('deposit', 'PartType0_smoothed_C_p1_density'),
 ('deposit', 'PartType0_smoothed_C_p1_mass'),
 ('deposit', 'PartType0_smoothed_C_p1_number_density'),
 ('deposit', 'PartType0_smoothed_C_p2_density'),
 ('deposit', 'PartType0_smoothed_C_p2_mass'),
 ('deposit', 'PartType0_smoothed_C_p2_number_density'),
 ('deposit', 'PartType0_smoothed_C_p3_density'),
 ('deposit', 'PartType0_smoothed_C_p3_mass'),
 ('deposit', 'PartType0_smoothed_C_p3_number_density'),
 ('deposit', 'PartType0_smoothed_C_p4_density'),
 ('deposit', 'PartType0_smoothed_C_p4_mass'),
 ('deposit', 'PartType0_smoothed_C_p4_number_density'),
 ('deposit', 'PartType0_smoothed_C_p5_density'),
 ('deposit', 'PartType0_smoothed_C_p5_mass'),
 ('deposit', 'PartType0_smoothed_C_p5_number_density'),
 ('deposit', 'PartType0_smoothed_Fe_density'),
 ('deposit', 'PartType0_smoothed_Fe_fraction'),
 ('deposit', 'PartType0_smoothed_Fe_p16_density'),
 ('deposit', 'PartType0_smoothed_Fe_p16_mass'),
 ('deposit', 'PartType0_smoothed_Fe_p16_number_density'),
 ('deposit', 'PartType0_smoothed_Fe_p1_density'),
 ('deposit', 'PartType0_smoothed_Fe_p1_mass'),
 ('deposit', 'PartType0_smoothed_Fe_p1_number_density'),
 ('deposit', 'PartType0_smoothed_H_fraction'),
 ('deposit', 'PartType0_smoothed_H_p0_density'),
 ('deposit', 'PartType0_smoothed_H_p0_mass'),
 ('deposit', 'PartType0_smoothed_H_p0_number_density'),
 ('deposit', 'PartType0_smoothed_He_fraction'),
 ('deposit', 'PartType0_smoothed_He_p0_density'),
 ('deposit', 'PartType0_smoothed_He_p0_mass'),
 ('deposit', 'PartType0_smoothed_He_p0_number_density'),
 ('deposit', 'PartType0_smoothed_He_p1_density'),
 ('deposit', 'PartType0_smoothed_He_p1_mass'),
 ('deposit', 'PartType0_smoothed_He_p1_number_density'),
 ('deposit', 'PartType0_smoothed_Mg_fraction'),
 ('deposit', 'PartType0_smoothed_Mg_p0_density'),
 ('deposit', 'PartType0_smoothed_Mg_p0_mass'),
 ('deposit', 'PartType0_smoothed_Mg_p0_number_density'),
 ('deposit', 'PartType0_smoothed_Mg_p1_density'),
 ('deposit', 'PartType0_smoothed_Mg_p1_mass'),
 ('deposit', 'PartType0_smoothed_Mg_p1_number_density'),
 ('deposit', 'PartType0_smoothed_N_fraction'),
 ('deposit', 'PartType0_smoothed_N_p1_density'),
 ('deposit', 'PartType0_smoothed_N_p1_mass'),
 ('deposit', 'PartType0_smoothed_N_p1_number_density'),
 ('deposit', 'PartType0_smoothed_N_p2_density'),
 ('deposit', 'PartType0_smoothed_N_p2_mass'),
 ('deposit', 'PartType0_smoothed_N_p2_number_density'),
 ('deposit', 'PartType0_smoothed_N_p3_density'),
 ('deposit', 'PartType0_smoothed_N_p3_mass'),
 ('deposit', 'PartType0_smoothed_N_p3_number_density'),
 ('deposit', 'PartType0_smoothed_N_p4_density'),
 ('deposit', 'PartType0_smoothed_N_p4_mass'),
 ('deposit', 'PartType0_smoothed_N_p4_number_density'),
 ('deposit', 'PartType0_smoothed_N_p5_density'),
 ('deposit', 'PartType0_smoothed_N_p5_mass'),
 ('deposit', 'PartType0_smoothed_N_p5_number_density'),
 ('deposit', 'PartType0_smoothed_N_p6_density'),
 ('deposit', 'PartType0_smoothed_N_p6_mass'),
 ('deposit', 'PartType0_smoothed_N_p6_number_density'),
 ('deposit', 'PartType0_smoothed_Ne_fraction'),
 ('deposit', 'PartType0_smoothed_Ne_p7_density'),
 ('deposit', 'PartType0_smoothed_Ne_p7_mass'),
 ('deposit', 'PartType0_smoothed_Ne_p7_number_density'),
 ('deposit', 'PartType0_smoothed_Ne_p8_density'),
 ('deposit', 'PartType0_smoothed_Ne_p8_mass'),
 ('deposit', 'PartType0_smoothed_Ne_p8_number_density'),
 ('deposit', 'PartType0_smoothed_Ne_p9_density'),
 ('deposit', 'PartType0_smoothed_Ne_p9_mass'),
 ('deposit', 'PartType0_smoothed_Ne_p9_number_density'),
 ('deposit', 'PartType0_smoothed_O_density'),
 ('deposit', 'PartType0_smoothed_O_fraction'),
 ('deposit', 'PartType0_smoothed_O_p0_density'),
 ('deposit', 'PartType0_smoothed_O_p0_mass'),
 ('deposit', 'PartType0_smoothed_O_p0_number_density'),
 ('deposit', 'PartType0_smoothed_O_p5_density'),
 ('deposit', 'PartType0_smoothed_O_p5_mass'),
 ('deposit', 'PartType0_smoothed_O_p5_number_density'),
 ('deposit', 'PartType0_smoothed_O_p6_density'),
 ('deposit', 'PartType0_smoothed_O_p6_mass'),
 ('deposit', 'PartType0_smoothed_O_p6_number_density'),
 ('deposit', 'PartType0_smoothed_O_p7_density'),
 ('deposit', 'PartType0_smoothed_O_p7_mass'),
 ('deposit', 'PartType0_smoothed_O_p7_number_density'),
 ('deposit', 'PartType0_smoothed_Si_density'),
 ('deposit', 'PartType0_smoothed_Si_fraction'),
 ('deposit', 'PartType0_smoothed_Si_p12_density'),
 ('deposit', 'PartType0_smoothed_Si_p12_mass'),
 ('deposit', 'PartType0_smoothed_Si_p12_number_density'),
 ('deposit', 'PartType0_smoothed_Si_p1_density'),
 ('deposit', 'PartType0_smoothed_Si_p1_mass'),
 ('deposit', 'PartType0_smoothed_Si_p1_number_density'),
 ('deposit', 'PartType0_smoothed_Si_p2_density'),
 ('deposit', 'PartType0_smoothed_Si_p2_mass'),
 ('deposit', 'PartType0_smoothed_Si_p2_number_density'),
 ('deposit', 'PartType0_smoothed_Si_p3_density'),
 ('deposit', 'PartType0_smoothed_Si_p3_mass'),
 ('deposit', 'PartType0_smoothed_Si_p3_number_density'),
 ('deposit', 'PartType0_smoothed_density'),
 ('deposit', 'PartType0_smoothed_metallicity'),
 ('deposit', 'PartType0_smoothed_particle_velocity_x'),
 ('deposit', 'PartType0_smoothed_particle_velocity_y'),
 ('deposit', 'PartType0_smoothed_particle_velocity_z'),
 ('deposit', 'PartType0_smoothed_temperature'),
 ('deposit', 'PartType0_smoothed_thermal_energy'),
 ('deposit', 'PartType1_cic'),
 ('deposit', 'PartType1_cic_velocity_x'),
 ('deposit', 'PartType1_cic_velocity_y'),
 ('deposit', 'PartType1_cic_velocity_z'),
 ('deposit', 'PartType1_count'),
 ('deposit', 'PartType1_density'),
 ('deposit', 'PartType1_mass'),
 ('deposit', 'PartType1_nn_velocity_x'),
 ('deposit', 'PartType1_nn_velocity_y'),
 ('deposit', 'PartType1_nn_velocity_z'),
 ('deposit', 'PartType4_cic'),
 ('deposit', 'PartType4_cic_velocity_x'),
 ('deposit', 'PartType4_cic_velocity_y'),
 ('deposit', 'PartType4_cic_velocity_z'),
 ('deposit', 'PartType4_count'),
 ('deposit', 'PartType4_density'),
 ('deposit', 'PartType4_mass'),
 ('deposit', 'PartType4_nn_velocity_x'),
 ('deposit', 'PartType4_nn_velocity_y'),
 ('deposit', 'PartType4_nn_velocity_z'),
 ('deposit', 'PartType4_smoothed_C_density'),
 ('deposit', 'PartType4_smoothed_C_fraction'),
 ('deposit', 'PartType4_smoothed_Fe_density'),
 ('deposit', 'PartType4_smoothed_Fe_fraction'),
 ('deposit', 'PartType4_smoothed_H_fraction'),
 ('deposit', 'PartType4_smoothed_He_fraction'),
 ('deposit', 'PartType4_smoothed_Mg_fraction'),
 ('deposit', 'PartType4_smoothed_N_fraction'),
 ('deposit', 'PartType4_smoothed_Ne_fraction'),
 ('deposit', 'PartType4_smoothed_O_density'),
 ('deposit', 'PartType4_smoothed_O_fraction'),
 ('deposit', 'PartType4_smoothed_Si_density'),
 ('deposit', 'PartType4_smoothed_Si_fraction'),
 ('deposit', 'PartType4_smoothed_density'),
 ('deposit', 'PartType4_smoothed_metallicity'),
 ('deposit', 'PartType4_smoothed_particle_velocity_x'),
 ('deposit', 'PartType4_smoothed_particle_velocity_y'),
 ('deposit', 'PartType4_smoothed_particle_velocity_z'),
 ('deposit', 'all_cic'),
 ('deposit', 'all_cic_velocity_x'),
 ('deposit', 'all_cic_velocity_y'),
 ('deposit', 'all_cic_velocity_z'),
 ('deposit', 'all_count'),
 ('deposit', 'all_density'),
 ('deposit', 'all_mass'),
 ('deposit', 'all_nn_velocity_x'),
 ('deposit', 'all_nn_velocity_y'),
 ('deposit', 'all_nn_velocity_z'),
 ('gas', 'C_density'),
 ('gas', 'C_fraction'),
 ('gas', 'C_mass'),
 ('gas', 'C_nuclei_density'),
 ('gas', 'C_number_density'),
 ('gas', 'C_p0_density'),
 ('gas', 'C_p0_fraction'),
 ('gas', 'C_p0_mass'),
 ('gas', 'C_p0_number_density'),
 ('gas', 'C_p1_density'),
 ('gas', 'C_p1_mass'),
 ('gas', 'C_p1_number_density'),
 ('gas', 'C_p2_density'),
 ('gas', 'C_p2_mass'),
 ('gas', 'C_p2_number_density'),
 ('gas', 'C_p3_density'),
 ('gas', 'C_p3_mass'),
 ('gas', 'C_p3_number_density'),
 ('gas', 'C_p4_density'),
 ('gas', 'C_p4_mass'),
 ('gas', 'C_p4_number_density'),
 ('gas', 'C_p5_density'),
 ('gas', 'C_p5_mass'),
 ('gas', 'C_p5_number_density'),
 ('gas', 'Fe_density'),
 ('gas', 'Fe_fraction'),
 ('gas', 'Fe_mass'),
 ('gas', 'Fe_nuclei_density'),
 ('gas', 'Fe_number_density'),
 ('gas', 'Fe_p0_density'),
 ('gas', 'Fe_p0_fraction'),
 ('gas', 'Fe_p0_mass'),
 ('gas', 'Fe_p0_number_density'),
 ('gas', 'Fe_p16_density'),
 ('gas', 'Fe_p16_mass'),
 ('gas', 'Fe_p16_number_density'),
 ('gas', 'Fe_p1_density'),
 ('gas', 'Fe_p1_mass'),
 ('gas', 'Fe_p1_number_density'),
 ('gas', 'H_density'),
 ('gas', 'H_fraction'),
 ('gas', 'H_mass'),
 ('gas', 'H_nuclei_density'),
 ('gas', 'H_number_density'),
 ('gas', 'H_p0_density'),
 ('gas', 'H_p0_fraction'),
 ('gas', 'H_p0_mass'),
 ('gas', 'H_p0_number_density'),
 ('gas', 'He_density'),
 ('gas', 'He_fraction'),
 ('gas', 'He_mass'),
 ('gas', 'He_nuclei_density'),
 ('gas', 'He_number_density'),
 ('gas', 'He_p0_density'),
 ('gas', 'He_p0_fraction'),
 ('gas', 'He_p0_mass'),
 ('gas', 'He_p0_number_density'),
 ('gas', 'He_p1_density'),
 ('gas', 'He_p1_mass'),
 ('gas', 'He_p1_number_density'),
 ('gas', 'Mg_density'),
 ('gas', 'Mg_fraction'),
 ('gas', 'Mg_mass'),
 ('gas', 'Mg_nuclei_density'),
 ('gas', 'Mg_number_density'),
 ('gas', 'Mg_p0_density'),
 ('gas', 'Mg_p0_fraction'),
 ('gas', 'Mg_p0_mass'),
 ('gas', 'Mg_p0_number_density'),
 ('gas', 'Mg_p1_density'),
 ('gas', 'Mg_p1_mass'),
 ('gas', 'Mg_p1_number_density'),
 ('gas', 'N_density'),
 ('gas', 'N_fraction'),
 ('gas', 'N_mass'),
 ('gas', 'N_nuclei_density'),
 ('gas', 'N_number_density'),
 ('gas', 'N_p0_density'),
 ('gas', 'N_p0_fraction'),
 ('gas', 'N_p0_mass'),
 ('gas', 'N_p0_number_density'),
 ('gas', 'N_p1_density'),
 ('gas', 'N_p1_mass'),
 ('gas', 'N_p1_number_density'),
 ('gas', 'N_p2_density'),
 ('gas', 'N_p2_mass'),
 ('gas', 'N_p2_number_density'),
 ('gas', 'N_p3_density'),
 ('gas', 'N_p3_mass'),
 ('gas', 'N_p3_number_density'),
 ('gas', 'N_p4_density'),
 ('gas', 'N_p4_mass'),
 ('gas', 'N_p4_number_density'),
 ('gas', 'N_p5_density'),
 ('gas', 'N_p5_mass'),
 ('gas', 'N_p5_number_density'),
 ('gas', 'N_p6_density'),
 ('gas', 'N_p6_mass'),
 ('gas', 'N_p6_number_density'),
 ('gas', 'Ne_density'),
 ('gas', 'Ne_fraction'),
 ('gas', 'Ne_mass'),
 ('gas', 'Ne_nuclei_density'),
 ('gas', 'Ne_number_density'),
 ('gas', 'Ne_p0_density'),
 ('gas', 'Ne_p0_fraction'),
 ('gas', 'Ne_p0_mass'),
 ('gas', 'Ne_p0_number_density'),
 ('gas', 'Ne_p7_density'),
 ('gas', 'Ne_p7_mass'),
 ('gas', 'Ne_p7_number_density'),
 ('gas', 'Ne_p8_density'),
 ('gas', 'Ne_p8_mass'),
 ('gas', 'Ne_p8_number_density'),
 ('gas', 'Ne_p9_density'),
 ('gas', 'Ne_p9_mass'),
 ('gas', 'Ne_p9_number_density'),
 ('gas', 'O_density'),
 ('gas', 'O_fraction'),
 ('gas', 'O_mass'),
 ('gas', 'O_nuclei_density'),
 ('gas', 'O_number_density'),
 ('gas', 'O_p0_density'),
 ('gas', 'O_p0_fraction'),
 ('gas', 'O_p0_mass'),
 ('gas', 'O_p0_number_density'),
 ('gas', 'O_p5_density'),
 ('gas', 'O_p5_mass'),
 ('gas', 'O_p5_number_density'),
 ('gas', 'O_p6_density'),
 ('gas', 'O_p6_mass'),
 ('gas', 'O_p6_number_density'),
 ('gas', 'O_p7_density'),
 ('gas', 'O_p7_mass'),
 ('gas', 'O_p7_number_density'),
 ('gas', 'Si_density'),
 ('gas', 'Si_fraction'),
 ('gas', 'Si_mass'),
 ('gas', 'Si_nuclei_density'),
 ('gas', 'Si_number_density'),
 ('gas', 'Si_p0_density'),
 ('gas', 'Si_p0_fraction'),
 ('gas', 'Si_p0_mass'),
 ('gas', 'Si_p0_number_density'),
 ('gas', 'Si_p12_density'),
 ('gas', 'Si_p12_mass'),
 ('gas', 'Si_p12_number_density'),
 ('gas', 'Si_p1_density'),
 ('gas', 'Si_p1_mass'),
 ('gas', 'Si_p1_number_density'),
 ('gas', 'Si_p2_density'),
 ('gas', 'Si_p2_mass'),
 ('gas', 'Si_p2_number_density'),
 ('gas', 'Si_p3_density'),
 ('gas', 'Si_p3_mass'),
 ('gas', 'Si_p3_number_density'),
 ('gas', 'angular_momentum_magnitude'),
 ('gas', 'angular_momentum_x'),
 ('gas', 'angular_momentum_y'),
 ('gas', 'angular_momentum_z'),
 ('gas', 'averaged_density'),
 ('gas', 'baryon_overdensity'),
 ('gas', 'cell_mass'),
 ('gas', 'cell_volume'),
 ('gas', 'chandra_emissivity'),
 ('gas', 'cutting_plane_velocity_x'),
 ('gas', 'cutting_plane_velocity_y'),
 ('gas', 'cutting_plane_velocity_z'),
 ('gas', 'cylindrical_radial_velocity'),
 ('gas', 'cylindrical_radial_velocity_absolute'),
 ('gas', 'cylindrical_tangential_velocity'),
 ('gas', 'cylindrical_tangential_velocity_absolute'),
 ('gas', 'density'),
 ('gas', 'density_gradient_magnitude'),
 ('gas', 'density_gradient_x'),
 ('gas', 'density_gradient_y'),
 ('gas', 'density_gradient_z'),
 ('gas', 'dx'),
 ('gas', 'dy'),
 ('gas', 'dynamical_time'),
 ('gas', 'dz'),
 ('gas', 'emission_measure'),
 ('gas', 'entropy'),
 ('gas', 'jeans_mass'),
 ('gas', 'kT'),
 ('gas', 'kinetic_energy'),
 ('gas', 'mazzotta_weighting'),
 ('gas', 'mean_molecular_weight'),
 ('gas', 'metallicity'),
 ('gas', 'number_density'),
 ('gas', 'path_element_x'),
 ('gas', 'path_element_y'),
 ('gas', 'path_element_z'),
 ('gas', 'radial_velocity'),
 ('gas', 'radial_velocity_absolute'),
 ('gas', 'shear'),
 ('gas', 'specific_angular_momentum_magnitude'),
 ('gas', 'specific_angular_momentum_x'),
 ('gas', 'specific_angular_momentum_y'),
 ('gas', 'specific_angular_momentum_z'),
 ('gas', 'sz_kinetic'),
 ('gas', 'szy'),
 ('gas', 'tangential_over_velocity_magnitude'),
 ('gas', 'tangential_velocity'),
 ('gas', 'temperature'),
 ('gas', 'thermal_energy'),
 ('gas', 'velocity_cylindrical_radius'),
 ('gas', 'velocity_cylindrical_theta'),
 ('gas', 'velocity_cylindrical_z'),
 ('gas', 'velocity_divergence'),
 ('gas', 'velocity_divergence_absolute'),
 ('gas', 'velocity_magnitude'),
 ('gas', 'velocity_spherical_phi'),
 ('gas', 'velocity_spherical_radius'),
 ('gas', 'velocity_spherical_theta'),
 ('gas', 'velocity_x'),
 ('gas', 'velocity_y'),
 ('gas', 'velocity_z'),
 ('gas', 'vertex_x'),
 ('gas', 'vertex_y'),
 ('gas', 'vertex_z'),
 ('gas', 'vorticity_magnitude'),
 ('gas', 'vorticity_squared'),
 ('gas', 'vorticity_stretching_magnitude'),
 ('gas', 'vorticity_stretching_x'),
 ('gas', 'vorticity_stretching_y'),
 ('gas', 'vorticity_stretching_z'),
 ('gas', 'vorticity_x'),
 ('gas', 'vorticity_y'),
 ('gas', 'vorticity_z'),
 ('gas', 'x'),
 ('gas', 'xray_emissivity'),
 ('gas', 'y'),
 ('gas', 'z'),
 ('index', 'cell_volume'),
 ('index', 'cylindrical_r'),
 ('index', 'cylindrical_radius'),
 ('index', 'cylindrical_theta'),
 ('index', 'cylindrical_z'),
 ('index', 'disk_angle'),
 ('index', 'dx'),
 ('index', 'dy'),
 ('index', 'dz'),
 ('index', 'grid_indices'),
 ('index', 'grid_level'),
 ('index', 'height'),
 ('index', 'morton_index'),
 ('index', 'ones'),
 ('index', 'ones_over_dx'),
 ('index', 'path_element_x'),
 ('index', 'path_element_y'),
 ('index', 'path_element_z'),
 ('index', 'radius'),
 ('index', 'spherical_phi'),
 ('index', 'spherical_r'),
 ('index', 'spherical_radius'),
 ('index', 'spherical_theta'),
 ('index', 'vertex_x'),
 ('index', 'vertex_y'),
 ('index', 'vertex_z'),
 ('index', 'virial_radius_fraction'),
 ('index', 'x'),
 ('index', 'y'),
 ('index', 'z'),
 ('index', 'zeros'),
 ('star', 'C_density'),
 ('star', 'C_fraction'),
 ('star', 'Fe_density'),
 ('star', 'Fe_fraction'),
 ('star', 'H_fraction'),
 ('star', 'He_fraction'),
 ('star', 'Mg_fraction'),
 ('star', 'N_fraction'),
 ('star', 'Ne_fraction'),
 ('star', 'O_density'),
 ('star', 'O_fraction'),
 ('star', 'Si_density'),
 ('star', 'Si_fraction'),
 ('star', 'density'),
 ('star', 'metallicity'),
 ('star', 'velocity_x'),
 ('star', 'velocity_y'),
 ('star', 'velocity_z')]

Note that the ion fields follow the naming convention described in YTEP-0003 http://ytep.readthedocs.org/en/latest/YTEPs/YTEP-0003.html#molecular-and-atomic-species-names

Accessing Particle Data

The raw particle data can be accessed using the particle types. This corresponds directly with what is in the hdf5 snapshots.

In [7]:
ad['PartType0', 'Coordinates']
Out[7]:
YTArray([[  7.63205767,  11.81453991,   0.51125962],
       [  7.63086319,  11.81438446,   0.51114064],
       [  7.63330412,  11.81966019,   0.51152855],
       ..., 
       [  8.08398151,  11.65721989,  24.98464966],
       [  8.08369541,  11.65744495,  24.98437691],
       [  8.08294582,  11.65711975,  24.98280525]]) code_length
In [8]:
ad['PartType4', 'IronFromSNIa']
Out[8]:
YTArray([  5.53385646e-04,   6.50276139e-04,   8.77305210e-05, ...,
         3.50287039e-04,   6.43636849e-06,   2.16105400e-04]) (dimensionless)
In [9]:
ad['PartType1', 'ParticleIDs']
Out[9]:
YTArray([ 3944999.,  3945352.,  3945396., ...,  4038555.,  4040280.,
        4042104.]) (dimensionless)
In [10]:
ad['PartType0', 'Hydrogen']
Out[10]:
YTArray([ 0.57138085,  0.68047136,  0.58387858, ...,  0.69845635,
        0.60976744,  0.62402648]) (dimensionless)

Projection Plots

The projection plots make use of derived fields that store the smoothed particle data (particles smoothed onto an oct-tree). Below we make a projection of all hydrogen gas followed by only the neutral hydrogen gas.

In [11]:
pz = yt.ProjectionPlot(ds, 'z', ('gas', 'H_density'))
In [12]:
pz.show()

In [13]:
pz = yt.ProjectionPlot(ds, 'z', ('gas', 'H_p0_density'))
In [14]:
pz.show()