cortex.dataset.Volume.copy¶
- Volume.copy(data: NDArray) Self¶
Create a new instance of this Dataview’s class, reusing its display settings (cmap, vmin, vmax, description, state, attrs).
- Parameters:
- *args
Positional arguments passed to the subclass constructor (e.g. new red/green/blue data for a VolumeRGB).
- **kwargs
Additional keyword arguments; merged with this Dataview’s own attrs. Existing attrs take precedence, so only new keys are added. Dataview’s own attrs.
- Returns:
- Dataview
A new instance of self.__class__.