import sys
from casatasks import casalog
import pipeline.h.cli.utils as utils
[docs]def hif_makeimages(vis=None, target_list=None, hm_masking=None,
                   hm_sidelobethreshold=None, hm_noisethreshold=None, hm_lownoisethreshold=None,
                   hm_negativethreshold=None, hm_minbeamfrac=None, hm_growiterations=None,
                   hm_dogrowprune=None, hm_minpercentchange=None, hm_fastnoise=None, hm_nsigma=None,
                   hm_perchanweightdensity=None, hm_npixels=None, hm_cyclefactor=None, hm_minpsffraction=None,
                   hm_maxpsffraction=None, hm_cleaning=None, tlimit=None, masklimit=None, cleancontranges=None,
                   calcsb=None, mosweight=None, overwrite_on_export=None, parallel=None, pipelinemode=None,
                   dryrun=None, acceptresults=None):
    ##########################################################################
    #                                                                        #
    #  CASA task interface boilerplate code starts here. No edits should be  #
    #  needed beyond this point.                                             #
    #                                                                        #
    ##########################################################################
    # create a dictionary containing all the arguments given in the
    # constructor
    all_inputs = vars()
    # get the name of this function for the weblog, eg. 'hif_flagdata'
    task_name = sys._getframe().f_code.co_name
    # get the context on which this task operates
    context = utils.get_context()
    # execute the task
    results = utils.execute_task(context, task_name, all_inputs)
    return results