parameters: (self: 'SampledFieldType', operator: Callable)
return_statement: return self.with_values(values).with_extrapolation(extrapolation_)
docstring: Perform an operation on the data of this field.
  
          Args:
            operator: function that accepts tensors and extrapolations and returns objects of the same type and dimensions
  
          Returns:
            Field of same type
docstring_summary: Perform an operation on the data of this field.
docstring_tokens: Perform an operation on the data of this field .
function: def _op1(self: 'SampledFieldType', operator: Callable) -> 'SampledFieldType':
          """
          Perform an operation on the data of this field.
  
          Args:
            operator: function that accepts tensors and extrapolations and returns objects of the same type and dimensions
  
          Returns:
            Field of same type
          """
          values = operator(self.values)
          extrapolation_ = operator(self._extrapolation)
          return self.with_values(values).with_extrapolation(extrapolation_)
function_tokens: def _op1 ( self : 'SampledFieldType' , operator : Callable ) -> 'SampledFieldType' : values = operator ( self . values ) extrapolation_ = operator ( self . _extrapolation ) return self . with_values ( values ) . with_extrapolation ( extrapolation_ )