Пример #1
0
 def op_grad(self, save=True):
     """Cached operator for gradient runs"""
     return GradientOperator(self.model,
                             save=save,
                             geometry=self.geometry,
                             kernel=self.kernel,
                             space_order=self.space_order,
                             **self._kwargs)
Пример #2
0
 def op_grad(self):
     """Cached operator for gradient runs"""
     return GradientOperator(self.model,
                             save=False,
                             source=self.source,
                             receiver=self.receiver,
                             time_order=self.time_order,
                             space_order=self.space_order,
                             **self._kwargs)
Пример #3
0
 def op_grad(self, save=True):
     """Cached operator for gradient runs"""
     return GradientOperator(self.model,
                             save=save,
                             source=self.source,
                             receiver=self.receiver,
                             kernel=self.kernel,
                             space_order=self.space_order,
                             **self._kwargs)