cosanlab / cosanlab/nltools

add interpolation option to append

Open
#354 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
130
Forks
48
Avg merge
6h 42m
Merged PRs (30d)
34

Description

@Marissa-Clark I think the best place to add the interpolation functionality we discussed is in the `append` or `concatenate` methods. We should have an option to interpolate voxel responses between the two images.

Look to to `stats.upsample` for an example using scipy interpolate methods.

`interpolate = interp1d(orig_spacing, data, kind=method)`

Contributor guide

Open the contributing guide

Research direction

Start by locating the append and concatenate methods, then read stats.upsample for its use of scipy interpolation and the interp1d example in the issue. Clarify how the interpolation option should affect voxel responses between images, including the supported method values and expected behavior, before identifying validation coverage. Done means append or concatenate can perform the requested interpolation without changing its existing behavior by default.

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.