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())
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())
def __getinitargs__(self): return (self.table_x(), self.table_y(), self.table_sigmas(), sum(self))