[yt-svn] commit/yt: 11 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Jul 3 10:38:56 PDT 2014
11 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/f2a6f33b4a49/
Changeset: f2a6f33b4a49
Branch: yt-3.0
User: chummels
Date: 2014-07-03 00:20:31
Summary: Updating time_series_profiles recipe.
Affected #: 1 file
diff -r 57ecc4cbdf24f36a5d522c983612468861ffde35 -r f2a6f33b4a495fd192b8cd6de53dc0dcdde5de6b doc/source/cookbook/time_series_profiles.py
--- a/doc/source/cookbook/time_series_profiles.py
+++ b/doc/source/cookbook/time_series_profiles.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
# Create a time-series object.
https://bitbucket.org/yt_analysis/yt/commits/5310e98d53c5/
Changeset: 5310e98d53c5
Branch: yt-3.0
User: chummels
Date: 2014-07-03 00:37:40
Summary: Updating the simple_slice_with_multiple_fields recipe.
Affected #: 1 file
diff -r f2a6f33b4a495fd192b8cd6de53dc0dcdde5de6b -r 5310e98d53c5dcfe06f78635e7764a00263ea68d doc/source/cookbook/simple_slice_with_multiple_fields.py
--- a/doc/source/cookbook/simple_slice_with_multiple_fields.py
+++ b/doc/source/cookbook/simple_slice_with_multiple_fields.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
# Load the dataset
https://bitbucket.org/yt_analysis/yt/commits/cb0550e27615/
Changeset: cb0550e27615
Branch: yt-3.0
User: chummels
Date: 2014-07-03 00:47:50
Summary: Updating aligned_cutting_plane recipe.
Affected #: 1 file
diff -r 5310e98d53c5dcfe06f78635e7764a00263ea68d -r cb0550e2761563f2b9b8a88dea5bc8deca1a00b1 doc/source/cookbook/aligned_cutting_plane.py
--- a/doc/source/cookbook/aligned_cutting_plane.py
+++ b/doc/source/cookbook/aligned_cutting_plane.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
# Load the dataset.
https://bitbucket.org/yt_analysis/yt/commits/b9b814452769/
Changeset: b9b814452769
Branch: yt-3.0
User: chummels
Date: 2014-07-03 00:50:24
Summary: Updating simple_off_axis_projection recipe.
Affected #: 1 file
diff -r cb0550e2761563f2b9b8a88dea5bc8deca1a00b1 -r b9b814452769738c103f5efa85c2260f81141149 doc/source/cookbook/simple_off_axis_projection.py
--- a/doc/source/cookbook/simple_off_axis_projection.py
+++ b/doc/source/cookbook/simple_off_axis_projection.py
@@ -3,9 +3,7 @@
# Load the dataset.
ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
-# Create a 1 kpc radius sphere, centered on the max density. Note that this
-# sphere is very small compared to the size of our final plot, and it has a
-# non-axially aligned L vector.
+# Create a 15 kpc radius sphere, centered on the center of the sim volume
sp = ds.sphere("center", (15.0, "kpc"))
# Get the angular momentum vector for the sphere.
@@ -13,6 +11,7 @@
print "Angular momentum vector: {0}".format(L)
-# Create an OffAxisSlicePlot on the object with the L vector as its normal
+# Create an OffAxisProjectionPlot of density centered on the object with the L
+# vector as its normal and a width of 25 kpc on a side
p = yt.OffAxisProjectionPlot(ds, L, "density", sp.center, (25, "kpc"))
p.save()
https://bitbucket.org/yt_analysis/yt/commits/905b3eb3e8b3/
Changeset: 905b3eb3e8b3
Branch: yt-3.0
User: chummels
Date: 2014-07-03 00:51:26
Summary: Getting rid of outdated cutting plane reference.
Affected #: 2 files
diff -r b9b814452769738c103f5efa85c2260f81141149 -r 905b3eb3e8b32e0849b00fca277d44e9d8d93d73 doc/source/cookbook/aligned_cutting_plane.py
--- a/doc/source/cookbook/aligned_cutting_plane.py
+++ /dev/null
@@ -1,17 +0,0 @@
-import yt
-
-# Load the dataset.
-ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
-
-# Create a 15 kpc radius sphere, centered on the center of the sim volume
-sp = ds.sphere("center", (15.0, "kpc"))
-
-# Get the angular momentum vector for the sphere.
-L = sp.quantities.angular_momentum_vector()
-
-print "Angular momentum vector: {0}".format(L)
-
-# Create an OffAxisSlicePlot of density centered on the object with the L
-# vector as its normal and a width of 25 kpc on a side
-p = yt.OffAxisSlicePlot(ds, L, "density", sp.center, (25, "kpc"))
-p.save()
diff -r b9b814452769738c103f5efa85c2260f81141149 -r 905b3eb3e8b32e0849b00fca277d44e9d8d93d73 doc/source/cookbook/simple_off_axis_slice.py
--- /dev/null
+++ b/doc/source/cookbook/simple_off_axis_slice.py
@@ -0,0 +1,17 @@
+import yt
+
+# Load the dataset.
+ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
+
+# Create a 15 kpc radius sphere, centered on the center of the sim volume
+sp = ds.sphere("center", (15.0, "kpc"))
+
+# Get the angular momentum vector for the sphere.
+L = sp.quantities.angular_momentum_vector()
+
+print "Angular momentum vector: {0}".format(L)
+
+# Create an OffAxisSlicePlot of density centered on the object with the L
+# vector as its normal and a width of 25 kpc on a side
+p = yt.OffAxisSlicePlot(ds, L, "density", sp.center, (25, "kpc"))
+p.save()
https://bitbucket.org/yt_analysis/yt/commits/944584e5bbba/
Changeset: 944584e5bbba
Branch: yt-3.0
User: chummels
Date: 2014-07-03 00:54:10
Summary: Correcting the captions of the simple_plots page to make them accurate.
Affected #: 1 file
diff -r 905b3eb3e8b32e0849b00fca277d44e9d8d93d73 -r 944584e5bbbaaff2d7dda3f7d07239e2d77b4239 doc/source/cookbook/simple_plots.rst
--- a/doc/source/cookbook/simple_plots.rst
+++ b/doc/source/cookbook/simple_plots.rst
@@ -49,8 +49,7 @@
Simple Radial Profiles
~~~~~~~~~~~~~~~~~~~~~~
-This shows how to make a profile of a quantity with respect to the radius, in
-this case the radius in Mpc.
+This shows how to make a profile of a quantity with respect to the radius.
.. yt_cookbook:: simple_radial_profile.py
@@ -87,8 +86,8 @@
Off-Axis Slicing
~~~~~~~~~~~~~~~~
-A cutting plane allows you to slice at some angle that isn't aligned with the
-axes.
+One can create slices from any arbitrary angle, not just those aligned with
+the x,y,z axes.
.. yt_cookbook:: aligned_cutting_plane.py
@@ -97,7 +96,7 @@
Off-Axis Projection
~~~~~~~~~~~~~~~~~~~
-Like cutting planes, off-axis projections can be created from any arbitrary
+Like off-axis slices, off-axis projections can be created from any arbitrary
viewing angle.
.. yt_cookbook:: simple_off_axis_projection.py
https://bitbucket.org/yt_analysis/yt/commits/705cc23177d1/
Changeset: 705cc23177d1
Branch: yt-3.0
User: chummels
Date: 2014-07-03 00:59:37
Summary: Updating rad_velocity recipe.
Affected #: 1 file
diff -r 944584e5bbbaaff2d7dda3f7d07239e2d77b4239 -r 705cc23177d1d91ee7b10fba9b6dc01112b74eb6 doc/source/cookbook/rad_velocity.py
--- a/doc/source/cookbook/rad_velocity.py
+++ b/doc/source/cookbook/rad_velocity.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
import matplotlib.pyplot as plt
https://bitbucket.org/yt_analysis/yt/commits/491a785bbcf3/
Changeset: 491a785bbcf3
Branch: yt-3.0
User: chummels
Date: 2014-07-03 01:06:48
Summary: Updating radial_profile_styles recipe.
Affected #: 1 file
diff -r 705cc23177d1d91ee7b10fba9b6dc01112b74eb6 -r 491a785bbcf3956f6fd9dea6a5a498200934a850 doc/source/cookbook/radial_profile_styles.py
--- a/doc/source/cookbook/radial_profile_styles.py
+++ b/doc/source/cookbook/radial_profile_styles.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
import matplotlib.pyplot as plt
https://bitbucket.org/yt_analysis/yt/commits/53496a717280/
Changeset: 53496a717280
Branch: yt-3.0
User: chummels
Date: 2014-07-03 01:18:20
Summary: Updating camera_movement recipe.
Affected #: 1 file
diff -r 491a785bbcf3956f6fd9dea6a5a498200934a850 -r 53496a717280ffda1c68d353c644066490729e06 doc/source/cookbook/camera_movement.py
--- a/doc/source/cookbook/camera_movement.py
+++ b/doc/source/cookbook/camera_movement.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
import numpy as np
https://bitbucket.org/yt_analysis/yt/commits/de676298a396/
Changeset: de676298a396
Branch: yt-3.0
User: chummels
Date: 2014-07-03 01:22:01
Summary: Updating link.
Affected #: 1 file
diff -r 53496a717280ffda1c68d353c644066490729e06 -r de676298a396c5542f12451ad64520ddb50238ec doc/source/cookbook/simple_plots.rst
--- a/doc/source/cookbook/simple_plots.rst
+++ b/doc/source/cookbook/simple_plots.rst
@@ -89,7 +89,7 @@
One can create slices from any arbitrary angle, not just those aligned with
the x,y,z axes.
-.. yt_cookbook:: aligned_cutting_plane.py
+.. yt_cookbook:: simple_off_axis_slice.py
.. _cookbook-simple-off-axis-projection:
https://bitbucket.org/yt_analysis/yt/commits/b699b4b430a4/
Changeset: b699b4b430a4
Branch: yt-3.0
User: ngoldbaum
Date: 2014-07-03 19:38:48
Summary: Merged in chummels/yt/yt-3.0 (pull request #992)
Confirmed some cookbook fixes
Affected #: 9 files
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/aligned_cutting_plane.py
--- a/doc/source/cookbook/aligned_cutting_plane.py
+++ /dev/null
@@ -1,20 +0,0 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
-import yt
-
-# Load the dataset.
-ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
-
-# Create a 15 kpc radius sphere, centered on the center of the sim volume
-sp = ds.sphere("center", (15.0, "kpc"))
-
-# Get the angular momentum vector for the sphere.
-L = sp.quantities.angular_momentum_vector()
-
-print "Angular momentum vector: {0}".format(L)
-
-# Create an OffAxisSlicePlot of density centered on the object with the L
-# vector as its normal and a width of 25 kpc on a side
-p = yt.OffAxisSlicePlot(ds, L, "density", sp.center, (25, "kpc"))
-p.save()
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/camera_movement.py
--- a/doc/source/cookbook/camera_movement.py
+++ b/doc/source/cookbook/camera_movement.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
import numpy as np
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/rad_velocity.py
--- a/doc/source/cookbook/rad_velocity.py
+++ b/doc/source/cookbook/rad_velocity.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
import matplotlib.pyplot as plt
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/radial_profile_styles.py
--- a/doc/source/cookbook/radial_profile_styles.py
+++ b/doc/source/cookbook/radial_profile_styles.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
import matplotlib.pyplot as plt
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/simple_off_axis_projection.py
--- a/doc/source/cookbook/simple_off_axis_projection.py
+++ b/doc/source/cookbook/simple_off_axis_projection.py
@@ -3,9 +3,7 @@
# Load the dataset.
ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
-# Create a 1 kpc radius sphere, centered on the max density. Note that this
-# sphere is very small compared to the size of our final plot, and it has a
-# non-axially aligned L vector.
+# Create a 15 kpc radius sphere, centered on the center of the sim volume
sp = ds.sphere("center", (15.0, "kpc"))
# Get the angular momentum vector for the sphere.
@@ -13,6 +11,7 @@
print "Angular momentum vector: {0}".format(L)
-# Create an OffAxisSlicePlot on the object with the L vector as its normal
+# Create an OffAxisProjectionPlot of density centered on the object with the L
+# vector as its normal and a width of 25 kpc on a side
p = yt.OffAxisProjectionPlot(ds, L, "density", sp.center, (25, "kpc"))
p.save()
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/simple_off_axis_slice.py
--- /dev/null
+++ b/doc/source/cookbook/simple_off_axis_slice.py
@@ -0,0 +1,17 @@
+import yt
+
+# Load the dataset.
+ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
+
+# Create a 15 kpc radius sphere, centered on the center of the sim volume
+sp = ds.sphere("center", (15.0, "kpc"))
+
+# Get the angular momentum vector for the sphere.
+L = sp.quantities.angular_momentum_vector()
+
+print "Angular momentum vector: {0}".format(L)
+
+# Create an OffAxisSlicePlot of density centered on the object with the L
+# vector as its normal and a width of 25 kpc on a side
+p = yt.OffAxisSlicePlot(ds, L, "density", sp.center, (25, "kpc"))
+p.save()
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/simple_plots.rst
--- a/doc/source/cookbook/simple_plots.rst
+++ b/doc/source/cookbook/simple_plots.rst
@@ -49,8 +49,7 @@
Simple Radial Profiles
~~~~~~~~~~~~~~~~~~~~~~
-This shows how to make a profile of a quantity with respect to the radius, in
-this case the radius in Mpc.
+This shows how to make a profile of a quantity with respect to the radius.
.. yt_cookbook:: simple_radial_profile.py
@@ -87,17 +86,17 @@
Off-Axis Slicing
~~~~~~~~~~~~~~~~
-A cutting plane allows you to slice at some angle that isn't aligned with the
-axes.
+One can create slices from any arbitrary angle, not just those aligned with
+the x,y,z axes.
-.. yt_cookbook:: aligned_cutting_plane.py
+.. yt_cookbook:: simple_off_axis_slice.py
.. _cookbook-simple-off-axis-projection:
Off-Axis Projection
~~~~~~~~~~~~~~~~~~~
-Like cutting planes, off-axis projections can be created from any arbitrary
+Like off-axis slices, off-axis projections can be created from any arbitrary
viewing angle.
.. yt_cookbook:: simple_off_axis_projection.py
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/simple_slice_with_multiple_fields.py
--- a/doc/source/cookbook/simple_slice_with_multiple_fields.py
+++ b/doc/source/cookbook/simple_slice_with_multiple_fields.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
# Load the dataset
diff -r a5713a69df23a99d04e52a66344aadc7c40295a5 -r b699b4b430a41bacab986e82c472fa2efcac02a4 doc/source/cookbook/time_series_profiles.py
--- a/doc/source/cookbook/time_series_profiles.py
+++ b/doc/source/cookbook/time_series_profiles.py
@@ -1,6 +1,3 @@
-### THIS RECIPE IS CURRENTLY BROKEN IN YT-3.0
-### DO NOT TRUST THIS RECIPE UNTIL THIS LINE IS REMOVED
-
import yt
# Create a time-series object.
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