astropy / astropy/reproject

Reproject using biquadratic and bicubic interpolation returns Nans

Open
#464 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
127
Forks
74
Avg merge
1d 11h
Merged PRs (30d)
2

Description

I am working on reprojecting SIN images to an HPX projection. While using nearest-neighbor and bilinear interpolation generates images successfully, these methods aren't optimal for conserving flux. I prefer to use biquadratic or bicubic interpolation, but unfortunately, all output images turn out as NaNs when I apply these methods.

And there is no error message. There was similar issue before, but not sure if the issue was resolved.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the SIN-to-HPX reprojection described in the issue using biquadratic and bicubic interpolation, then compare it with nearest-neighbor and bilinear results. Inspect the interpolation path and existing handling for NaN outputs; done means the higher-order methods produce valid output images or report a clear error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.