[yt-svn] commit/yt: xarthisius: Revert default sigma_clip back to None

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Oct 14 14:45:50 PDT 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/debebbd57949/
Changeset:   debebbd57949
Branch:      yt
User:        xarthisius
Date:        2015-10-14 21:37:23+00:00
Summary:     Revert default sigma_clip back to None
Affected #:  1 file

diff -r f5b180206fa30adb2213221a3e09a96e99bb866e -r debebbd57949ab80164ef34d9d88f59990c26813 yt/visualization/volume_rendering/volume_rendering.py
--- a/yt/visualization/volume_rendering/volume_rendering.py
+++ b/yt/visualization/volume_rendering/volume_rendering.py
@@ -19,7 +19,7 @@
 from yt.funcs import mylog
 
 
-def volume_render(data_source, field=None, fname=None, sigma_clip=4.0):
+def volume_render(data_source, field=None, fname=None, sigma_clip=None):
     r""" Create a simple volume rendering of a data source.
 
     A helper function that creates a default camera view, transfer
@@ -44,7 +44,7 @@
     sigma_clip: float
         The resulting image will be clipped before saving, using a threshold
         based on `sigma_clip` multiplied by the standard deviation of the pixel
-        values. Recommended values are between 2 and 6. Default: 4.0
+        values. Recommended values are between 2 and 6. Default: None
 
     Returns
     -------

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