spacetelescope / drizzlepac

AstroDrizzle for HST images.
https://drizzlepac.readthedocs.io
BSD 3-Clause "New" or "Revised" License
50 stars 39 forks source link

MVM: Set parameters based on input files #729

Closed stscijgbot-hstdp closed 3 years ago

stscijgbot-hstdp commented 4 years ago

Issue HLA-389 was created on JIRA by Warren Hack:

MVM processing will involve creating output frames where some or many of the input images only minimally overlap if at all or where many, many frames overlap.  The parameters needed to produce the best possible combined sky cell mosaic depends critically on how many images overlap across the sky cell.  

The 'cell_utils' module provides the means to fairly easily generate the footprint of all the input exposures onto the sky cell pixels, including determining how many images contribute to each pixel in the sky cell.  Logic should be implemented to create this map and use statistics from this map like 'mean number of images/pixel' to determine what parameters to use for combining the images using 'AstroDrizzle'.  

 

Completion Criteria:

 

stscijgbot-hstdp commented 4 years ago

Comment by Warren Hack on JIRA:

The generate_footprint_mask() method of the HAPProduct class in haputils/product.py already computes the basic parameters necessary for the initial implementation of this functionality for MVM processing.