Difference between revisions of "Imregrid"

From CASA Guides
Jump to navigationJump to search
(Created page with '== Help on imregrid task: == <pre> regrid an image onto a template image imregrid: regrid an image to a new coordinate system. The new coordinate system is defi…')
 
(Replaced content with "{{imregrid}}")
 
Line 1: Line 1:
== Help on imregrid task: ==
+
{{imregrid}}
<pre>
 
regrid an image onto a template image
 
 
 
        imregrid: regrid an image to a new coordinate system.
 
 
 
        The new coordinate system is defined by the template parameter,
 
        which can be:
 
          * a recognized reference code string (see below),
 
          * a {'csys': csys_record, 'shap': shape} dictionary,
 
          * 'get', which does not regrid but returns the template dictionary
 
            for imagename, suitable for modification and reuse, or
 
          * the name of an image to get the coordinate system and shape
 
            from.  The input and template images must have the same
 
            coordinate structure.
 
 
 
        Keyword arguments:
 
        imagename -- Name of the image that needs to be regridded
 
                default: none; example: imagename='orion.image'
 
        template -- Dictionary, reference code, or imagename defining the new
 
                shape and coordinate system, or 'get' to return the template
 
                dictionary for imagename.  Recognized reference codes are:
 
                'J2000', 'B1950', 'B1950_VLA', 'GALACTIC', 'HADEC', 'AZEL',
 
                'AZELSW', 'AZELNE', 'ECLIPTIC', 'MECLIPTIC', 'TECLIPTIC',
 
                and 'SUPERGAL'.
 
                default: 'get'; example: template='orion_j2000.im'
 
        output -- Name for the regridded image
 
                default: imagename + '.regridded'; example: imagename='orion_shifted.im'
 
        async -- Run task in a separate process (return CASA prompt)
 
                default: False; example: async=True
 
</pre>
 

Latest revision as of 19:31, 6 May 2015