Skip to content

Trim cube at start of postprocessing#290

Merged
e-koch merged 1 commit intomasterfrom
trim-postprocess-start
Feb 19, 2026
Merged

Trim cube at start of postprocessing#290
e-koch merged 1 commit intomasterfrom
trim-postprocess-start

Conversation

@thomaswilliamsastro
Copy link
Collaborator

@thomaswilliamsastro thomaswilliamsastro commented Feb 14, 2026

  • Trim cube at start of postprocessing, rather than at the end
  • Add rebin option to trim_cube (True by default)
  • Add more robust checks for Stokes axis and various positional axes in trim_cube
  • Overwrite should now actually work as intended in trim_cube

@thomaswilliamsastro thomaswilliamsastro marked this pull request as ready for review February 15, 2026 14:11
@thomaswilliamsastro
Copy link
Collaborator Author

Final cube looks a-OK on the edges, so ready for review!
image

- Trim cube at start of postprocessing, rather than at the end
- Add rebin option to trim_cube (True by default)
- Add more robust checks for Stokes axis and various positional axes in trim_cube
- Overwrite should now actually work as intended in trim_cube
Copy link
Collaborator

@e-koch e-koch left a comment

Choose a reason for hiding this comment

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

The changes all look good to me.

One question just to clarify: the trim is always after the pbcorr step?

@thomaswilliamsastro
Copy link
Collaborator Author

It's the first part of the postprocessing, as the image and pb get copied over from imaging to postprocess. There's another trim later where it'll also downsample the axes, same as previously

@e-koch e-koch merged commit 807c2c6 into master Feb 19, 2026
@e-koch e-koch deleted the trim-postprocess-start branch February 19, 2026 22:30
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

Comments