MosaicAuto

MosaicAuto plugin

Mosaic with option to highlight individual component.

Plugin Type: Local

MosaicAuto is a local plugin, which means it is associated with a channel. An instance can be opened for each channel.

Usage

Warning

This can be very memory intensive.

This plugin is used to automatically create a mosaic of all currently loaded images in the channel. The position of an image on the mosaic is determined by its WCS without distortion correction. This is meant as a quick-look tool, not an AstroDrizzle replacement. Currently, such a mosaic can only be created once per Ginga session.

Once the mosaic is successfully created, user can select the desired image name(s) to highlight associated footprint(s) on the mosaic. Alternately, user can also click directly on the displayed mosaic to highlight a footprint; Clicking on a highlighted footprint again will un-highlight it.

A shortlist of only the selected image names are displayed under the “Selected” tab. This list can be saved to a file by clicking “Save Selection” button. Optionally, the mosaic itself can be saved using SaveImage (Save File).

It is customizable using ~/.ginga/plugin_Mosaic.cfg, where ~ is your HOME directory:

#
# Mosaic plugin preferences file
#
# Place this in file under ~/.ginga with the name "plugin_Mosaic.cfg"

# default FOV for new mosaics
fov_deg = 0.0003

# Try to match backgrounds
match_bg = True

# Number of threads to devote to opening images
# NOTE: This depends on how many cores your machine has!
num_threads = 12

# When expanding an image, pad on a side by this many deg
expand_pad_deg = 0.0

# Maximum delta from center of image (in deg) beyond which new images
# are assumed to start a new mosaic. Set to None if you never want this
# behavior
max_center_deg_delta = None

# Allow mosaic images to create thumbnail entries
make_thumbs = True

# MosaicAuto only -- Control how footprints are highlighted.
# Line width must be a number from 1-20.
footprintscolor = 'red'
footprintlinewidth = 5