tomoscan.utils.volume.concatenate#
- tomoscan.utils.volume.concatenate(output_volume, volumes, axis)#
Function to do ‘raw’ concatenation on volumes.
This is agnostic of any metadata. So if you want to ensure about coherence of metadata (and data) you must do it yourself
data will be concatenate in the order volumes are provided. Volumes data must be 3D. Concatenate data will be 3D and concatenation will be done over the axis axis
concatenation will be done with a virtual dataset if input volumes and output_volume are HDF5Volume instances.
warning: concatenation enforce writing data and metadata to disk
- Parameters
VolumeBase (output_volume) – volume to create
volumes (tuple) – tuple of VolumeBase instances
axis (
int
) – axis to use for doing the concatenation. must be in 0, 1, 2
- Return type
None