def _evaluate_scalar_product(self, fast_transform=True): if fast_transform is False: SpectralBase._evaluate_scalar_product(self) return output = self.scalar_product.xfftn() output *= self.get_normalization()
def _evaluate_scalar_product(self, fast_transform=True): SpectralBase._evaluate_scalar_product(self) self.scalar_product.output_array[self.sl[slice(-6, None)]] = 0