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


next up previous contents index
Next: newsimulator.setspwindow - Function Up: newsimulator - Tool Previous: newsimulator.setfield - Function


newsimulator.setmosaicfield - Function



Package synthesis
Module newsimulator
Tool newsimulator


Set observed mosaic fields


Synopsis
setmosaicfield(sourcename, calcode, fieldcenter, xmosp, ymosp, mosspacing, distance)


Description
Set mosaic fields by internally invoking setfield multiple times. Currently only handle a rectangular mosaicing pattern. Either setfield or setmosaicfield must be invoked at least once before observe. If the distance to the object is set then the phase term includes a curvature for the near-field effect at the center of the image.



Arguments

sourcename Name of source or field (must be specified).
Allowed: String
Default: 'unknown'
calcode Calibration code
Allowed: String
Default: ''
fieldcenter Coordinates of mosaic field center
Allowed: MDirection
xmosp Number of mosaic pointing in horizontal direction
Allowed: Int
Default: 1
ymosp Number of mosaic pointing in vertical direction
Allowed: Int
Default: 1
mosspacing Spacing between mosaic pointings
Allowed: Quantity
Default: '1arcsec'
distance Distance to the object
Allowed: String
Default: '0km'


Example
  mysim.setconfig(telescopename='VLA', x=xx, y=yy, z=zz, dishdiameter=diam,
                mount='alt-az', antname='VLA',
                coordsystem='local', referencelocation=dm.observatory('vla'));
                                                                                
  mysim.setspwindow(spwname='XBAND', freq='8GHz', deltafreq='50MHz',
                   freqresolution='50MHz', nchannels=1, stokes='RR
                   LL');
  dir0 := dm.direction('B1950',  '16h00m0.0', '50d0m0.000')
  mysim.setmosaicfield(sourcename='SIMU1', fieldcenter=dir0,
                       xmosp=2, ymosp=2, mosspacing='154.5arcsec');
  mysim.settimes(integrationtime='10s');
  mysim.observe('SIMU1_1', 'XBAND', starttime='0s', stoptime='100s');
  mysim.observe('SIMU1_2', 'XBAND', starttime='110s', stoptime='210s');
  mysim.observe('SIMU1_3', 'XBAND', starttime='220s', stoptime='320s');
  mysim.observe('SIMU1_4', 'XBAND', starttime='330s', stoptime='430s');

In this example, a 2x2 mosaic pattern is set centered around the direction specified (dir0). The setmosaicfield name each mosaic field with i sourcename+'_i', where i= 1..4.



next up previous contents index
Next: newsimulator.setspwindow - Function Up: newsimulator - Tool Previous: newsimulator.setfield - 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