PostProcessHandler

The PHANGS pipeline to handle post-processing of cubes. Works through a single big class (the PostProcessHandler). This needs to be attached to a keyHandler to access the target, product, and configuration keys.

phangsPipeline.PostProcessHandler.loop_postprocess(self, imaging_method: str = 'tclean', do_all: bool = False, do_prep: bool = False, do_feather: bool = False, do_mosaic: bool = False, do_cleanup: bool = False, do_summarize: bool = False, trim_coarse_beam_edge_channels: bool = False, feather_apod: bool = False, feather_noapod: bool = False, feather_before_mosaic: bool = False, make_directories: bool = True)

Loops over the full set of targets, products, and configurations to run the postprocessing. Toggle the parts of the loop using the do_XXX booleans. Other choices affect the algorithms used.

Parameters:
  • imaging_method (str, optional) – Imaging method used. Should be one of ‘tclean’, ‘sdintimaging’. Defaults to ‘tclean’.

  • do_all (bool, optional) – If True, run all steps. Defaults to False.

  • do_prep (bool, optional) – If True, run the preparation steps. Defaults to False.

  • do_feather (bool, optional) – If True, run the feathering steps. Defaults to False.

  • do_mosaic (bool, optional) – If True, run the mosaicking steps. Defaults to False.

  • do_cleanup (bool, optional) – If True, run the cleanup steps. Defaults to False.

  • do_summarize (bool, optional) – If True, run the summarization steps. Defaults to False.

  • trim_coarse_beam_edge_channels (bool, optional) – If True, will trim out edge channels in the cube with lower resolution beams. Defaults to False

  • feather_apod (bool, optional) – If True, will do feathering with apodization. Defaults to False.

  • feather_noapod (bool, optional) – If True, will do feathering without apodization. Defaults to False.

  • feather_before_mosaic (bool, optional) – If True, will feather each tile before mosaicking. Defaults to False.

  • make_directories (bool, optional) – If True, will make directories that don’t already exist. Defaults to True.