complexToImaginary

Return to directory of Todd's CASA extensions

Uses immath to convert a complex image (or a list of images) into its imaginary component. Useful for ALMA holography and TICRA model images. See also complexToAmplitude, complexToReal, and complexToSquare.

Usage:

au.complexToImaginary(filelist, regrid=False, outdir='', normalize=False)
  • regrid: if True, then rewrite the header with Direction coordinates using convertImageToDirectionType (to allow imfit)
  • outdir: the output directory in which to write the new image
  • normalize: if True, then call au.normalizeImage after converting

Examples:

au.complexToImaginary('uid*complex')
au.complexToImaginary(['uid1', 'uid2'])

-- ToddHunter - 2014-02-26

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > ComplexToImaginary
Topic revision: 2014-03-25, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback