astropy / astropy/ccdproc

combine output questions: how to avoid trimming and how to normalize by # of overlapping frames

Open
#810 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
93
Forks
92
Avg merge
14h 44m
Merged PRs (30d)
30

Description

astropy: 5.2.2
ccdproc: 2.4.0
numpy: 1.24.3es

I'm combining a dozen dithers of a 2x2 mosaic of 2x2k NIR detectors. It seemed quickest to use ccdproc machinery because each detector image in the mosaic has updated WCS using astrometry.net Astrometry.net confirms that the detectors have a slight skew to each other and optical changes etc.

My questions:
1. Unfortunately, after searching this forum etc, I cannot find how to prevent ccdproc.combine from trimming the registered stack down to the coverage of the first image. Instead I want the output to encompass the entire footprint of the input stack. Possible?
2. I also see no way written up on how to scale the result at each pixel by the number of images that overlapped there. 'average' in combine doesn't seem to do this and I don't know the values a priori so can't use combine's weights.

Everything else in ccdproc is working fine for me, thank you for this package.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.