mAddExec

montage_wrapper.commands.mAddExec(images_table, template_header, tile_dir, out_image, img_dir=None, no_area=False, type=None, exact=False, debug_level=None, status_file=None, mpi=False, n_proc=8)[source]

Builds a series of outputs (which together make up a tiled output) through multiple executions of the mAdd modules.

Parameters :

images_table : str

ASCII table (generated by mImgtbl) containing metadata for all images to be coadded.

template_header : str

FITS header template to be used in generation of output FITS

tile_dir : str

Directory to contain output tile images and header templates

out_image : str

Prefix for output tile images

img_dir : str, optional

Specifies path to directory containing reprojected images. If the img_dir option is not included, mAdd will look for the input images in the current working directory.

no_area : bool, optional

Co-addition ignores weighting by pixel areas and performs coaddition based only on pixel postions. Will not output an area image for the output image.

type : str, optional

Select type of averaging to be done on accumulated pixel values (either mean or median).

exact : bool, optional

Enables exact size mode. The output image will match the header template exactly, instead of shrinking the output to fit the data.

debug_level : int, optional

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

status_file : str, optional

mAdd output and errors will be written to status_file instead of stdout.

mpi : bool, optional

If set to True, will use the MPI-enabled versions of the Montage executable.

n_proc : int, optional

If mpi is set to True, n_proc is the number of processes to run simultaneously (default is 8)

Page Contents