DVector.concat_from_dir#
- classmethod DVector.concat_from_dir(folder, zoning=None, segmentation=None, axis=0)[source]#
Load all DVectors in a directory and concatenate them into a single DVector.
- Parameters:
folder (PathLike) – The dir containing DVectors to be concatenated.
zoning (ZoningSystem | None = None) – The zoning of the resulting DVector. If not provided this will be inferred from the first DVector read in, and subsequent DVectors will be translated to this zoning if they don’t match.
segmentation (Segmentation | None = None) – The Segmentation of the resulting DVector. If not provided this will be inferred from the first DVector read in, and subsequent DVectors will be aggregated to this segmentation if necessary and possible.
axis (int)
- Return type: