licel.py

changeset 26
84f7d763deeb
parent 22
a2355e871b23
child 28
73337ce10473
equal deleted inserted replaced
25:563705a26f85 26:84f7d763deeb
208 raise ValueError('Channel info are different. Data can not be combined.') 208 raise ValueError('Channel info are different. Data can not be combined.')
209 209
210 self.data = np.vstack([self.data, other.data]) 210 self.data = np.vstack([self.data, other.data])
211 211
212 def __unicode__(self): 212 def __unicode__(self):
213 return "<Licel channel: %s>" % self.info['Wavelength'] 213 return "<Licel channel: %s>" % self.name
214 214
215 def __str__(self): 215 def __str__(self):
216 return unicode(self).encode('utf-8') 216 return unicode(self).encode('utf-8')
217 217
218 218

mercurial