spatialdata.models.get_model#
- spatialdata.models.get_model(e)#
Get the model for the given element.
- Parameters:
e (
Union
[DataArray
,DataTree
,GeoDataFrame
,DataFrame
]) – The element.- Return type:
Union
[type
[Image2DModel
],type
[Image3DModel
],type
[Labels2DModel
],type
[Labels3DModel
],type
[PointsModel
],type
[ShapesModel
],type
[TableModel
]]- Returns:
: The SpatialData model.