diff --git a/modules/base/pymod/table.py b/modules/base/pymod/table.py index c156af92fd1d0b71eae164a9e627f13d6faaebc1..d2c1e7b0038c09135e64306d5c1d9c6d5207afcd 100644 --- a/modules/base/pymod/table.py +++ b/modules/base/pymod/table.py @@ -1712,7 +1712,7 @@ class Table(object): - def GaussianSmooth(self, col, std=1.0, na_value=0.0, padding='reflect', cval=0.0): + def GaussianSmooth(self, col, std=1.0, na_value=0.0, padding='reflect', c=0.0): ''' In place gaussian smooth of a column in the table with a given standard deviation. @@ -1730,8 +1730,8 @@ class Table(object): :param padding: allows to handle padding behaviour see scipy ndimage.gaussian_filter1d documentation for more information. standard is reflect :type padding: :class:`str` - :param cval: constant value used for padding if padding mode is constant - :type cval: `scalar` + :param c: constant value used for padding if padding mode is constant + :type c: `scalar` @@ -1758,7 +1758,7 @@ class Table(object): vals.append(na_value) - smoothed_values_ndarray=ndimage.gaussian_filter1d(vals,std, mode=padding, cval=cval) + smoothed_values_ndarray=ndimage.gaussian_filter1d(vals,std, mode=padding, cval=c) result=[]