changeset 20:1e9525aba832

merge
author Xavier Glorot <glorotxa@iro.umontreal.ca>
date Thu, 28 Jan 2010 14:54:28 -0500
parents db10ee2a07fb (diff) 827de2cc34f8 (current diff)
children afdd41db8152
files
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/transformations/thick.py	Thu Jan 28 13:29:07 2010 -0600
+++ b/transformations/thick.py	Thu Jan 28 14:54:28 2010 -0500
@@ -38,10 +38,10 @@
         #------------------------------------------------
     
     def _get_current_parameters(self):
-        return [self.meth,self.nb]
+        return [self.thick_param]
     
     def get_settings_names(self):
-        return ['meth','nb']
+        return ['thick_param']
     
     def regenerate_parameters(self, complexity):
         self.erodenb = N.ceil(complexity * self.__erodemax__)
@@ -61,6 +61,7 @@
         else:
             self.meth = 0
             self.nb = -1
+        self.thick_param = self.meth*self.nb
         return self._get_current_parameters()
     
     def transform_1_image(self,image): #the real transformation method