dacapo.experiments.arraytypes.binary
Module Contents
Classes
A subclass of ArrayType representing BinaryArray. The BinaryArray object is created with two attributes; channels. |
- class dacapo.experiments.arraytypes.binary.BinaryArray
A subclass of ArrayType representing BinaryArray. The BinaryArray object is created with two attributes; channels. Each voxel in this array is either 1 or 0.
- channels
A dictionary attribute representing channel mapping with its binary classification.
- Type:
Dict[int, str]
- Parameters:
channels (Dict[int, str]) – A dictionary input where keys are channel numbers and values are their corresponding class for binary classification.
- interpolatable()
Returns False as binary array type is not interpolatable.
- property interpolatable: bool
This function returns the interpolatable property value of the binary array.
- Returns:
Always returns False because interpolation is not possible.
- Return type:
bool
- channels: Dict[int, str]