Skip to content

TiltSolution.resample fixes - #320

Open
hpparvi wants to merge 1 commit into
astropy:mainfrom
hpparvi:v110_tilt_solution_resampling_fix
Open

TiltSolution.resample fixes#320
hpparvi wants to merge 1 commit into
astropy:mainfrom
hpparvi:v110_tilt_solution_resampling_fix

Conversation

@hpparvi

@hpparvi hpparvi commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

This PR improves the TiltSolution.resample method by propagating uncertainties (if available), propagating the image mask, and copying the NDData metadata to the resampled frame.

AI and LLM disclaimer: same as in #319.

…nd metadata. The uncertainty is now propagated through the resampling and returned in the same uncertainty class as the input, the mask flags every bin that received a contribution from a masked pixel, and the metadata is copied to the resampled NDData.
@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.60%. Comparing base (742264f) to head (15c8b36).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #320      +/-   ##
==========================================
+ Coverage   92.52%   92.60%   +0.07%     
==========================================
  Files          18       18              
  Lines        2341     2366      +25     
==========================================
+ Hits         2166     2191      +25     
  Misses        175      175              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant