scverse / scverse/spatialdata

Get elements in a coordinate sytem

Open
#679 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API method: transforms 🔃 question ❓
Dominant language
Python
Stars
394
Forks
95
Avg merge
4d 3h
Merged PRs (30d)
7

Description

Hi,
There maybe several coordinate systems in a spatialdata object, each has some elements. For example:

global: morphology_focus (Images), cell_labels (Labels), nucleus_labels (Labels), transcripts (Points), cell_boundaries (Shapes), cell_circles (Shapes), nucleus_boundaries (Shapes)

my_other_space: my_cell_lables, my_transcipts2, my_circles2

we can only get the names of coordinate systems by sdata.coordinate_systems, is there a way to get elements names of each coordinate_systems ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing sdata.coordinate_systems API and how spatialdata objects associate elements with coordinate systems. Define a way to retrieve the element names for each coordinate system, then verify that it works for the global and my_other_space examples described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.