spatialdata
spatialdata copied to clipboard
`RasterModel.parse()` should accept also `DataTree`.
The 4 subclasses of RasterModel.parse() 2D/3D images/labels, accept DataArray as arguments, but do not accept DataTree. For consistency we should add this option.
Until this is added, the recommended usage is to manually construct a DataTree and call .validate() on the appropriate model.