[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Sep 29 09:19:19 PDT 2014
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/896d663186f6/
Changeset: 896d663186f6
Branch: yt
User: xarthisius
Date: 2014-09-23 15:11:03+00:00
Summary: [fits_image] update FITSProjection class that was missed during refactorization of 'get_saniteze_center'
Affected #: 1 file
diff -r ea3ba359275aadaa72aeb5543bef652a6e364b16 -r 896d663186f6e8daf68f3bbf8eca6d3e4ca17edb yt/utilities/fits_image.py
--- a/yt/utilities/fits_image.py
+++ b/yt/utilities/fits_image.py
@@ -341,7 +341,7 @@
def __init__(self, ds, axis, fields, center="c", weight_field=None, **kwargs):
fields = ensure_list(fields)
axis = fix_axis(axis, ds)
- center = get_sanitized_center(center, ds)
+ center = ds.coordinates.sanitize_center(center, axis)
prj = ds.proj(fields[0], axis, weight_field=weight_field, **kwargs)
w, frb = construct_image(prj, center=center)
super(FITSProjection, self).__init__(frb, fields=fields, wcs=w)
https://bitbucket.org/yt_analysis/yt/commits/64c466c241dc/
Changeset: 64c466c241dc
Branch: yt
User: MatthewTurk
Date: 2014-09-29 16:19:11+00:00
Summary: Merged in xarthisius/yt (pull request #1221)
[bugfix] FITSProjection class was missed during refactorization of 'get_sanitize_center'
Affected #: 1 file
diff -r 0ec4771f624fd3b39661861f3f57ae065e36c938 -r 64c466c241dccbffa835bfe3c8ee042996a03273 yt/utilities/fits_image.py
--- a/yt/utilities/fits_image.py
+++ b/yt/utilities/fits_image.py
@@ -341,7 +341,7 @@
def __init__(self, ds, axis, fields, center="c", weight_field=None, **kwargs):
fields = ensure_list(fields)
axis = fix_axis(axis, ds)
- center = get_sanitized_center(center, ds)
+ center = ds.coordinates.sanitize_center(center, axis)
prj = ds.proj(fields[0], axis, weight_field=weight_field, **kwargs)
w, frb = construct_image(prj, center=center)
super(FITSProjection, self).__init__(frb, fields=fields, wcs=w)
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