dacapo.experiments.arraytypes.intensities
Classes
An IntensitiesArray is an Array of measured intensities. Each voxel has a value in the range [min, max]. |
Module Contents
- class dacapo.experiments.arraytypes.intensities.IntensitiesArray
An IntensitiesArray is an Array of measured intensities. Each voxel has a value in the range [min, max].
- channels
A mapping from channel to a name describing that channel.
- Type:
Dict[int, str]
- min
The minimum possible value of your intensities.
- Type:
float
- max
The maximum possible value of your intensities.
- Type:
float
- __attrs_post_init__(self)
This method is called after the instance has been initialized by the constructor.
- interpolatable(self) bool
It is a method that returns True.
Note
This class is used to create an IntensitiesArray object which is used to represent an array of measured intensities.
- channels: Dict[int, str]
- min: float
- max: float
- property interpolatable: bool
Method to return True.
- Returns:
- bool
Returns a boolean value of True representing that the values are interpolatable.
- Raises:
NotImplementedError – This method is not implemented in this class.
Examples
>>> intensities_array = IntensitiesArray(channels={1: "channel1"}, min=0, max=1) >>> intensities_array.interpolatable True
Note
This method is used to check if the array is interpolatable.