Skip to content

Use weight file from SD pipeline - #397

Merged
e-koch merged 2 commits into
masterfrom
sd-weighting
Oct 14, 2026
Merged

e-koch merged 2 commits 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.38095% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 7.95%. Comparing base (6670982) to head (14e7235).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #397      +/-   ##
=========================================
- Coverage    7.96%   7.95%   -0.01%     
=========================================
  Files          42      42              
  Lines       16615   16635      +20     
  Branches     3978    3983       +5     
=========================================
+ Hits         1323    1324       +1     
- Misses      15269   15288      +19     
  Partials       23      23              
Components Coverage Δ
casa 4.94% <14.28%> (+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?

@e-koch e-koch left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added couple comments regarding the naming/whether we can have an option to the do the square operation while linear mosaicking.

Comment thread phangsPipeline/casaSingleDishALMAWrapper.py
@e-koch
e-koch merged commit 761667b into master Oct 14, 2026
7 of 8 checks passed
@e-koch
e-koch deleted the sd-weighting branch October 14, 2026 21:34
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.

2 participants