Skip to content

Use weight file from SD pipeline - #397

Open
thomaswilliamsastro wants to merge 1 commit into
masterfrom
sd-weighting
Open

thomaswilliamsastro wants to merge 1 commit into
masterfrom
sd-weighting

Conversation

@thomaswilliamsastro

@thomaswilliamsastro thomaswilliamsastro commented Sep 16, 2026 •

Copy link
Copy Markdown
Collaborator

This PR brings in the weight files that the SD pipeline produces, to improve linear mosaicking.

Left here is what we had previously, middle is using the weight image as is, right is using weight^2. It's a lot better, and I suspect the last part will be improved with improved baselining

Screenshot 2026-09-16 at 13 30 56
  • Edit the weight file in the SD pipeline to square what the pipeline spits out, so the weight works as expected
  • Pull in the SD weight file, if it exists
  • Stage SD weight file like the SD file
  • Don't generate weight file if SD weight file already exists
  • Add explanation for .weight file in docs
  • Updated CHANGELOG.md

@codecov

codecov Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 2.56410% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 7.96%. Comparing base (6670982) to head (d1d33f7).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #397      +/-   ##
=========================================
- Coverage    7.96%   7.96%   -0.01%     
=========================================
  Files          42      42              
  Lines       16615   16632      +17     
  Branches     3978    3983       +5     
=========================================
+ Hits         1323    1324       +1     
- Misses      15269   15285      +16     
  Partials       23      23              
Components Coverage Δ
casa 4.95% <25.00%> (+0.01%) ⬆️
handler 6.29% <0.00%> (-0.02%) ⬇️
spectral-cube 10.14% <ø> (ø)
utils 13.59% <ø> (ø)

Copilot stopped work on behalf of thomaswilliamsastro due to an error September 16, 2026 14:23
@thomaswilliamsastro
thomaswilliamsastro marked this pull request as ready for review September 17, 2026 15:02
@thomaswilliamsastro

Copy link
Copy Markdown
Collaborator Author

@low-sky ready for review!

@thomaswilliamsastro
thomaswilliamsastro force-pushed the sd-weighting branch 5 times, most recently from 0b7807d to 841c2fa Compare October 1, 2026 16:02
@thomaswilliamsastro
thomaswilliamsastro force-pushed the sd-weighting branch 2 times, most recently from c497d7e to 75ad42e Compare October 7, 2026 07:08
This PR brings in the weight files that the SD pipeline produces, to improve linear mosaicking.

- Edit the weight file in the SD pipeline to square what the pipeline spits out, so the weight works as expected
- Pull in the SD weight file, if it exists
- Stage SD weight file like the SD file
- Don't generate weight file if SD weight file already exists
- Add explanation for .weight file in docs
@thomaswilliamsastro

Copy link
Copy Markdown
Collaborator Author

@low-sky Added an explanation to the .weight file into the docs, following ADR yesterday. We good to merge?

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