mDiff

montage_wrapper.commands.mDiff(in_image_1, in_image_2, out_image, template_header, debug_level=None, no_area=False, status_file=None)[source]

mDiff calculates a simple difference between a single pair of overlapping images. This is meant for use on reprojected images where the pixels already line up exactly. mDiff analyzes an image metadata table to determine a list of overlapping images. Each image is compared with every other image to determine all overlapping image pairs. A pair of images are deemed to overlap if any pixel around the perimeter of one image falls within the boundary of the other image.

Parameters :

in_image_1 : str

First input FITS file (Also needs area image in1_area_image, or use the no_area option)

in_image_2 : str

Second input FITS file.(Also needs area image in2_area_image, or use the no_area option)

out_image : str

Difference FITS image to be generated.

template_header : str

FITS header template used to generate output image.

debug_level : int, optional

Turns on debugging to the specified level (1-4).

no_area : bool, optional

No-area-images option. Creates difference image without requiring pixel area FITS image

status_file : str, optional

Output and errors are sent to status_file instead of to stdout

Page Contents