[yt-svn] commit/yt: ngoldbaum: Merged in jwise77/yt (pull request #2306)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 3 11:09:40 PDT 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/dd9b133f7742/
Changeset:   dd9b133f7742
Branch:      yt
User:        ngoldbaum
Date:        2016-08-03 18:09:09+00:00
Summary:     Merged in jwise77/yt (pull request #2306)

Adding new rockstar halo properties from rockstar-galaxies fork
Affected #:  1 file

diff -r 69a338edb13e0241936fec3c26a25982de325653 -r dd9b133f77428e809ffca42829f822ba1dd9bfe2 yt/frontends/rockstar/definitions.py
--- a/yt/frontends/rockstar/definitions.py
+++ b/yt/frontends/rockstar/definitions.py
@@ -38,7 +38,7 @@
 # Note the final field here, which is a field for min/max format revision in
 # which the field appears.
 
-KNOWN_REVISIONS=[0, 1]
+KNOWN_REVISIONS=[0, 1, 2]
 
 halo_dt = [
     ('particle_identifier', np.int64),
@@ -101,6 +101,12 @@
     ('min_pos_err', np.float32),
     ('min_vel_err', np.float32),
     ('min_bulkvel_err', np.float32),
+    ('type', np.int32, (2, 100)),
+    ('sm', np.float32, (2, 100)),
+    ('gas', np.float32, (2, 100)),
+    ('bh', np.float32, (2, 100)),
+    ('peak_density', np.float32, (2, 100)),
+    ('av_density', np.float32, (2, 100)),
 ]
 
 halo_dts = {}

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