예제 #1
0
 def sort(self):
     perm = flex.sort_permutation(data=flex.abs(
         flex.double(self.array_of_a())),
                                  reverse=True)
     return sum(flex.select(self.array_of_a(), perm),
                flex.select(self.array_of_b(), perm), self.c(),
                self.use_c())
예제 #2
0
 def sort(self):
   perm = flex.sort_permutation(
     data=flex.abs(flex.double(self.array_of_a())),
     reverse=True)
   return sum(
     flex.select(self.array_of_a(), perm),
     flex.select(self.array_of_b(), perm),
     self.c(),
     self.use_c())
예제 #3
0
 def __getinitargs__(self):
   return (self.table_x(), self.table_y(), self.table_sigmas(), sum(self))
예제 #4
0
 def __getinitargs__(self):
   return (self.table_x(), self.table_y(), self.table_sigmas(), sum(self))