dacapo.experiments.datasplits.datasets.arrays.crop_array_config
Classes
This config class provides the necessary configuration for cropping an |
Module Contents
- class dacapo.experiments.datasplits.datasets.arrays.crop_array_config.CropArrayConfig
This config class provides the necessary configuration for cropping an Array to a smaller ROI. Especially useful for validation volumes that may be too large for quick evaluation. The ROI is specified in the config. The cropped Array will have the same dtype as the source Array.
- source_array_config
The Array to crop
- Type:
- roi
The ROI for cropping
- Type:
Roi
- from_toml(cls, toml_path
str) -> CropArrayConfig: Load the CropArrayConfig from a TOML file
- to_toml(self, toml_path
str) -> None: Save the CropArrayConfig to a TOML file
Note
This class is a subclass of ArrayConfig and inherits all its attributes and methods. The only difference is that the array_type is CropArray.
- array_type
- source_array_config: dacapo.experiments.datasplits.datasets.arrays.array_config.ArrayConfig
- roi: funlib.geometry.Roi