Expose interpolation `kwargs` for `dask_image.ndinterp.affine_transform()`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 394
- Forks
- 95
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 7
Description
Opening this issue after a comment from @Felicie-Giraud-Sauveur at the scverse conference.
The interpolation options for rasterize() and transform(), respectively handled here
https://github.com/scverse/spatialdata/blob/3988452f433a565b0b64224d02d7e0562637f149/src/spatialdata/_core/operations/rasterize.py#L576 and here https://github.com/scverse/spatialdata/blob/3988452f433a565b0b64224d02d7e0562637f149/src/spatialdata/_core/operations/transform.py#L365 are not exposed to the user.
We should make this possible and explain this in the respective docstrings.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/spatialdata/_core/operations/rasterize.py around line 576 and transform.py around line 365, then inspect the related function docstrings and interpolation handling. Make the interpolation options available to users in both operations and document them in the respective docstrings; done means both entry points expose and explain the options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100