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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Dec 9 19:47:21 PST 2014


5 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/1c991a5343a0/
Changeset:   1c991a5343a0
Branch:      yt
User:        ngoldbaum
Date:        2014-12-10 03:00:17+00:00
Summary:     Add gadget notebook to cookbook toctree.  Improve linking from loading data docs.
Affected #:  2 files

diff -r a43f02e6bea17aa9d8758344689f7f7004b5bc4f -r 1c991a5343a0ab7ec3f031727722eab786009e58 doc/source/cookbook/index.rst
--- a/doc/source/cookbook/index.rst
+++ b/doc/source/cookbook/index.rst
@@ -41,6 +41,7 @@
    custom_colorbar_tickmarks
    embedded_javascript_animation
    embedded_webm_animation
+   gadget_notebook
    ../analyzing/analysis_modules/sunyaev_zeldovich
    fits_radio_cubes
    fits_xray_images

diff -r a43f02e6bea17aa9d8758344689f7f7004b5bc4f -r 1c991a5343a0ab7ec3f031727722eab786009e58 doc/source/examining/loading_data.rst
--- a/doc/source/examining/loading_data.rst
+++ b/doc/source/examining/loading_data.rst
@@ -573,7 +573,9 @@
 yt has support for reading Gadget data in both raw binary and HDF5 formats.  It
 is able to access the particles as it would any other particle dataset, and it
 can apply smoothing kernels to the data to produce both quantitative analysis
-and visualization. See :ref:`loading-sph-data` for more details.
+and visualization. See :ref:`loading-sph-data` for more details and
+:ref:`gadget-notebook` for a detailed example of loading, analyzing, and
+visualizing a Gadget dataset.
 
 Gadget data in HDF5 format can be loaded with the ``load`` command:
 
@@ -1026,8 +1028,6 @@
 onto the grid, you can also effectively mimic what your data would look like at
 lower resolution.
 
-See :ref:`gadget-notebook` for an example.
-
 .. _loading-tipsy-data:
 
 Tipsy Data


https://bitbucket.org/yt_analysis/yt/commits/edc9d1abebff/
Changeset:   edc9d1abebff
Branch:      yt
User:        ngoldbaum
Date:        2014-12-10 03:02:44+00:00
Summary:     Fix minor API docs formatting issue in PlotWindow docstrings.
Affected #:  1 file

diff -r 1c991a5343a0ab7ec3f031727722eab786009e58 -r edc9d1abebfff8980f54cb7f5106f4ec41bfa129 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -159,8 +159,8 @@
 
     Parameters
     ----------
-    data_source : :class:`yt.data_objects.data_containers.YTProjBase` or
-                  :class:`yt.data_objects.data_containers.YTSliceBase`
+
+    data_source : :class:`yt.data_objects.data_containers.YTProjBase` or :class:`yt.data_objects.data_containers.YTSliceBase`
         This is the source to be pixelized, which can be a projection or a
         slice.  (For cutting planes, see
         `yt.visualization.fixed_resolution.ObliqueFixedResolutionBuffer`.)


https://bitbucket.org/yt_analysis/yt/commits/e6e010e60d9c/
Changeset:   e6e010e60d9c
Branch:      yt
User:        ngoldbaum
Date:        2014-12-10 03:04:52+00:00
Summary:     Fix minor sphinx formatting issue in callback docs.
Affected #:  1 file

diff -r edc9d1abebfff8980f54cb7f5106f4ec41bfa129 -r e6e010e60d9cea866f1aa0b9d4f62487bd185238 doc/source/visualizing/_cb_docstrings.inc
--- a/doc/source/visualizing/_cb_docstrings.inc
+++ b/doc/source/visualizing/_cb_docstrings.inc
@@ -201,7 +201,7 @@
    :class:`~yt.visualization.plot_modifications.ImageLineCallback`.)
 
    Plot from ``p1`` to ``p2`` (normalized image plane coordinates) with
-  ``plot_args`` fed into the plot.
+   ``plot_args`` fed into the plot.
 
 .. python-script::
 


https://bitbucket.org/yt_analysis/yt/commits/acc5430d3b5c/
Changeset:   acc5430d3b5c
Branch:      yt
User:        ngoldbaum
Date:        2014-12-10 03:07:39+00:00
Summary:     Fix minor formatting issue in field list.  Update RAMSES field list units.
Affected #:  2 files

diff -r e6e010e60d9cea866f1aa0b9d4f62487bd185238 -r acc5430d3b5c3bb426f9a7caa52d7fab19c17206 doc/helper_scripts/show_fields.py
--- a/doc/helper_scripts/show_fields.py
+++ b/doc/helper_scripts/show_fields.py
@@ -271,5 +271,6 @@
                                   dp=f.dname, dw=len_disp)
                 
             print div
+            print ""
 
 print footer

diff -r e6e010e60d9cea866f1aa0b9d4f62487bd185238 -r acc5430d3b5c3bb426f9a7caa52d7fab19c17206 doc/source/reference/field_list.rst
--- a/doc/source/reference/field_list.rst
+++ b/doc/source/reference/field_list.rst
@@ -4121,6 +4121,7 @@
 ('io', 'particle_metallicity1')                                                                                                                                           1              
 ('io', 'particle_metallicity2')                                                                                                                                           1              
 ================================  ========================================================================================================  ====================  =========  ============
+
 .. _ARTIO_specific_fields:
 
 ARTIO-Specific Fields
@@ -4155,6 +4156,7 @@
 ('io', 'METALLICITY_SNIa')                                                                                                                    ``metallicity_snia``             1              
 ('io', 'METALLICITY_SNII')                                                                                                                    ``metallicity_snii``             1              
 ==================================  ========================================================================================================  =======================  =========  ============
+
 .. _Athena_specific_fields:
 
 Athena-Specific Fields
@@ -4168,6 +4170,7 @@
 ('athena', 'cell_centered_B_y')  :math:`\mathrm{\rm{code_magnetic}}`                                     ``magnetic_field_y``          0              
 ('athena', 'cell_centered_B_z')  :math:`\mathrm{\rm{code_magnetic}}`                                     ``magnetic_field_z``          0              
 ===============================  ======================================================================  ====================  =========  ============
+
 .. _Boxlib_specific_fields:
 
 Boxlib-Specific Fields
@@ -4202,6 +4205,7 @@
 ('io', 'particle_id')                                                                                                            ``particle_index``          1              
 ('io', 'particle_mdot')        :math:`\mathrm{\rm{code}~\rm{mass} / \rm{code}~\rm{time}}`                                                                    1              
 =============================  ================================================================================================  ==================  =========  ============
+
 .. _Castro_specific_fields:
 
 Castro-Specific Fields
@@ -4238,6 +4242,7 @@
 ('boxlib', 'maggrav')     :math:`\mathrm{\frac{\rm{cm}}{\rm{s}^{2}}}`                                                0  :math:`|\mathbf{g}|`                 
 ('boxlib', 'phiGrav')     :math:`\mathrm{\rm{erg} / \rm{g}}`                                                         0  :math:`\Phi`                         
 ========================  ========================================================  =======================  =========  =====================================
+
 .. _Maestro_specific_fields:
 
 Maestro-Specific Fields
@@ -4289,6 +4294,7 @@
 ('boxlib', 'w0_y')             :math:`\mathrm{\rm{cm} / \rm{s}}`                                                       0  :math:`(w_0)_y`                                
 ('boxlib', 'w0_z')             :math:`\mathrm{\rm{cm} / \rm{s}}`                                                       0  :math:`(w_0)_z`                                
 =============================  =====================================================  =======================  =========  ===============================================
+
 .. _Orion_specific_fields:
 
 Orion-Specific Fields
@@ -4323,6 +4329,7 @@
 ('io', 'particle_id')                                                                                                            ``particle_index``          1              
 ('io', 'particle_mdot')        :math:`\mathrm{\rm{code}~\rm{mass} / \rm{code}~\rm{time}}`                                                                    1              
 =============================  ================================================================================================  ==================  =========  ============
+
 .. _ChomboPIC_specific_fields:
 
 ChomboPIC-Specific Fields
@@ -4338,6 +4345,7 @@
 ('io', 'particle_position_x')        :math:`\mathrm{\rm{code}~\rm{length}}`                                                                           1              
 ('io', 'particle_velocity_x')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                     1              
 ===================================  ==========================================================================  ===========================  =========  ============
+
 .. _Orion2_specific_fields:
 
 Orion2-Specific Fields
@@ -4356,6 +4364,7 @@
 ('io', 'particle_velocity_x')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                     1              
 ('io', 'particle_velocity_y')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                     1              
 ===================================  ==========================================================================  ===========================  =========  ============
+
 .. _Pluto_specific_fields:
 
 Pluto-Specific Fields
@@ -4377,6 +4386,7 @@
 ('io', 'particle_velocity_y')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                     1              
 ('io', 'particle_velocity_z')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                     1              
 ===================================  ==========================================================================  ===========================  =========  ============
+
 .. _Eagle_specific_fields:
 
 Eagle-Specific Fields
@@ -4413,6 +4423,7 @@
 ('io', 'Metallicity_09')                                                                              ``Ca_fraction``                1              
 ('io', 'Metallicity_10')                                                                              ``Fe_fraction``                1              
 ============================  ======================================================================  =====================  =========  ============
+
 .. _Enzo_specific_fields:
 
 Enzo-Specific Fields
@@ -4464,6 +4475,7 @@
 ('io', 'identifier')                                                                                      ``particle_index``                    1              
 ('io', 'level')                                                                                                                                 1              
 ================================  ======================================================================  ============================  =========  ============
+
 .. _FLASH_specific_fields:
 
 FLASH-Specific Fields
@@ -4521,6 +4533,7 @@
 ('io', 'particle_tag')                                                                                                         ``particle_index``                   1                                                     
 ('io', 'particle_mass')  :math:`\mathrm{\rm{code}~\rm{mass}}`                                                                  ``particle_mass``                    1                                                     
 =======================  ====================================================================================================  ===========================  =========  ===================================================
+
 .. _Gadget_specific_fields:
 
 Gadget-Specific Fields
@@ -4557,6 +4570,7 @@
 ('io', 'Metallicity_09')                                                                              ``Ca_fraction``                1              
 ('io', 'Metallicity_10')                                                                              ``Fe_fraction``                1              
 ============================  ======================================================================  =====================  =========  ============
+
 .. _GDF_specific_fields:
 
 GDF-Specific Fields
@@ -4576,6 +4590,7 @@
 ('gdf', 'mag_field_y')      :math:`\mathrm{\rm{gauss}}`                    ``magnetic_field_y``          0              
 ('gdf', 'mag_field_z')      :math:`\mathrm{\rm{gauss}}`                    ``magnetic_field_z``          0              
 ==========================  =============================================  ====================  =========  ============
+
 .. _HaloCatalog_specific_fields:
 
 HaloCatalog-Specific Fields
@@ -4594,6 +4609,7 @@
 ('io', 'particle_mass')        :math:`\mathrm{\rm{g}}`                             1  :math:`Virial Mass`  
 ('io', 'virial_radius')        :math:`\mathrm{\rm{cm}}`                            1  :math:`Virial Radius`
 =============================  =================================  =======  =========  =====================
+
 .. _OWLS_specific_fields:
 
 OWLS-Specific Fields
@@ -4630,6 +4646,7 @@
 ('io', 'Metallicity_09')                                                                              ``Ca_fraction``                1              
 ('io', 'Metallicity_10')                                                                              ``Fe_fraction``                1              
 ============================  ======================================================================  =====================  =========  ============
+
 .. _OWLSSubfind_specific_fields:
 
 OWLSSubfind-Specific Fields
@@ -4664,32 +4681,34 @@
 ('io', 'BH_Mdot')                 :math:`\mathrm{\rm{code}~\rm{mass} / \rm{code}~\rm{time}}`                                   1              
 ('io', 'StarFormationRate')       :math:`\mathrm{\rm{code}~\rm{mass} / \rm{code}~\rm{time}}`                                   1              
 ================================  ==========================================================  =======================  =========  ============
+
 .. _RAMSES_specific_fields:
 
 RAMSES-Specific Fields
 ----------------------
 
-===================================  ================================================================================================  ==================  =========  ============
-field name                           units                                                                                             aliases             particle?  display name
-===================================  ================================================================================================  ==================  =========  ============
-('ramses', 'Density')                :math:`\mathrm{\frac{\rm{code}~\rm{mass}}{\rm{code}~\rm{length}^{3}}}`                            ``density``                 0              
-('ramses', 'x-velocity')             :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                      ``velocity_x``              0              
-('ramses', 'y-velocity')             :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                      ``velocity_y``              0              
-('ramses', 'z-velocity')             :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                      ``velocity_z``              0              
-('ramses', 'Pressure')               :math:`\mathrm{\frac{\rm{code}~\rm{mass}}{\rm{code}~\rm{length} \cdot \rm{code}~\rm{time}^{2}}}`  ``pressure``                0              
-('ramses', 'Metallicity')                                                                                                              ``metallicity``             0              
-('io', 'particle_position_x')        :math:`\mathrm{\rm{code}~\rm{length}}`                                                                                        1              
-('io', 'particle_position_y')        :math:`\mathrm{\rm{code}~\rm{length}}`                                                                                        1              
-('io', 'particle_position_z')        :math:`\mathrm{\rm{code}~\rm{length}}`                                                                                        1              
-('io', 'particle_velocity_x')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                                  1              
-('io', 'particle_velocity_y')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                                  1              
-('io', 'particle_velocity_z')        :math:`\mathrm{\rm{code}~\rm{length} / \rm{code}~\rm{time}}`                                                                  1              
-('io', 'particle_mass')              :math:`\mathrm{\rm{code}~\rm{mass}}`                                                                                          1              
-('io', 'particle_identifier')                                                                                                          ``particle_index``          1              
-('io', 'particle_refinement_level')                                                                                                                                1              
-('io', 'particle_age')               :math:`\mathrm{\rm{code}~\rm{time}}`                                                                                          1              
-('io', 'particle_metallicity')                                                                                                                                     1              
-===================================  ================================================================================================  ==================  =========  ============
+===================================  ========================================  ==================  =========  ============
+field name                           units                                     aliases             particle?  display name
+===================================  ========================================  ==================  =========  ============
+('ramses', 'Density')                :math:`\mathrm{\rm{code_density}}`        ``density``                 0              
+('ramses', 'x-velocity')             :math:`\mathrm{\rm{code}~\rm{velocity}}`  ``velocity_x``              0              
+('ramses', 'y-velocity')             :math:`\mathrm{\rm{code}~\rm{velocity}}`  ``velocity_y``              0              
+('ramses', 'z-velocity')             :math:`\mathrm{\rm{code}~\rm{velocity}}`  ``velocity_z``              0              
+('ramses', 'Pressure')               :math:`\mathrm{\rm{code_pressure}}`       ``pressure``                0              
+('ramses', 'Metallicity')                                                      ``metallicity``             0              
+('io', 'particle_position_x')        :math:`\mathrm{\rm{code}~\rm{length}}`                                1              
+('io', 'particle_position_y')        :math:`\mathrm{\rm{code}~\rm{length}}`                                1              
+('io', 'particle_position_z')        :math:`\mathrm{\rm{code}~\rm{length}}`                                1              
+('io', 'particle_velocity_x')        :math:`\mathrm{\rm{code}~\rm{velocity}}`                              1              
+('io', 'particle_velocity_y')        :math:`\mathrm{\rm{code}~\rm{velocity}}`                              1              
+('io', 'particle_velocity_z')        :math:`\mathrm{\rm{code}~\rm{velocity}}`                              1              
+('io', 'particle_mass')              :math:`\mathrm{\rm{code}~\rm{mass}}`                                  1              
+('io', 'particle_identifier')                                                  ``particle_index``          1              
+('io', 'particle_refinement_level')                                                                        1              
+('io', 'particle_age')               :math:`\mathrm{\rm{code}~\rm{time}}`                                  1              
+('io', 'particle_metallicity')                                                                             1              
+===================================  ========================================  ==================  =========  ============
+
 .. _Rockstar_specific_fields:
 
 Rockstar-Specific Fields
@@ -4756,6 +4775,7 @@
 ('io', 'min_vel_err')                                                                    1                                   
 ('io', 'min_bulkvel_err')                                                                1                                   
 =============================  =======================================  =======  =========  =================================
+
 .. _Tipsy_specific_fields:
 
 Tipsy-Specific Fields
@@ -4812,6 +4832,7 @@
 ============================  ======================================================================  =====================  =========  ============
 
 
+
 Index of Fields
 ---------------
 


https://bitbucket.org/yt_analysis/yt/commits/e936ed325441/
Changeset:   e936ed325441
Branch:      yt
User:        ngoldbaum
Date:        2014-12-10 03:09:40+00:00
Summary:     Fix quoting in plotting documentation.
Affected #:  1 file

diff -r acc5430d3b5c3bb426f9a7caa52d7fab19c17206 -r e936ed325441400e985218d68c924517ed5ff52f doc/source/visualizing/plots.rst
--- a/doc/source/visualizing/plots.rst
+++ b/doc/source/visualizing/plots.rst
@@ -127,13 +127,14 @@
 If supplied without units, the center is assumed by in code units.  There are also
 the following alternative options for the `center` keyword:
 
-* `"center"`, "c"`: the domain center
-* `"max"`, `"m"`: the position of the maximum density
-* `("min", field)`: the position of the minimum of `field`
-* `("max", field)`: the position of the maximum of `field`
+* ``"center"``, ``"c"``: the domain center
+* ``"max"``, ``"m"``: the position of the maximum density
+* ``("min", field)``: the position of the minimum of ``field``
+* ``("max", field)``: the position of the maximum of ``field``
 
-where for the last two objects any spatial field, such as `"density"`, `"velocity_z"`,
-etc., may be used, e.g. `center=("min","temperature")`
+where for the last two objects any spatial field, such as ``"density"``,
+``"velocity_z"``,
+etc., may be used, e.g. ``center=("min","temperature")``.
 
 Here is an example that combines all of the options we just discussed.

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