dacapo.experiments.arraytypes
Submodules
dacapo.experiments.arraytypes.annotationsdacapo.experiments.arraytypes.arraytypedacapo.experiments.arraytypes.binarydacapo.experiments.arraytypes.distancesdacapo.experiments.arraytypes.embeddingdacapo.experiments.arraytypes.intensitiesdacapo.experiments.arraytypes.maskdacapo.experiments.arraytypes.probabilities
Package Contents
Classes
An AnnotationArray is a uint8, uint16, uint32 or uint64 Array where each |
|
An IntensitiesArray is an Array of measured intensities. |
|
An array containing signed distances to the nearest boundary voxel for a particular label class. |
|
A class that inherits the ArrayType class. This is a representation of a Mask in the system. |
|
A generic output of a model that could represent almost anything. Assumed to be |
|
Class to represent an array containing probability distributions for each voxel pointed by its coordinate. |
- class dacapo.experiments.arraytypes.AnnotationArray
An AnnotationArray is a uint8, uint16, uint32 or uint64 Array where each voxel has a value associated with its class.
- property interpolatable
This is an abstract method which should be overridden in each of the subclasses to determine if an array is interpolatable or not.
- Returns:
True if the array is interpolatable, False otherwise.
- Return type:
bool
- classes: Dict[int, str]
- class dacapo.experiments.arraytypes.IntensitiesArray
An IntensitiesArray is an Array of measured intensities.
- property interpolatable: bool
This is an abstract method which should be overridden in each of the subclasses to determine if an array is interpolatable or not.
- Returns:
True if the array is interpolatable, False otherwise.
- Return type:
bool
- channels: Dict[int, str]
- min: float
- max: float
- class dacapo.experiments.arraytypes.DistanceArray
An array containing signed distances to the nearest boundary voxel for a particular label class. Distances should be positive outside an object and negative inside an object.
- property interpolatable: bool
This is an abstract method which should be overridden in each of the subclasses to determine if an array is interpolatable or not.
- Returns:
True if the array is interpolatable, False otherwise.
- Return type:
bool
- classes: Dict[int, str]
- class dacapo.experiments.arraytypes.Mask
A class that inherits the ArrayType class. This is a representation of a Mask in the system.
- interpolatable():
It is a method that returns False.
- property interpolatable: bool
Method to return False.
- Returns:
Returns a boolean value of False representing that the values are not interpolatable.
- Return type:
bool
- class dacapo.experiments.arraytypes.EmbeddingArray
A generic output of a model that could represent almost anything. Assumed to be float, interpolatable, and have sum number of channels.
- property interpolatable: bool
This is an abstract method which should be overridden in each of the subclasses to determine if an array is interpolatable or not.
- Returns:
True if the array is interpolatable, False otherwise.
- Return type:
bool
- embedding_dims: int
- class dacapo.experiments.arraytypes.ProbabilityArray
Class to represent an array containing probability distributions for each voxel pointed by its coordinate.
The class defines a ProbabilityArray object with each voxel having a vector of length c, where c is the number of classes. The l1 norm of this vector should always be 1. The class of each voxel can be determined by simply taking the argmax.
- classes
A mapping from channel to class on which distances were calculated.
- Type:
List[str]
- property interpolatable: bool
Checks if the array is interpolatable. Returns True for this class.
- Returns:
True indicating that the data can be interpolated.
- Return type:
bool
- classes: List[str]