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


next up previous contents index
Next: imagerpositiontest.set_imaging_tool_type - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.set_imaging_options - Function


imagerpositiontest.set_imaging_parms - Function



Package synthesis
Module synthesistester
Tool imagerpositiontest


Set the parameters to be used for imaging.


Synopsis
set_imaging_parms(nx, ny, cellx, celly, stokes, doshift, phasecenter, shiftx, shifty, mode, nchan, start, step, facets)


Description
Set the parameters to be used for imaging. These parameters are passed to (p)imager.setimage() by make_image(). For the most part, you don't have to call this function unless you want to explicitly set some parameters; the correct thing will be done otherwise.



Arguments

nx Number of pixels in the x direction.
Allowed: Integer > 0
Default: Unset. (determined by (p)imager.advise())
ny Number of pixels in the y direction.
Allowed: Integer > 0
Default: Unset. (determined by (p)imager.advise())
cellx Cell size in the x direction
Allowed: Qunatity (angle)
Default: Unset. (determined by (p)imager.advise())
celly Cell size in the y direction
Allowed: Qunatity (angle)
Default: Unset. (determined by (p)imager.advise())
stokes Stokes parameters to image
Allowed: String: 'I'|'IV'|'IQU'|'IQUV'
Default: Unset (will be set to 'I')
doshift Use the specified phase center?
Allowed: Boolean
Default: Unset (will be set according to if the test is for a single field or multiple fields
phasecenter Direction of phase center as a measure
Allowed: MDirection
Default: Unset (will be set if the the test is multi field)
shiftx Shift in x
Allowed: Quantity (angle)
Default: '0arcsec'
shifty Shift in y
Allowed: Quantity (angle)
Default: '0arcsec'
mode Type of processing
Allowed: String: 'mfs'|'channel'|'velocity'
Default: 'channel'
nchan Number of channels
Allowed: Integer > 0
Default: Unset (will use number of channels in the simulated data set)
start Starting channel
Allowed: 0 > Integer >= number of channels in data set
Default: 1
step Step in channels
Allowed: Integer > 0
Default: 1
facets Number of facets on each axis
Allowed: Integer > 0
Default: Unset (determined by (p)imager.advise())


Returns
T


Example
- include 'imagerpositiontest.g';
- ipt := imagerpositiontest();
# set up a single field mem test and shift the phase center
- ipt.set_deconvolution_function('mem');
- ipt.set_sim_parms(nfields=1);
- ipt.set_mem_parms(algorithm='entropy',niter=25,sigma='0.1Jy');
- ipt.set_imaging_parms(shiftx='20arcsec',shifty='-10arcsec');
T
- ipt.dotests();





next up previous contents index
Next: imagerpositiontest.set_imaging_tool_type - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.set_imaging_options - 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-10-15