def __eq__(self, other):
     if not isinstance(other, databean) or self.data != other.data:
         return False
     for k, v in self.axisData.iteritems():
         if not pyscisoft.equaldataset(v, other.axisData.get(k)):
             return False
     return True
Example #2
0
 def __eq__(self, other):
     if not isinstance(other, databean) or self.data != other.data:
         return False
     for k, v in self.axisData.iteritems():
         if not pyscisoft.equaldataset(v, other.axisData.get(k)):
             return False
     return True
 def __eq__(self, other):
     return (isinstance(other, datasetwithaxisinformation) 
             and self.axisMap == other.axisMap and pyscisoft.equaldataset(self.data, other.data))
Example #4
0
 def __eq__(self, other):
     return (isinstance(other, datasetwithaxisinformation)
             and self.axisMap == other.axisMap
             and pyscisoft.equaldataset(self.data, other.data))