Imaging key
The imaging pipeline builds clean_call objects that repeatedly
call tclean to build a deconvolved interferometric image. This
imaging recipes key links combinations of configuration (“line”),
spectral “product”, and imaging step (see below) to “imaging
recipes.”
The imaging_key defines sets of tclean parameters similar to
those written out by save_input in CASA. They are read in to the
pipeline and then passed along to tclean. So these offer a way to
tune the imaging behavior.
Note that some pipeline imaging calls automatically overwrite some
parameters, like niter, scales, or (when using dynamic sizing)
cellsize and imsize. The parameters provided here serve as a base
but will get clobbered.
Note
Order is very important here!
The recipes are read in as lists, which are applied in the order that they are read in. So a parameter in later recipe will override the same parameter in the earlier recipe.
This file should be space or tab delimited. Each entry should have 4 columns, as described below.
Column 1: Array configuration (e.g.
12m,7m+tp, etc).allis OK, and will apply to all configurations.Column 2: Spectral configuration (e.g.
co21,hi21cm, etc).all_lineis OK, and will apply to all spectral configurations.all_contis OK, and will apply to all continuum configurations.Column 3: Imaging stage to apply this recipe to. Valid stages are
all,dirty,multiscale, andsinglescale.Column 4: The name of the clean parameter file to be read in. Should be in
key_dir.
Example imaging key file
##########################################################################
# IMAGING RECIPES KEY
##########################################################################
# The imaging pipeline builds "clean_call" objects that repeatedly
# call tclean to build a deconvolved interferometric image. This
# imaging recipes key links combinations of configuration ("line"),
# spectral "product", and imaging step (see below) to "imaging
# recipes."
# These recipes are sets of tclean parameters similar to those written
# out by save_input in CASA. They are read in to the pipeline and then
# passed along to tclean. So these offer a way to tune the imaging
# behavior.
# Note that some pipeline imaging calls automatically overwrite some
# parameters, like niter, scales, or (when using dynamic sizing) cell
# and imsize. The parameters provided here serve as a base but will
# get clobbered.
# ALSO NOTE THAT ORDER IS VERY IMPORTANT HERE!
# The recipes are read in as lists, which are applied ***in the order
# that they are read in***. So a parameter in later recipe will
# override the same parameter in the earlier recipe.
# The columns in the file are:
# Column 1: Configuration ("all" is okay)
# Column 2: Product ("all_line", "all_cont" are okay)
# Column 3: What stage of the imaging process does this apply to? (all/dirty/multiscale/singlescale)
# Column 4: Name of the clean parameter file.
# Column 1: Configuration can be "all" or any valid interf_config defined in
# config_key.txt.
# Column 2: Product. Similarly, product can be any line or continuum
# product defined in config_key.txt.
# Column 3: Stage. This is the stage of the imaging process. For the
# basic phangsalma recipe, the valid values are
# "all","dirty","multiscale","singlescale"
# Column 4: The name of the clean parameter file to be read in. Should
# be in this keys directory.
##########################################################################
all co21 all cube_mosaic.clean
12m+7m co21 all cube_mosaic.clean
12m co21 all cube_mosaic.clean
7m co21 all cube_mosaic.clean
all co21 singlescale cube_mosaic.clean
all c18o21 all cube_mosaic.clean
all 13co21 all cube_mosaic.clean
all cont all continuum_mosaic.clean