[yt-svn] commit/yt: 7 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Aug 1 10:45:46 PDT 2014


7 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/aee3674e7217/
Changeset:   aee3674e7217
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-08-01 14:37:25
Summary:     Updating data type creation
Affected #:  1 file

diff -r ce522887be4e2fe7efefc7eabe109c706bd1a9af -r aee3674e7217f3e1393ec9544285197dfe19981e doc/source/developing/creating_datatypes.rst
--- a/doc/source/developing/creating_datatypes.rst
+++ b/doc/source/developing/creating_datatypes.rst
@@ -6,36 +6,45 @@
 The three-dimensional datatypes in yt follow a fairly simple protocol.  The
 basic principle is that if you want to define a region in space, that region
 must be identifiable from some sort of cut applied against the cells --
-typically, in yt, this is done by examining the geometry.  (The
-:class:`yt.data_objects.data_containers.ExtractedRegionBase` type is a notable
-exception to this, as it is defined as a subset of an existing data object.)
+typically, in yt, this is done by examining the geometry.  
 
-In principle, you can define any number of 3D data objects, as long as the
-following methods are implemented to protocol specifications.
+Creating a new data object requires modifications to two different files, one
+of which is in Python and the other in Cython.  First, a subclass of
+:class:`~yt.data_objects.data_containers.YTDataContainer` must be defined;
+typically you actually want to subclass one of:
+:class:`~yt.data_objects.data_containers.YTDataContainer0D`
+:class:`~yt.data_objects.data_containers.YTDataContainer1D`
+:class:`~yt.data_objects.data_containers.YTDataContainer2D`
+:class:`~yt.data_objects.data_containers.YTDataContainer3D`.  The following
+attributes must be defined:
 
-.. function:: __init__(self, args, kwargs)
+ * ``_type_name`` - this is the short name by which the object type will be
+   known as.  Remember this for later, as we will have to use it when defining
+   the underlying selector.
+ * ``_con_args`` - this is the set of arguments passed to the object, and their
+   names as attributes on the data object.
+ * ``_container_fields`` - any fields that are generated by the object, rather
+   than by another derived field in yt.
 
-   This function can accept any number of arguments but must eventually call
-   AMR3DData.__init__.  It is used to set up the various parameters that
-   define the object.
+The rest of the object can be defined in Cython, in the file
+``yt/geometry/selection_routines.pyx``.  You must define a subclass of
+``SelectorObject``, which will require implementation of the following methods:
 
-.. function:: _get_list_of_grids(self)
+ * ``fill_mask`` - this takes a grid object and fills a mask of which zones
+   should be included.  It must take into account the child mask of the grid.
+ * ``select_cell`` - this routine accepts a position and a width, and returns
+   either zero or one for whether or not that cell is included in the selector.
+ * ``select_sphere`` - this routine returns zero or one whether a sphere (point
+   and radius) is included in the selector.
+ * ``select_point`` - this identifies whether or not a point is included in the
+   selector.  It should be identical to selecting a cell or a sphere with
+   zero extent.
+ * ``select_bbox`` - this returns whether or not a bounding box (i.e., grid) is
+   included in the selector.
+ * ``_hash_vals`` - this must return some combination of parameters that
+   semi-uniquely identifies the selector.
 
-   This function must set the property _grids to be a list of the grids
-   that should be considered to be a part of the data object.  Each of these
-   will be partly or completely contained within the object.
-
-.. function:: _is_fully_enclosed(self, grid)
-
-   This function returns true if the entire grid is part of the data object
-   and false if it is only partly enclosed.
-
-.. function:: _get_cut_mask(self, grid)
-
-   This function returns a boolean mask in the shape of the grid.  All of the
-   cells set to 'True' will be included in the data object and all of those set
-   to 'False' will be excluded.  Typically this is done via some logical
-   operation.
-
-For a good example of how to do this, see the
-:class:`yt.data_objects.data_containers.AMRCylinderBase` source code.
+Once the object has been defined, it must then be aliased within
+``selection_routines.pyx`` as ``typename_selector``.  For instance,
+``ray_selector`` or ``sphere_selector`` for ``_type_name`` values of ``ray``
+and ``sphere``, respectively.


https://bitbucket.org/yt_analysis/yt/commits/1d9d35331863/
Changeset:   1d9d35331863
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-08-01 15:14:22
Summary:     Updating show_fields.py script
Affected #:  1 file

diff -r ce522887be4e2fe7efefc7eabe109c706bd1a9af -r 1d9d35331863ce7158f0dc5d92dc0fcdc92668b1 doc/helper_scripts/show_fields.py
--- a/doc/helper_scripts/show_fields.py
+++ b/doc/helper_scripts/show_fields.py
@@ -1,10 +1,55 @@
 import inspect
 from yt.mods import *
+from yt.testing import *
+import numpy as np
+from yt.utilities.cosmology import \
+     Cosmology
+from yt.utilities.definitions import \
+    mpc_conversion, sec_conversion
+from yt.frontends.stream.fields import \
+    StreamFieldInfo
+from yt.fields.derived_field import NullFunc
+from yt.units.yt_array import YTArray
 
+fields, units = [], []
 
-def islambda(f):
-    return inspect.isfunction(f) and \
-           f.__name__ == (lambda: True).__name__
+for fname, (code_units, aliases, dn) in StreamFieldInfo.known_other_fields:
+    fields.append(("gas", fname))
+    units.append(code_units)
+base_ds = fake_random_ds(4, fields = fields, units = units)
+base_ds.index
+base_ds.cosmological_simulation = 1
+base_ds.cosmology = Cosmology()
+from yt.config import ytcfg
+ytcfg["yt","__withintesting"] = "True"
+np.seterr(all = 'ignore')
+
+def _strip_ftype(field):
+    if not isinstance(field, tuple):
+        return field
+    elif field[0] == "all":
+        return field
+    return field[1]
+
+np.random.seed(int(0x4d3d3d3))
+units = [base_ds._get_field_info(*f).units for f in fields]
+fields = [_strip_ftype(f) for f in fields]
+ds = fake_random_ds(16, fields = fields, units = units)
+ds.parameters["HydroMethod"] = "streaming"
+ds.parameters["EOSType"] = 1.0
+ds.parameters["EOSSoundSpeed"] = 1.0
+ds.conversion_factors["Time"] = 1.0
+ds.conversion_factors.update( dict((f, 1.0) for f in fields) )
+ds.gamma = 5.0/3.0
+ds.current_redshift = 0.0001
+ds.cosmological_simulation = 1
+ds.hubble_constant = 0.7
+ds.omega_matter = 0.27
+ds.omega_lambda = 0.73
+ds.cosmology = Cosmology(hubble_constant=ds.hubble_constant,
+                         omega_matter=ds.omega_matter,
+                         omega_lambda=ds.omega_lambda,
+                         unit_registry=ds.unit_registry)
 
 header = r"""
 .. _field-list:
@@ -12,10 +57,10 @@
 Field List
 ==========
 
-This is a list of all fields available in ``yt``.  It has been organized by the
-type of code that each field is supported by.  "Universal" fields are available
-everywhere, "Enzo" fields in Enzo datasets, "Orion" fields in Orion datasets,
-and so on.
+This is a list of many of the fields available in ``yt``.  We have attempted to
+include most of the fields that are accessible through the plugin system,
+however it is possible to generate many more permutations, particularly through
+vector operations.
 
 Try using the ``ds.field_list`` and ``ds.derived_field_list`` to view the
 native and derived fields available for your dataset respectively. For example
@@ -28,41 +73,27 @@
   for i in sorted(ds.field_list):
     print i
 
-.. note:: Universal fields will be overridden by a code-specific field.
-
-.. rubric:: Table of Contents
-
-.. contents::
-   :depth: 2
-   :local:
-   :backlinks: none
 """
 
 print header
 
 seen = []
 
-
 def print_all_fields(fl):
     for fn in sorted(fl):
         df = fl[fn]
         f = df._function
-        cv = df._convert_function
-        if [f, cv] in seen:
-            continue
-        seen.append([f, cv])
-        print "%s" % (df.name)
-        print "+" * len(df.name)
+        s = "%s" % (df.name,)
+        print s
+        print "+" * len(s)
         print
-        if len(df._units) > 0:
-            print "   * Units: :math:`%s`" % (df._units)
-        if len(df._projected_units) > 0:
-            print "   * Projected Units: :math:`%s`" % (df._projected_units)
+        if len(df.units) > 0:
+            print "   * Units: :math:`%s`" % (df.units)
         print "   * Particle Type: %s" % (df.particle_type)
         print
         print "**Field Source**"
         print
-        if islambda(f):
+        if f == NullFunc:
             print "No source available."
             print
             continue
@@ -72,66 +103,6 @@
             for line in inspect.getsource(f).split("\n"):
                 print "  " + line
             print
-        print "**Convert Function Source**"
-        print
-        if islambda(cv):
-            print "No source available."
-            print
-            continue
-        else:
-            print ".. code-block:: python"
-            print
-            for line in inspect.getsource(cv).split("\n"):
-                print "  " + line
-            print
 
-
-print "Universal Field List"
-print "--------------------"
-print
-print_all_fields(FieldInfo)
-
-print "Enzo-Specific Field List"
-print "------------------------"
-print
-print_all_fields(EnzoFieldInfo)
-
-print "Orion-Specific Field List"
-print "-------------------------"
-print
-print_all_fields(OrionFieldInfo)
-
-print "FLASH-Specific Field List"
-print "-------------------------"
-print
-print_all_fields(FLASHFieldInfo)
-
-print "Athena-Specific Field List"
-print "--------------------------"
-print
-print_all_fields(AthenaFieldInfo)
-
-print "Nyx-Specific Field List"
-print "-----------------------"
-print
-print_all_fields(NyxFieldInfo)
-
-print "Chombo-Specific Field List"
-print "--------------------------"
-print
-print_all_fields(ChomboFieldInfo)
-
-print "Pluto-Specific Field List"
-print "--------------------------"
-print
-print_all_fields(PlutoFieldInfo)
-
-print "Grid-Data-Format-Specific Field List"
-print "------------------------------------"
-print
-print_all_fields(GDFFieldInfo)
-
-print "Generic-Format (Stream) Field List"
-print "----------------------------------"
-print
-print_all_fields(StreamFieldInfo)
+ds.index
+print_all_fields(ds.field_info)


https://bitbucket.org/yt_analysis/yt/commits/f66866da8b8e/
Changeset:   f66866da8b8e
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-08-01 15:14:48
Summary:     Adding the new field list.
Affected #:  1 file

This diff is so big that we needed to truncate the remainder.

https://bitbucket.org/yt_analysis/yt/commits/47ca2208c593/
Changeset:   47ca2208c593
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-08-01 19:00:19
Summary:     Updating references.
Affected #:  2 files

diff -r aee3674e7217f3e1393ec9544285197dfe19981e -r 47ca2208c593164b1c505d64b684c21430163ebd doc/source/developing/creating_datatypes.rst
--- a/doc/source/developing/creating_datatypes.rst
+++ b/doc/source/developing/creating_datatypes.rst
@@ -12,11 +12,11 @@
 of which is in Python and the other in Cython.  First, a subclass of
 :class:`~yt.data_objects.data_containers.YTDataContainer` must be defined;
 typically you actually want to subclass one of:
-:class:`~yt.data_objects.data_containers.YTDataContainer0D`
-:class:`~yt.data_objects.data_containers.YTDataContainer1D`
-:class:`~yt.data_objects.data_containers.YTDataContainer2D`
-:class:`~yt.data_objects.data_containers.YTDataContainer3D`.  The following
-attributes must be defined:
+:class:`~yt.data_objects.data_containers.YTSelectionDataContainer0D`
+:class:`~yt.data_objects.data_containers.YTSelectionDataContainer1D`
+:class:`~yt.data_objects.data_containers.YTSelectionDataContainer2D`
+:class:`~yt.data_objects.data_containers.YTSelectionDataContainer3D`.  
+The following attributes must be defined:
 
  * ``_type_name`` - this is the short name by which the object type will be
    known as.  Remember this for later, as we will have to use it when defining

diff -r aee3674e7217f3e1393ec9544285197dfe19981e -r 47ca2208c593164b1c505d64b684c21430163ebd doc/source/reference/api/api.rst
--- a/doc/source/reference/api/api.rst
+++ b/doc/source/reference/api/api.rst
@@ -62,6 +62,7 @@
    :toctree: generated/
 
    ~yt.data_objects.data_containers.YTSelectionContainer
+   ~yt.data_objects.data_containers.YTSelectionContainer0D
    ~yt.data_objects.data_containers.YTSelectionContainer1D
    ~yt.data_objects.data_containers.YTSelectionContainer2D
    ~yt.data_objects.data_containers.YTSelectionContainer3D


https://bitbucket.org/yt_analysis/yt/commits/0769931ec4f2/
Changeset:   0769931ec4f2
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-08-01 19:06:55
Summary:     Fixing references
Affected #:  1 file

diff -r 47ca2208c593164b1c505d64b684c21430163ebd -r 0769931ec4f2214a1fbaf0db12b333b74da9bbc9 doc/source/developing/creating_datatypes.rst
--- a/doc/source/developing/creating_datatypes.rst
+++ b/doc/source/developing/creating_datatypes.rst
@@ -12,10 +12,10 @@
 of which is in Python and the other in Cython.  First, a subclass of
 :class:`~yt.data_objects.data_containers.YTDataContainer` must be defined;
 typically you actually want to subclass one of:
-:class:`~yt.data_objects.data_containers.YTSelectionDataContainer0D`
-:class:`~yt.data_objects.data_containers.YTSelectionDataContainer1D`
-:class:`~yt.data_objects.data_containers.YTSelectionDataContainer2D`
-:class:`~yt.data_objects.data_containers.YTSelectionDataContainer3D`.  
+:class:`~yt.data_objects.data_containers.YTSelectionContainer0D`
+:class:`~yt.data_objects.data_containers.YTSelectionContainer1D`
+:class:`~yt.data_objects.data_containers.YTSelectionContainer2D`
+:class:`~yt.data_objects.data_containers.YTSelectionContainer3D`.  
 The following attributes must be defined:
 
  * ``_type_name`` - this is the short name by which the object type will be


https://bitbucket.org/yt_analysis/yt/commits/7c4249875df5/
Changeset:   7c4249875df5
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-08-01 19:23:34
Summary:     Merging
Affected #:  2 files

diff -r 0769931ec4f2214a1fbaf0db12b333b74da9bbc9 -r 7c4249875df526e4ec891b15e713e193aa0cc43e doc/helper_scripts/show_fields.py
--- a/doc/helper_scripts/show_fields.py
+++ b/doc/helper_scripts/show_fields.py
@@ -1,10 +1,55 @@
 import inspect
 from yt.mods import *
+from yt.testing import *
+import numpy as np
+from yt.utilities.cosmology import \
+     Cosmology
+from yt.utilities.definitions import \
+    mpc_conversion, sec_conversion
+from yt.frontends.stream.fields import \
+    StreamFieldInfo
+from yt.fields.derived_field import NullFunc
+from yt.units.yt_array import YTArray
 
+fields, units = [], []
 
-def islambda(f):
-    return inspect.isfunction(f) and \
-           f.__name__ == (lambda: True).__name__
+for fname, (code_units, aliases, dn) in StreamFieldInfo.known_other_fields:
+    fields.append(("gas", fname))
+    units.append(code_units)
+base_ds = fake_random_ds(4, fields = fields, units = units)
+base_ds.index
+base_ds.cosmological_simulation = 1
+base_ds.cosmology = Cosmology()
+from yt.config import ytcfg
+ytcfg["yt","__withintesting"] = "True"
+np.seterr(all = 'ignore')
+
+def _strip_ftype(field):
+    if not isinstance(field, tuple):
+        return field
+    elif field[0] == "all":
+        return field
+    return field[1]
+
+np.random.seed(int(0x4d3d3d3))
+units = [base_ds._get_field_info(*f).units for f in fields]
+fields = [_strip_ftype(f) for f in fields]
+ds = fake_random_ds(16, fields = fields, units = units)
+ds.parameters["HydroMethod"] = "streaming"
+ds.parameters["EOSType"] = 1.0
+ds.parameters["EOSSoundSpeed"] = 1.0
+ds.conversion_factors["Time"] = 1.0
+ds.conversion_factors.update( dict((f, 1.0) for f in fields) )
+ds.gamma = 5.0/3.0
+ds.current_redshift = 0.0001
+ds.cosmological_simulation = 1
+ds.hubble_constant = 0.7
+ds.omega_matter = 0.27
+ds.omega_lambda = 0.73
+ds.cosmology = Cosmology(hubble_constant=ds.hubble_constant,
+                         omega_matter=ds.omega_matter,
+                         omega_lambda=ds.omega_lambda,
+                         unit_registry=ds.unit_registry)
 
 header = r"""
 .. _field-list:
@@ -12,10 +57,10 @@
 Field List
 ==========
 
-This is a list of all fields available in ``yt``.  It has been organized by the
-type of code that each field is supported by.  "Universal" fields are available
-everywhere, "Enzo" fields in Enzo datasets, "Orion" fields in Orion datasets,
-and so on.
+This is a list of many of the fields available in ``yt``.  We have attempted to
+include most of the fields that are accessible through the plugin system,
+however it is possible to generate many more permutations, particularly through
+vector operations.
 
 Try using the ``ds.field_list`` and ``ds.derived_field_list`` to view the
 native and derived fields available for your dataset respectively. For example
@@ -28,41 +73,27 @@
   for i in sorted(ds.field_list):
     print i
 
-.. note:: Universal fields will be overridden by a code-specific field.
-
-.. rubric:: Table of Contents
-
-.. contents::
-   :depth: 2
-   :local:
-   :backlinks: none
 """
 
 print header
 
 seen = []
 
-
 def print_all_fields(fl):
     for fn in sorted(fl):
         df = fl[fn]
         f = df._function
-        cv = df._convert_function
-        if [f, cv] in seen:
-            continue
-        seen.append([f, cv])
-        print "%s" % (df.name)
-        print "+" * len(df.name)
+        s = "%s" % (df.name,)
+        print s
+        print "+" * len(s)
         print
-        if len(df._units) > 0:
-            print "   * Units: :math:`%s`" % (df._units)
-        if len(df._projected_units) > 0:
-            print "   * Projected Units: :math:`%s`" % (df._projected_units)
+        if len(df.units) > 0:
+            print "   * Units: :math:`%s`" % (df.units)
         print "   * Particle Type: %s" % (df.particle_type)
         print
         print "**Field Source**"
         print
-        if islambda(f):
+        if f == NullFunc:
             print "No source available."
             print
             continue
@@ -72,66 +103,6 @@
             for line in inspect.getsource(f).split("\n"):
                 print "  " + line
             print
-        print "**Convert Function Source**"
-        print
-        if islambda(cv):
-            print "No source available."
-            print
-            continue
-        else:
-            print ".. code-block:: python"
-            print
-            for line in inspect.getsource(cv).split("\n"):
-                print "  " + line
-            print
 
-
-print "Universal Field List"
-print "--------------------"
-print
-print_all_fields(FieldInfo)
-
-print "Enzo-Specific Field List"
-print "------------------------"
-print
-print_all_fields(EnzoFieldInfo)
-
-print "Orion-Specific Field List"
-print "-------------------------"
-print
-print_all_fields(OrionFieldInfo)
-
-print "FLASH-Specific Field List"
-print "-------------------------"
-print
-print_all_fields(FLASHFieldInfo)
-
-print "Athena-Specific Field List"
-print "--------------------------"
-print
-print_all_fields(AthenaFieldInfo)
-
-print "Nyx-Specific Field List"
-print "-----------------------"
-print
-print_all_fields(NyxFieldInfo)
-
-print "Chombo-Specific Field List"
-print "--------------------------"
-print
-print_all_fields(ChomboFieldInfo)
-
-print "Pluto-Specific Field List"
-print "--------------------------"
-print
-print_all_fields(PlutoFieldInfo)
-
-print "Grid-Data-Format-Specific Field List"
-print "------------------------------------"
-print
-print_all_fields(GDFFieldInfo)
-
-print "Generic-Format (Stream) Field List"
-print "----------------------------------"
-print
-print_all_fields(StreamFieldInfo)
+ds.index
+print_all_fields(ds.field_info)

This diff is so big that we needed to truncate the remainder.

https://bitbucket.org/yt_analysis/yt/commits/38719b7efb0e/
Changeset:   38719b7efb0e
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-08-01 19:25:46
Summary:     Using latex representation.
Affected #:  2 files

diff -r 7c4249875df526e4ec891b15e713e193aa0cc43e -r 38719b7efb0ef4ec8413486eac8bad4a13d95a26 doc/helper_scripts/show_fields.py
--- a/doc/helper_scripts/show_fields.py
+++ b/doc/helper_scripts/show_fields.py
@@ -9,7 +9,7 @@
 from yt.frontends.stream.fields import \
     StreamFieldInfo
 from yt.fields.derived_field import NullFunc
-from yt.units.yt_array import YTArray
+from yt.units.yt_array import YTArray, Unit
 
 fields, units = [], []
 
@@ -88,7 +88,8 @@
         print "+" * len(s)
         print
         if len(df.units) > 0:
-            print "   * Units: :math:`%s`" % (df.units)
+            u = Unit(df.units, registry = ds.unit_registry)
+            print "   * Units: :math:`%s`" % (u.latex_representation())
         print "   * Particle Type: %s" % (df.particle_type)
         print
         print "**Field Source**"

diff -r 7c4249875df526e4ec891b15e713e193aa0cc43e -r 38719b7efb0ef4ec8413486eac8bad4a13d95a26 doc/source/reference/field_list.rst
--- a/doc/source/reference/field_list.rst
+++ b/doc/source/reference/field_list.rst
@@ -43,7 +43,7 @@
 ('all', 'particle_angular_momentum_magnitude')
 ++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -60,7 +60,7 @@
 ('all', 'particle_angular_momentum_x')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -75,7 +75,7 @@
 ('all', 'particle_angular_momentum_y')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -90,7 +90,7 @@
 ('all', 'particle_angular_momentum_z')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -119,7 +119,7 @@
 ('all', 'particle_phi_spherical')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -142,7 +142,7 @@
 ('all', 'particle_phi_velocity')
 ++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -166,7 +166,7 @@
 ('all', 'particle_position')
 ++++++++++++++++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: True
 
 **Field Source**
@@ -183,7 +183,7 @@
 ('all', 'particle_radial_velocity')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -209,7 +209,7 @@
 ('all', 'particle_radius')
 ++++++++++++++++++++++++++
 
-   * Units: :math:`cm`
+   * Units: :math:`\rm{cm}`
    * Particle Type: True
 
 **Field Source**
@@ -223,7 +223,7 @@
 ('all', 'particle_radius_spherical')
 ++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -246,7 +246,7 @@
 ('all', 'particle_specific_angular_momentum')
 +++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -277,7 +277,7 @@
 ('all', 'particle_specific_angular_momentum_magnitude')
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -294,7 +294,7 @@
 ('all', 'particle_specific_angular_momentum_x')
 +++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -316,7 +316,7 @@
 ('all', 'particle_specific_angular_momentum_y')
 +++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -338,7 +338,7 @@
 ('all', 'particle_specific_angular_momentum_z')
 +++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -360,7 +360,7 @@
 ('all', 'particle_theta_spherical')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -383,7 +383,7 @@
 ('all', 'particle_theta_velocity')
 ++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -409,7 +409,7 @@
 ('all', 'particle_velocity')
 ++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -426,7 +426,7 @@
 ('all', 'particle_velocity_magnitude')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -446,7 +446,7 @@
 ('deposit', 'all_cic')
 ++++++++++++++++++++++
 
-   * Units: :math:`g/cm**3`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -480,7 +480,7 @@
 ('deposit', 'all_density')
 ++++++++++++++++++++++++++
 
-   * Units: :math:`g/cm**3`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -501,7 +501,7 @@
 ('deposit', 'all_mass')
 +++++++++++++++++++++++
 
-   * Units: :math:`g`
+   * Units: :math:`\rm{g}`
    * Particle Type: False
 
 **Field Source**
@@ -518,7 +518,7 @@
 ('deposit', 'io_cic')
 +++++++++++++++++++++
 
-   * Units: :math:`g/cm**3`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -552,7 +552,7 @@
 ('deposit', 'io_density')
 +++++++++++++++++++++++++
 
-   * Units: :math:`g/cm**3`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -573,7 +573,7 @@
 ('deposit', 'io_mass')
 ++++++++++++++++++++++
 
-   * Units: :math:`g`
+   * Units: :math:`\rm{g}`
    * Particle Type: False
 
 **Field Source**
@@ -590,7 +590,7 @@
 ('gas', 'angular_momentum_magnitude')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g * cm**2 / s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -607,7 +607,7 @@
 ('gas', 'angular_momentum_x')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`g * cm**2 / s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -622,7 +622,7 @@
 ('gas', 'angular_momentum_y')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`g * cm**2 / s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -637,7 +637,7 @@
 ('gas', 'angular_momentum_z')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`g * cm**2 / s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -652,7 +652,7 @@
 ('gas', 'averaged_density')
 +++++++++++++++++++++++++++
 
-   * Units: :math:`g/cm**3`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -684,7 +684,7 @@
 ('gas', 'baroclinic_vorticity_magnitude')
 +++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -701,7 +701,7 @@
 ('gas', 'baroclinic_vorticity_x')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -719,7 +719,7 @@
 ('gas', 'baroclinic_vorticity_y')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -737,7 +737,7 @@
 ('gas', 'baroclinic_vorticity_z')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -778,7 +778,7 @@
 ('gas', 'cell_mass')
 ++++++++++++++++++++
 
-   * Units: :math:`g`
+   * Units: :math:`\rm{g}`
    * Particle Type: False
 
 **Field Source**
@@ -821,7 +821,7 @@
 ('gas', 'courant_time_step')
 ++++++++++++++++++++++++++++
 
-   * Units: :math:`s`
+   * Units: :math:`\rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -842,7 +842,7 @@
 ('gas', 'cutting_plane_velocity_x')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -862,7 +862,7 @@
 ('gas', 'cutting_plane_velocity_y')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -882,7 +882,7 @@
 ('gas', 'cutting_plane_velocity_z')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -902,7 +902,7 @@
 ('gas', 'cylindrical_radial_velocity')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -920,7 +920,7 @@
 ('gas', 'cylindrical_radial_velocity_absolute')
 +++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -934,7 +934,7 @@
 ('gas', 'cylindrical_tangential_velocity')
 ++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -953,7 +953,7 @@
 ('gas', 'cylindrical_tangential_velocity_absolute')
 +++++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -967,7 +967,7 @@
 ('gas', 'dark_matter_density')
 ++++++++++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -977,7 +977,7 @@
 ('gas', 'density')
 ++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -987,7 +987,7 @@
 ('gas', 'density_gradient_magnitude')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`(g / cm**3) / cm`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{4}}`
    * Particle Type: False
 
 **Field Source**
@@ -1004,7 +1004,7 @@
 ('gas', 'density_gradient_x')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`(g / cm**3) / cm`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{4}}`
    * Particle Type: False
 
 **Field Source**
@@ -1024,7 +1024,7 @@
 ('gas', 'density_gradient_y')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`(g / cm**3) / cm`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{4}}`
    * Particle Type: False
 
 **Field Source**
@@ -1044,7 +1044,7 @@
 ('gas', 'density_gradient_z')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`(g / cm**3) / cm`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{4}}`
    * Particle Type: False
 
 **Field Source**
@@ -1064,7 +1064,7 @@
 ('gas', 'di_density')
 +++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1074,7 +1074,7 @@
 ('gas', 'dii_density')
 ++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1084,7 +1084,7 @@
 ('gas', 'dynamical_time')
 +++++++++++++++++++++++++
 
-   * Units: :math:`s`
+   * Units: :math:`\rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1101,7 +1101,7 @@
 ('gas', 'entropy')
 ++++++++++++++++++
 
-   * Units: :math:`keV*cm**2`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{keV}`
    * Particle Type: False
 
 **Field Source**
@@ -1121,7 +1121,7 @@
 ('gas', 'h2i_density')
 ++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1131,7 +1131,7 @@
 ('gas', 'h2ii_density')
 +++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1141,7 +1141,7 @@
 ('gas', 'h2m_density')
 ++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1151,7 +1151,7 @@
 ('gas', 'hdi_density')
 ++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1161,7 +1161,7 @@
 ('gas', 'hei_density')
 ++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1171,7 +1171,7 @@
 ('gas', 'heii_density')
 +++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1181,7 +1181,7 @@
 ('gas', 'heiii_density')
 ++++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1191,7 +1191,7 @@
 ('gas', 'hi_density')
 +++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1201,7 +1201,7 @@
 ('gas', 'hii_density')
 ++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1211,7 +1211,7 @@
 ('gas', 'jeans_mass')
 +++++++++++++++++++++
 
-   * Units: :math:`g`
+   * Units: :math:`\rm{g}`
    * Particle Type: False
 
 **Field Source**
@@ -1231,7 +1231,7 @@
 ('gas', 'kT')
 +++++++++++++
 
-   * Units: :math:`keV`
+   * Units: :math:`\rm{keV}`
    * Particle Type: False
 
 **Field Source**
@@ -1245,7 +1245,7 @@
 ('gas', 'kinetic_energy')
 +++++++++++++++++++++++++
 
-   * Units: :math:`erg / cm**3`
+   * Units: :math:`\frac{\rm{erg}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1275,7 +1275,7 @@
 ('gas', 'magnetic_energy')
 ++++++++++++++++++++++++++
 
-   * Units: :math:`erg / cm**3`
+   * Units: :math:`\frac{\rm{erg}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1295,7 +1295,7 @@
 ('gas', 'magnetic_field_poloidal')
 ++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`gauss`
+   * Units: :math:`\rm{gauss}`
    * Particle Type: False
 
 **Field Source**
@@ -1320,7 +1320,7 @@
 ('gas', 'magnetic_field_strength')
 ++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`gauss`
+   * Units: :math:`\rm{gauss}`
    * Particle Type: False
 
 **Field Source**
@@ -1334,7 +1334,7 @@
 ('gas', 'magnetic_field_toroidal')
 ++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`gauss`
+   * Units: :math:`\rm{gauss}`
    * Particle Type: False
 
 **Field Source**
@@ -1357,7 +1357,7 @@
 ('gas', 'magnetic_field_x')
 +++++++++++++++++++++++++++
 
-   * Units: :math:`gauss`
+   * Units: :math:`\rm{gauss}`
    * Particle Type: False
 
 **Field Source**
@@ -1367,7 +1367,7 @@
 ('gas', 'magnetic_field_y')
 +++++++++++++++++++++++++++
 
-   * Units: :math:`gauss`
+   * Units: :math:`\rm{gauss}`
    * Particle Type: False
 
 **Field Source**
@@ -1377,7 +1377,7 @@
 ('gas', 'magnetic_field_z')
 +++++++++++++++++++++++++++
 
-   * Units: :math:`gauss`
+   * Units: :math:`\rm{gauss}`
    * Particle Type: False
 
 **Field Source**
@@ -1387,7 +1387,7 @@
 ('gas', 'magnetic_pressure')
 ++++++++++++++++++++++++++++
 
-   * Units: :math:`erg / cm**3`
+   * Units: :math:`\frac{\rm{erg}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1401,7 +1401,7 @@
 ('gas', 'matter_density')
 +++++++++++++++++++++++++
 
-   * Units: :math:`g/cm**3`
+   * Units: :math:`\frac{\rm{g}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1416,7 +1416,7 @@
 ('gas', 'matter_mass')
 ++++++++++++++++++++++
 
-   * Units: :math:`g`
+   * Units: :math:`\rm{g}`
    * Particle Type: False
 
 **Field Source**
@@ -1464,7 +1464,7 @@
 ('gas', 'metal_density')
 ++++++++++++++++++++++++
 
-   * Units: :math:`code_mass/code_length**3`
+   * Units: :math:`\frac{\rm{code}\/\rm{mass}}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1474,7 +1474,7 @@
 ('gas', 'metal_mass')
 +++++++++++++++++++++
 
-   * Units: :math:`g`
+   * Units: :math:`\rm{g}`
    * Particle Type: False
 
 **Field Source**
@@ -1488,7 +1488,7 @@
 ('gas', 'metallicity')
 ++++++++++++++++++++++
 
-   * Units: :math:`Zsun`
+   * Units: :math:`\rm{Z}_\odot`
    * Particle Type: False
 
 **Field Source**
@@ -1504,7 +1504,7 @@
 ('gas', 'number_density')
 +++++++++++++++++++++++++
 
-   * Units: :math:`1/code_length**3`
+   * Units: :math:`\frac{1}{\rm{code}\/\rm{length}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1549,7 +1549,7 @@
 ('gas', 'pressure')
 +++++++++++++++++++
 
-   * Units: :math:`dyne/code_length**2`
+   * Units: :math:`\frac{\rm{dyne}}{\rm{code}\/\rm{length}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -1559,7 +1559,7 @@
 ('gas', 'pressure_gradient_magnitude')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`(dyne/cm**2) / cm`
+   * Units: :math:`\frac{\rm{dyne}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1576,7 +1576,7 @@
 ('gas', 'pressure_gradient_x')
 ++++++++++++++++++++++++++++++
 
-   * Units: :math:`(dyne/cm**2) / cm`
+   * Units: :math:`\frac{\rm{dyne}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1596,7 +1596,7 @@
 ('gas', 'pressure_gradient_y')
 ++++++++++++++++++++++++++++++
 
-   * Units: :math:`(dyne/cm**2) / cm`
+   * Units: :math:`\frac{\rm{dyne}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1616,7 +1616,7 @@
 ('gas', 'pressure_gradient_z')
 ++++++++++++++++++++++++++++++
 
-   * Units: :math:`(dyne/cm**2) / cm`
+   * Units: :math:`\frac{\rm{dyne}}{\rm{cm}^{3}}`
    * Particle Type: False
 
 **Field Source**
@@ -1651,7 +1651,7 @@
 ('gas', 'radial_velocity')
 ++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1670,7 +1670,7 @@
 ('gas', 'radial_velocity_absolute')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1689,7 +1689,7 @@
 ('gas', 'radiation_acceleration_x')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`code_length/code_time**2`
+   * Units: :math:`\frac{\rm{code}\/\rm{length}}{\rm{code}\/\rm{time}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -1699,7 +1699,7 @@
 ('gas', 'radiation_acceleration_y')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`code_length/code_time**2`
+   * Units: :math:`\frac{\rm{code}\/\rm{length}}{\rm{code}\/\rm{time}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -1709,7 +1709,7 @@
 ('gas', 'radiation_acceleration_z')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`code_length/code_time**2`
+   * Units: :math:`\frac{\rm{code}\/\rm{length}}{\rm{code}\/\rm{time}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -1719,7 +1719,7 @@
 ('gas', 'shear')
 ++++++++++++++++
 
-   * Units: :math:`1/s`
+   * Units: :math:`1 / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1771,7 +1771,7 @@
 ('gas', 'shear_criterion')
 ++++++++++++++++++++++++++
 
-   * Units: :math:`1/cm`
+   * Units: :math:`1 / \rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -1848,7 +1848,7 @@
 ('gas', 'sound_speed')
 ++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1863,7 +1863,7 @@
 ('gas', 'specific_angular_momentum_magnitude')
 ++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2 / s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1880,7 +1880,7 @@
 ('gas', 'specific_angular_momentum_x')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1898,7 +1898,7 @@
 ('gas', 'specific_angular_momentum_y')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1916,7 +1916,7 @@
 ('gas', 'specific_angular_momentum_z')
 ++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1934,7 +1934,7 @@
 ('gas', 'sz_kinetic')
 +++++++++++++++++++++
 
-   * Units: :math:`1/cm`
+   * Units: :math:`1 / \rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -1953,7 +1953,7 @@
 ('gas', 'szy')
 ++++++++++++++
 
-   * Units: :math:`1/cm`
+   * Units: :math:`1 / \rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -1983,7 +1983,7 @@
 ('gas', 'tangential_velocity')
 ++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -1998,7 +1998,7 @@
 ('gas', 'temperature')
 ++++++++++++++++++++++
 
-   * Units: :math:`K`
+   * Units: :math:`\rm{K}`
    * Particle Type: False
 
 **Field Source**
@@ -2008,7 +2008,7 @@
 ('gas', 'thermal_energy')
 +++++++++++++++++++++++++
 
-   * Units: :math:`erg / g`
+   * Units: :math:`\rm{erg} / \rm{g}`
    * Particle Type: False
 
 **Field Source**
@@ -2018,7 +2018,7 @@
 ('gas', 'velocity_divergence')
 ++++++++++++++++++++++++++++++
 
-   * Units: :math:`1/s`
+   * Units: :math:`1 / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2044,7 +2044,7 @@
 ('gas', 'velocity_divergence_absolute')
 +++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`1/s`
+   * Units: :math:`1 / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2058,7 +2058,7 @@
 ('gas', 'velocity_magnitude')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2075,7 +2075,7 @@
 ('gas', 'velocity_x')
 +++++++++++++++++++++
 
-   * Units: :math:`code_length/code_time`
+   * Units: :math:`\rm{code}\/\rm{length} / \rm{code}\/\rm{time}`
    * Particle Type: False
 
 **Field Source**
@@ -2085,7 +2085,7 @@
 ('gas', 'velocity_y')
 +++++++++++++++++++++
 
-   * Units: :math:`code_length/code_time`
+   * Units: :math:`\rm{code}\/\rm{length} / \rm{code}\/\rm{time}`
    * Particle Type: False
 
 **Field Source**
@@ -2095,7 +2095,7 @@
 ('gas', 'velocity_z')
 +++++++++++++++++++++
 
-   * Units: :math:`code_length/code_time`
+   * Units: :math:`\rm{code}\/\rm{length} / \rm{code}\/\rm{time}`
    * Particle Type: False
 
 **Field Source**
@@ -2105,7 +2105,7 @@
 ('gas', 'vorticity_growth_magnitude')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2127,7 +2127,7 @@
 ('gas', 'vorticity_growth_magnitude_absolute')
 ++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2143,7 +2143,7 @@
 ('gas', 'vorticity_growth_timescale')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s`
+   * Units: :math:`\rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2160,7 +2160,7 @@
 ('gas', 'vorticity_growth_x')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2175,7 +2175,7 @@
 ('gas', 'vorticity_growth_y')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2190,7 +2190,7 @@
 ('gas', 'vorticity_growth_z')
 +++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2205,7 +2205,7 @@
 ('gas', 'vorticity_magnitude')
 ++++++++++++++++++++++++++++++
 
-   * Units: :math:`1/s`
+   * Units: :math:`1 / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2222,7 +2222,7 @@
 ('gas', 'vorticity_radiation_pressure_growth_magnitude')
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2244,7 +2244,7 @@
 ('gas', 'vorticity_radiation_pressure_growth_magnitude_absolute')
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2260,7 +2260,7 @@
 ('gas', 'vorticity_radiation_pressure_growth_timescale')
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s`
+   * Units: :math:`\rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2280,7 +2280,7 @@
 ('gas', 'vorticity_radiation_pressure_growth_x')
 ++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2296,7 +2296,7 @@
 ('gas', 'vorticity_radiation_pressure_growth_y')
 ++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2312,7 +2312,7 @@
 ('gas', 'vorticity_radiation_pressure_growth_z')
 ++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2328,7 +2328,7 @@
 ('gas', 'vorticity_radiation_pressure_magnitude')
 +++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2345,7 +2345,7 @@
 ('gas', 'vorticity_radiation_pressure_x')
 +++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2363,7 +2363,7 @@
 ('gas', 'vorticity_radiation_pressure_y')
 +++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2381,7 +2381,7 @@
 ('gas', 'vorticity_radiation_pressure_z')
 +++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2399,7 +2399,7 @@
 ('gas', 'vorticity_squared')
 ++++++++++++++++++++++++++++
 
-   * Units: :math:`1/s**2`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2416,7 +2416,7 @@
 ('gas', 'vorticity_stretching_magnitude')
 +++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2433,7 +2433,7 @@
 ('gas', 'vorticity_stretching_x')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2447,7 +2447,7 @@
 ('gas', 'vorticity_stretching_y')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2461,7 +2461,7 @@
 ('gas', 'vorticity_stretching_z')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`s**(-2)`
+   * Units: :math:`\frac{1}{\rm{s}^{2}}`
    * Particle Type: False
 
 **Field Source**
@@ -2475,7 +2475,7 @@
 ('gas', 'vorticity_x')
 ++++++++++++++++++++++
 
-   * Units: :math:`1/s`
+   * Units: :math:`1 / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2499,7 +2499,7 @@
 ('gas', 'vorticity_y')
 ++++++++++++++++++++++
 
-   * Units: :math:`1/s`
+   * Units: :math:`1 / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2523,7 +2523,7 @@
 ('gas', 'vorticity_z')
 ++++++++++++++++++++++
 
-   * Units: :math:`1/s`
+   * Units: :math:`1 / \rm{s}`
    * Particle Type: False
 
 **Field Source**
@@ -2547,7 +2547,7 @@
 ('gas', 'weak_lensing_convergence')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`1/cm`
+   * Units: :math:`1 / \rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -2594,7 +2594,7 @@
 ('index', 'cell_volume')
 ++++++++++++++++++++++++
 
-   * Units: :math:`code_length**3`
+   * Units: :math:`\rm{code}\/\rm{length}^{3}`
    * Particle Type: False
 
 **Field Source**
@@ -2611,7 +2611,7 @@
 ('index', 'cylindrical_r')
 ++++++++++++++++++++++++++
 
-   * Units: :math:`cm`
+   * Units: :math:`\rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -2650,7 +2650,7 @@
 ('index', 'cylindrical_z')
 ++++++++++++++++++++++++++
 
-   * Units: :math:`cm`
+   * Units: :math:`\rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -2683,7 +2683,7 @@
 ('index', 'dx')
 +++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: False
 
 **Field Source**
@@ -2698,7 +2698,7 @@
 ('index', 'dy')
 +++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: False
 
 **Field Source**
@@ -2713,7 +2713,7 @@
 ('index', 'dz')
 +++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: False
 
 **Field Source**
@@ -2754,7 +2754,7 @@
 ('index', 'height')
 +++++++++++++++++++
 
-   * Units: :math:`cm`
+   * Units: :math:`\rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -2784,7 +2784,7 @@
 ('index', 'ones_over_dx')
 +++++++++++++++++++++++++
 
-   * Units: :math:`1 / cm`
+   * Units: :math:`1 / \rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -2799,7 +2799,7 @@
 ('index', 'radius')
 +++++++++++++++++++
 
-   * Units: :math:`cm`
+   * Units: :math:`\rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -2832,7 +2832,7 @@
 ('index', 'spherical_r')
 ++++++++++++++++++++++++
 
-   * Units: :math:`cm`
+   * Units: :math:`\rm{cm}`
    * Particle Type: False
 
 **Field Source**
@@ -2870,7 +2870,7 @@
 ('index', 'x')
 ++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: False
 
 **Field Source**
@@ -2885,7 +2885,7 @@
 ('index', 'y')
 ++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: False
 
 **Field Source**
@@ -2900,7 +2900,7 @@
 ('index', 'z')
 ++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: False
 
 **Field Source**
@@ -2948,7 +2948,7 @@
 ('io', 'particle_angular_momentum_magnitude')
 +++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -2965,7 +2965,7 @@
 ('io', 'particle_angular_momentum_x')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -2980,7 +2980,7 @@
 ('io', 'particle_angular_momentum_y')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -2995,7 +2995,7 @@
 ('io', 'particle_angular_momentum_z')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`g*cm**2/s`
+   * Units: :math:`\rm{cm}^{2} \cdot \rm{g} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3024,7 +3024,7 @@
 ('io', 'particle_phi_spherical')
 ++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3047,7 +3047,7 @@
 ('io', 'particle_phi_velocity')
 +++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3071,7 +3071,7 @@
 ('io', 'particle_position')
 +++++++++++++++++++++++++++
 
-   * Units: :math:`code_length`
+   * Units: :math:`\rm{code}\/\rm{length}`
    * Particle Type: True
 
 **Field Source**
@@ -3088,7 +3088,7 @@
 ('io', 'particle_radial_velocity')
 ++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3114,7 +3114,7 @@
 ('io', 'particle_radius')
 +++++++++++++++++++++++++
 
-   * Units: :math:`cm`
+   * Units: :math:`\rm{cm}`
    * Particle Type: True
 
 **Field Source**
@@ -3128,7 +3128,7 @@
 ('io', 'particle_radius_spherical')
 +++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3151,7 +3151,7 @@
 ('io', 'particle_specific_angular_momentum')
 ++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3182,7 +3182,7 @@
 ('io', 'particle_specific_angular_momentum_magnitude')
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3199,7 +3199,7 @@
 ('io', 'particle_specific_angular_momentum_x')
 ++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3221,7 +3221,7 @@
 ('io', 'particle_specific_angular_momentum_y')
 ++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3243,7 +3243,7 @@
 ('io', 'particle_specific_angular_momentum_z')
 ++++++++++++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm**2/s`
+   * Units: :math:`\rm{cm}^{2} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3265,7 +3265,7 @@
 ('io', 'particle_theta_spherical')
 ++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3288,7 +3288,7 @@
 ('io', 'particle_theta_velocity')
 +++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3314,7 +3314,7 @@
 ('io', 'particle_velocity')
 +++++++++++++++++++++++++++
 
-   * Units: :math:`cm / s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**
@@ -3331,7 +3331,7 @@
 ('io', 'particle_velocity_magnitude')
 +++++++++++++++++++++++++++++++++++++
 
-   * Units: :math:`cm/s`
+   * Units: :math:`\rm{cm} / \rm{s}`
    * Particle Type: True
 
 **Field Source**

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list