vreg.Volume3D.add#

Volume3D.add(v, *args, **kwargs)[source]#

Add another volume

Parameters:
  • v (Volume3D) – volume to add. If this is in a different geometry, it will be resliced first

  • args – arguments and keyword arguments of numpy.add.

  • kwargs – arguments and keyword arguments of numpy.add.

Returns:

sum of the two volumes

Return type:

Volume3D