pingwyn.core.types.image.DataContainer
- class pingwyn.core.types.image.DataContainer(arr, metadata={})
Bases:
ndarrayA generic base container for pingwyn data.
This class extends numpy.ndarray, meaning that data can be accessed as if it were a numpy array. The metadata attribute houses additional information for the physical experiment that was performed.
The content and shape of a DataContainer is not defined, as it is to be used as a generic data holder.
- metadata
A dictionary containing relevant metadata, such the filename and the channel.
- Type:
dict
- __init__(*args: Any, **kwargs: Any) None
Methods
Attributes
metadata