Skip to content

feat: stalign with a fit apply pattern. #1195

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

feat: stalign with a fit apply pattern. #1195
selmanozleyen wants to merge 150 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
@selmanozleyen selmanozleyen changed the title feat: stalign with a fit apply pattern. Also foundation for imputation feat: stalign with a fit apply pattern. Jun 20, 2026
@selmanozleyen selmanozleyen self-assigned this Jun 20, 2026
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]?

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