Esempio n. 1
0
 def __str__(self):
     samplesstr = 'x'.join(["%s" % x for x in self.shape])
     samplesstr += '@%s' % self.samples.dtype
     cols = [str(col).replace(col.__class__.__name__, label)
                 for col, label in [(self.sa, 'sa'),
                                    (self.fa, 'fa'),
                                    (self.a, 'a')] if len(col)]
     # include only collections that have content
     return _str(self, samplesstr, *cols)
Esempio n. 2
0
 def __str__(self):
     samplesstr = 'x'.join(["%s" % x for x in self.shape])
     samplesstr += '@%s' % self.samples.dtype
     cols = [
         str(col).replace(col.__class__.__name__, label)
         for col, label in [(self.sa, 'sa'), (self.fa, 'fa'), (self.a, 'a')]
         if len(col)
     ]
     # include only collections that have content
     return _str(self, samplesstr, *cols)
Esempio n. 3
0
File: base.py Progetto: esc/PyMVPA
 def __str__(self):
     if __debug__ and 'CLF_' in debug.active:
         return "%s / %s" % (repr(self), super(Classifier, self).__str__())
     else:
         return _str(self)
Esempio n. 4
0
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]).replace('Mapper', ''))
Esempio n. 5
0
 def __str__(self):
     return _str(self, bl=self.boxlength)
Esempio n. 6
0
 def __str__(self):
     return _str(self, ','.join([str(k) for k in self.keys()]))
Esempio n. 7
0
File: fx.py Progetto: esc/PyMVPA
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
Esempio n. 8
0
 def __str__(self):
     mapperlist = "%s" % "-".join([str(m) for m in self])
     return _str(self,
                 mapperlist.replace('Mapper', ''))
Esempio n. 9
0
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
Esempio n. 10
0
 def __str__(self):
     return _str(self, ord=self.__polyord)
Esempio n. 11
0
 def __str__(self):
     return _str(self)
Esempio n. 12
0
 def __str__(self):
     # with slicearg it can quickly get very unreadable
     #return _str(self, str(self._slicearg))
     return _str(self)
Esempio n. 13
0
 def __str__(self):
     return _str(self, self._amount, n=self._attr, count=self.nruns,
                 apply_selection=self._apply_selection)
Esempio n. 14
0
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
Esempio n. 15
0
 def __str__(self):
     return _str(self, bl=self.boxlength)
Esempio n. 16
0
File: node.py Progetto: esc/PyMVPA
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]))
Esempio n. 17
0
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
Esempio n. 18
0
 def __str__(self):
     return _str(self, self._pattr, n=self.nruns, limit=self._limit,
                 assure=self._assure_permute)
Esempio n. 19
0
 def __str__(self):
     return _str(self, ','.join([str(k) for k in self.keys()]))
Esempio n. 20
0
 def __str__(self):
     return _str(self)
Esempio n. 21
0
File: base.py Progetto: esc/PyMVPA
 def __str__(self):
     return _str(self, ', '.join("%s=%s" % x for x in self._includes))
Esempio n. 22
0
 def __str__(self):
     return _str(self, str(self.clf))
Esempio n. 23
0
File: base.py Progetto: esc/PyMVPA
 def __str__(self):
     return _str(self, self.count)
Esempio n. 24
0
 def __str__(self):
     return _str(self, ord=self.__polyord)
Esempio n. 25
0
 def __str__(self):
     mapperlist = "%s" % "-".join([str(m) for m in self])
     return _str(self, mapperlist.replace('Mapper', ''))