Image Resampling

A module that manages resampling of images onto a common output frame and also “inverse” blotting.

Author:Mihai Cara (for help, contact HST Help Desk)
License:LICENSE
class subpixal.resample.Resample(config=None, **kwargs)[source]

An abstract class providing interface for resampling and combining sets of images onto a rectified frame.

execute()[source]

Run resampling algorithm.

fast_add_image(add_file_name)[source]

Re-calculate resampled image using all input images and adding another image to the list of input images specified by the add_file_name parameter.

Parameters:
add_file_name : str

File name of the image to be added to the input image list when re-calculating the resampled image.

fast_drop_image(drop_file_name)[source]

Re-calculate resampled image using all input images other than the one specified by drop_file_name.

Parameters:
drop_file_name : str

File name of the image to be dropped from the list of input images when re-calculating the resampled image.

input_image_names

Get a list of input file names or None.

output_crclean

Get file names of the Cosmic Ray (CR) cleaned images (if any).

output_ctx

Get output file name for context data file or None.

output_sci

Get output file name for output science image or None.

output_wht

Get output file name for output weight image or None.

class subpixal.resample.Drizzle(config=None, **kwargs)[source]
execute()[source]

Run resampling algorithm.

fast_add_image(add_file_name)[source]

Re-calculate resampled image using all input images and adding another image to the list of input images specified by the add_file_name parameter.

Parameters:
add_file_name : str

File name of the image to be added to the input image list when re-calculating the resampled image.

fast_drop_image(drop_file_name)[source]

Re-calculate resampled image using all input images other than the one specified by drop_file_name.

Parameters:
drop_file_name : str

File name of the image to be dropped from the list of input images when re-calculating the resampled image.

fast_replace_image(drop_file_name, add_file_name)[source]

Re-calculate resampled image using all input images and adding another image to the list of input images specified by the add_file_name parameter.

Parameters:
add_file_name : str

File name of the image to be added to the input image list when re-calculating the resampled image.

set_config(config=None, **kwargs)[source]
taskname = 'astrodrizzle'