Source code for pipeline.hsd.cli.hsd_imaging

import pipeline.h.cli.utils as utils


# docstring and type hints: inherits from hsd.tasks.imaging.imaging.SDImagingInputs.__init__
[docs] @utils.cli_wrapper def hsd_imaging(mode=None, restfreq=None, infiles=None, field=None, spw=None): """Generate single dish images. The hsd_imaging task generates single dish images per antenna as well as combined image over whole antennas for each field and spectral window. Image configuration (grid size, number of pixels, etc.) is automatically determined based on meta data such as antenna diameter, map extent, etc. Generated images are either in REST frame (ephemeris sources) or in LSRK frame (others). Returns: The results object for the pipeline task is returned. Examples: 1. Generate images with default settings and context >>> hsd_imaging() 2. Generate images with amplitude calibrator and specific parameters >>> hsd_imaging(mode='ampcal', field='*Sgr*,M100', spw='17,19') """