scverse / spatialdata

An open and interoperable data framework for spatial omics data
https://spatialdata.scverse.org/
BSD 3-Clause "New" or "Revised" License
201 stars 35 forks source link

Coordinate transformations refactoring #308

Open LucaMarconato opened 1 year ago

LucaMarconato commented 5 months ago

The new coordinate transformations system is explained in this talk https://youtu.be/7HzMn_ooJmk?t=1391 from minute 23:11 to 31:45.

Pragmatically, it requires the following:

Data model

APIs

File format

Release

CC @melonora

LucaMarconato commented 4 months ago
LucaMarconato commented 4 months ago

I am not sure if deepcopy() for SpatialImages will preserve the xarray coordinates, my guess it's that it will reset the xyz coordiantes (the c are passed explicitly); multiscale spatial image currently doesn't call the parser so it should be fine.