vreg.concatenate#

vreg.concatenate(vols, prec=None)[source]#

Join a sequence of volumes along x-, y-, or z-axis.

Volumes can only be joined up if they have the same shape (except along the axis of concatenation), the same orientation and the same voxel size.

Parameters:
  • vols (sequence of volumes) – Volumes to concatenate.

  • prec (int, optional) – precision to consider when comparing positions and orientations of volumes. All differences are rounded off to this digit before comparing them to zero. If this is not specified, floating-point precision is used. Defaults to None.

Returns:

The concatenated volume.

Return type:

Volume3D