2.4.1 Set one or more observed fields
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
| Inputs |
| ||
| sourcename |
| Name of source or field (must be specified)
| |
| allowed: | string |
|
| Default: | SOURCE ’unknown’ |
|
| sourcedirection |
| Direction Measure of Coordinates of source to be
observed. E.g me.direction(’J2000’, ’30.5deg’,’-20.2deg’).
| |
| allowed: | any |
|
| Default: | variant |
|
| calcode |
| Calibration code
| |
| allowed: | string |
|
| Default: | ” |
|
| distance |
| Distance to the object
| |
| allowed: | any |
|
| Default: | variant 0m |
|
Example
sm.setconfig(telescopename=’VLA’, x=xx, y=yy, z=zz, dishdiameter=diam,
mount=’alt-az’, antname=’VLA’, coordsystem=’local’, referencelocation=dm.observatory(’vla’)); sm.setspwindow(spwname=’XBAND’, freq=’8GHz’, deltafreq=’50MHz’, freqresolution=’50MHz’, nchannels=1, stokes=’RR LL’); dir0 = me.direction(’B1950’, ’16h00m0.0’, ’50d0m0.000’) sm.setfield(sourcename=’SIMU1’, sourcedirection=dir0); sm.observe(’SIMU1’, ’XBAND’, integrationtime=’10s’, usehourangle=T, starttime=’0s’, stoptime=’3600s’, referencetime=reftime); |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.