Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: imagepol.pol - Function Up: imagepol - Tool Previous: imagepol.linpolposang - Function


imagepol.makecomplex - Function



Package general
Module images
Tool imagepol


Make a Complex image


Synopsis
makecomplex(complex, real, imag, amp, phase)


Arguments

complex in Output complex image file name
    Allowed: String
real in Input real image file name
    Allowed: String
    Default: Unset
imag in Input imaginary image file name
    Allowed: String
    Default: Unset
amp in Input amplitude image file name
    Allowed: String
    Default: Unset
phase in Input phase image file name
    Allowed: String
    Default: Unset


Returns
T or fail



Description

This function generates a Complex image file from either a real and imaginary, or an amplitude and phase pair of images. If you give a linear position angle image for the phase, it will be multipled by two before the real and imaginary parts are formed.



Example
- p := imagepol('iquv')
- p.complexlinpol('qu.cplx1')        
-
- q := p.stokesq()
- u := p.stokesu()
- q2 := q.subimage('q')
- u2 := u.subimage('u')
- p.makecomplex('qu.cplx2', real='q', image='u')
In this example we make two complex linear polarization images which should be identical.





next up previous contents index
Next: imagepol.pol - Function Up: imagepol - Tool Previous: imagepol.linpolposang - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01