vreg.Volume3D.subtract#
- Volume3D.subtract(v, *args, **kwargs)[source]#
Subtract another volume
- Parameters:
v (Volume3D) – volume to subtract. If this is in a different geometry, it will be resliced first
args – arguments and keyword arguments of
numpy.subtract
.kwargs – arguments and keyword arguments of
numpy.subtract
.
- Returns:
sum of the two volumes
- Return type: