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
-
class
subpixal.resample.
Resample
(config=None, **kwargs)[source]¶ An abstract class providing interface for resampling and combining sets of images onto a rectified frame.
-
property
computed_sky
¶
-
abstract
fast_add_image
(self, 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_namestr
File name of the image to be added to the input image list when re-calculating the resampled image.
-
abstract
fast_drop_image
(self, drop_file_name)[source]¶ Re-calculate resampled image using all input images other than the one specified by
drop_file_name
.- Parameters
- drop_file_namestr
File name of the image to be dropped from the list of input images when re-calculating the resampled image.
-
property
output_crclean
¶ Get file names of the Cosmic Ray (CR) cleaned images (if any).
-
property
-
class
subpixal.resample.
Drizzle
(config=None, **kwargs)[source]¶ -
-
fast_add_image
(self, 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_namestr
File name of the image to be added to the input image list when re-calculating the resampled image.
-
fast_drop_image
(self, drop_file_name)[source]¶ Re-calculate resampled image using all input images other than the one specified by
drop_file_name
.- Parameters
- drop_file_namestr
File name of the image to be dropped from the list of input images when re-calculating the resampled image.
-
fast_replace_image
(self, 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_namestr
File name of the image to be added to the input image list when re-calculating the resampled image.
-
property
reference_image
¶ Get/Set Reference image. When
reference_image
isNone
, output WCS and grid are computed automatically.
-
taskname
= 'astrodrizzle'¶
-