[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Apr 7 05:57:14 PDT 2014
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/5ad6101f0050/
Changeset: 5ad6101f0050
Branch: yt-3.0
User: ngoldbaum
Date: 2014-04-06 03:25:49
Summary: Removing the redundant ParticleMass and ParticleMassMsun fields.
Affected #: 1 file
diff -r 918a6162882ffc2e6e16f8493e1d098119d9ed27 -r 5ad6101f005095585f1556919527e7c77969fffc yt/fields/particle_fields.py
--- a/yt/fields/particle_fields.py
+++ b/yt/fields/particle_fields.py
@@ -133,12 +133,6 @@
particle_type = True,
units = "")
- registry.alias((ptype, "ParticleMass"), (ptype, mass_name),
- units = "g")
-
- registry.alias((ptype, "ParticleMassMsun"), (ptype, mass_name),
- units = "Msun")
-
def particle_mesh_ids(field, data):
pos = data[ptype, coord_name]
ids = np.zeros(pos.shape[0], dtype="float64") - 1
https://bitbucket.org/yt_analysis/yt/commits/29ecd11edd7d/
Changeset: 29ecd11edd7d
Branch: yt-3.0
User: ngoldbaum
Date: 2014-04-06 03:32:18
Summary: Removing a reference to ParticleMassMsun in the particle callback docstrings.
Affected #: 1 file
diff -r 5ad6101f005095585f1556919527e7c77969fffc -r 29ecd11edd7de4c8cfb87c37eece8b1de3cd9376 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -1087,9 +1087,9 @@
*width* along the line of sight. *p_size* controls the number of
pixels per particle, and *col* governs the color. *ptype* will
restrict plotted particles to only those that are of a given type.
- *minimum_mass* will require that the particles be of a given mass,
- calculated via ParticleMassMsun, to be plotted. *alpha* determines
- each particle's opacity.
+ Particles with masses below *minimum_mass* will not be plotted.
+ *alpha* determines the opacity of the marker symbol used in the scatter
+ plot.
"""
_type_name = "particles"
region = None
https://bitbucket.org/yt_analysis/yt/commits/5e0ca94a1e4d/
Changeset: 5e0ca94a1e4d
Branch: yt-3.0
User: MatthewTurk
Date: 2014-04-07 14:57:02
Summary: Merged in ngoldbaum/yt/yt-3.0 (pull request #801)
Removing the redundant ParticleMass and ParticleMassMsun fields.
Affected #: 2 files
diff -r b701010572eab88beb722c9ba88e9cb75bae8d58 -r 5e0ca94a1e4d1e1c583b1599ff694ee761a8a747 yt/fields/particle_fields.py
--- a/yt/fields/particle_fields.py
+++ b/yt/fields/particle_fields.py
@@ -133,12 +133,6 @@
particle_type = True,
units = "")
- registry.alias((ptype, "ParticleMass"), (ptype, mass_name),
- units = "g")
-
- registry.alias((ptype, "ParticleMassMsun"), (ptype, mass_name),
- units = "Msun")
-
def particle_mesh_ids(field, data):
pos = data[ptype, coord_name]
ids = np.zeros(pos.shape[0], dtype="float64") - 1
diff -r b701010572eab88beb722c9ba88e9cb75bae8d58 -r 5e0ca94a1e4d1e1c583b1599ff694ee761a8a747 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -1087,9 +1087,9 @@
*width* along the line of sight. *p_size* controls the number of
pixels per particle, and *col* governs the color. *ptype* will
restrict plotted particles to only those that are of a given type.
- *minimum_mass* will require that the particles be of a given mass,
- calculated via ParticleMassMsun, to be plotted. *alpha* determines
- each particle's opacity.
+ Particles with masses below *minimum_mass* will not be plotted.
+ *alpha* determines the opacity of the marker symbol used in the scatter
+ plot.
"""
_type_name = "particles"
region = None
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