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.setmosaicfield - Function Up: newsimulator - Tool Previous: newsimulator.setfeed - Function


newsimulator.setfield - Function



Package synthesis
Module newsimulator
Tool newsimulator


Set one or more observed fields


Synopsis
setfield(sourcename, sourcedirection, calcode, distance)


Description
Set one or more observed fields, including name, coordinates, calibration code. Can be invoked multiple times for a complex observation. 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'
sourcedirection Coordinates of source to be observed
Allowed: MDirection
calcode Calibration code
Allowed: String
Default: ''
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.setfield(sourcename='SIMU1', sourcedirection=dir0,
                integrations=1, xmospointings=1, ymospointings=1,
                mosspacing=1.0);
  mysim.observe('SIMU1', 'XBAND', integrationtime='10s', usehourangle=T,
                starttime='0s', stoptime='3600s', 
                referencetime=reftime);





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