save_cached_voxel_field
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- save_cached_voxel_field(cache_dir: str | Path, cache_key: str, field: VoxelFeatureField) Path[source]
Write
fieldunder the cache key (atomic replace).- Parameters:
cache_dir – Directory that holds cached fields.
cache_key – Digest from
voxel_radiomics_cache_key().field – Extracted field to store.
- Returns:
Path of the written archive.