diff --git a/surfa/core/framed.py b/surfa/core/framed.py index a0b4d98..40796b4 100644 --- a/surfa/core/framed.py +++ b/surfa/core/framed.py @@ -379,7 +379,7 @@ def percentile(self, percentiles, method='linear', nonzero=False): data = self.data if nonzero: data = data[data.nonzero()] - return np.percentile(data, percentiles, interpolation=method) + return np.percentile(data, percentiles, method=method) def clip(self, a_min, a_max): """