Pipeline Cookbook ================= The heuristics adopted in the pipeline appear to work well in the majority of cases, but there are invariably cases not adequately treated by the defaults and thus require custom processing. To aid in the processing of a FAUST target, the pipeline provides helper classes that abstract away the book-keeping aspects into individual tasks to be configured depending on the requirements of a particular field and SPW. Note that because the pipeline is computationally intensive, even imaging a single SPW can take a day or more when CASA is run using single threaded execution, and still a substantial amount of time when executed in parallel. Running the default pipeline ---------------------------- The :class:`faust_imaging.ImageConfig` class provides the primary interface to ``tclean`` within CASA and encapsulates properties specific to a field, SPW, array configuration, and desired ``tclean`` parameters. Please refer to the :doc:`API Documentation ` and the docstring for additional information on the calling convention of this class. To run all tasks of the pipeline with default parameters, first create an instance of the :class:`faust_imaging.ImageConfig` class and use the :meth:`faust_imaging.ImageConfig.run_pipeline` method. .. code-block:: python config = ImageConfig.from_name('CB68', '244.936GHz_CS', weighting=0.5) config.run_pipeline() The full list of SPW labels may be found in the `ALL_SPW_LABELS` variable. The above command will generate the default pipeline image products for the target field CB68, for the CS (5-4) line of Setup 2, using a Briggs robust factor of ``0.5``. The full calling convention is: .. code-block:: python ImageConfig.from_name( '', # field name, e.g., "CB68". See the global var `ALL_FIELDS` '