[yt-svn] commit/yt: MatthewTurk: Not sure how this was removed.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Mar 24 18:50:47 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/0fd1398b1eb9/
Changeset: 0fd1398b1eb9
Branch: yt-3.0
User: MatthewTurk
Date: 2014-03-25 02:49:44
Summary: Not sure how this was removed.
Affected #: 1 file
diff -r 85ddb514c1861a6d7c8ee3836511f75ddfac8c85 -r 0fd1398b1eb96ea4321c3f8bf127d859c47aa0ed yt/analysis_modules/sunyaev_zeldovich/projection.py
--- a/yt/analysis_modules/sunyaev_zeldovich/projection.py
+++ b/yt/analysis_modules/sunyaev_zeldovich/projection.py
@@ -149,6 +149,8 @@
beta_par = generate_beta_par(L)
self.pf.field_info.add_field(("gas","beta_par"), function=beta_par, units="g/cm**3")
+ proj = self.pf.h.proj("density", axis, center=ctr, data_source=source)
+ proj.set_field_parameter("axis", axis)
frb = proj.to_frb(width, nx)
dens = frb["density"]
Te = frb["t_sz"]/dens
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