Skip to content

feat: stalign api and landmark alignment - #1195

Open
selmanozleyen wants to merge 172 commits into
scverse:mainfrom
selmanozleyen:feat/experimental-fit-core
Open

feat: stalign api and landmark alignment#1195
selmanozleyen wants to merge 172 commits into
scverse:mainfrom
selmanozleyen:feat/experimental-fit-core

Conversation

@selmanozleyen

Copy link
Copy Markdown
Member

Continuation of #1162

selmanozleyen and others added 30 commits April 2, 2026 13:06
import numpy.typing as npt

from squidpy._utils import NDArrayA
from squidpy.experimental.methods.registry import ALIGN_LANDMARKS

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we using a registry here? It's unlikely this will get extended upon much and it introduces complexity

query: np.ndarray,
*,
method: str,
solve_fn: Callable[[np.ndarray, np.ndarray], np.ndarray],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be Callable[np.ndarray, np.ndarray]?

@selmanozleyen selmanozleyen changed the title feat: stalign with a fit apply pattern. feat: stalign api and landmark alignment Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants