Source code for pipeline.hifa.cli.hifa_exportdata

import pipeline.h.cli.utils as utils


# docstring and type hints: inherits from hifa.tasks.exportdata.almaexportdata.ALMAExportDataInputs.__init__
[docs] @utils.cli_wrapper def hifa_exportdata(vis=None, session=None, imaging_products_only=None, exportmses=None, tarms=None, pprfile=None, calintents=None, calimages=None, targetimages=None, products_dir=None): """Prepare interferometry data for export. The hifa_exportdata task for ALMA CASA pipeline exports the data defined in the pipeline context and exports it to the data products directory, converting and or packing it as necessary. The current version of the task exports the following products - an XML file containing the pipeline processing request - a tar file per ASDM / MS containing the final flags version - a text file per ASDM / MS containing the final calibration apply list - a FITS image for each selected calibrator source image - a FITS image for each selected science target source image - a tar file per session containing the caltables for that session - a tar file containing the file web log - a text file containing the final list of CASA commands - an XML "manifest" file listing the products - an XML "aquareport" file listing the QA scores and sub-scores, image sensitivities, and other numerical information Returns: The results object for the pipeline task is returned. Examples: 1. Export the pipeline results for a single session to the data products directory: >>> !mkdir ../products >>> hif_exportdata(products_dir='../products') 2. Export the pipeline results to the data products directory specify that only the gain calibrator images be saved: >>> !mkdir ../products >>> hif_exportdata(products_dir='../products', calintents='*PHASE*') """