API#
SpatialData#
The SpatialData
class.
|
The SpatialData object. |
Operations#
Operations on SpatialData
objects.
|
Perform a bounding box query on the SpatialData object. |
|
Query a spatial data object by a polygon, filtering shapes and points. |
|
Get the values from the element, from any location: df columns, obs or var columns (table). |
|
Filter the table and reorders the rows to match the instances (rows/labels) of the specified SpatialElement. |
|
Concatenate a list of spatial data objects. |
|
Rasterize a SpatialData object or a SpatialElement (image, labels, points, shapes). |
|
Transform a SpatialElement using this transformation and returns the transformed element. |
|
Aggregate values by given region. |
Utilities#
|
Remove padding from a raster type that was eventually added by the rotation component of a transformation. |
Models#
The elements (building-blocks) that consitute SpatialData
.
|
|
|
|
|
|
|
|
Utilities#
|
Get the model for the given element. |
alias of |
|
Get the dimensions of a SpatialElement. |
|
|
Get the spatial axes of interest. |
|
Convert a GeoDataFrame which represents 2D or 3D points to a Dask DataFrame that passes the schema validation. |
|
Convert a Dask DataFrame to a GeoDataFrame. |
Transformations#
The transformations that can be defined between elements and coordinate systems in SpatialData
.
Base class for all transformations. |
|
|
|
|
|
|
|
|
|
|
|
|
Utilities#
|
Get the transformation/s of an element. |
|
Set a transformation/s to an element, in-memory or to disk. |
|
Remove a transformation/s from an element, in-memory or from disk. |
Get the transformation to map a coordinate system (intrinsic or extrinsic) to another one. |
|
Get a similarity transformation between two lists of (n >= 3) landmarks. |
|
|
Maps a moving object into a reference object using two lists of (n >= 3) landmarks. |
DataLoader#
Input/output#
|
Read a SpatialData dataset from a zarr store (on-disk or remote). |
|
Save all the transformations of a SpatialData object to disk. |