NRAO Home > CASA > CASA Toolkit Reference Manual
simulator.setmosaicfield - Function

2.4.1 Set observed mosaic fields


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





Inputs

sourcename

Name of source or field (must be specified).

allowed:

string

Default:

SOURCE

’unknown’

calcode

Calibration code

allowed:

string

Default:

fieldcenter

Coordinates of mosaic field center

allowed:

any

Default:

variant

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:

any

Default:

variant 1arcsec

distance

Distance to the object

allowed:

any

Default:

variant 0m

Returns
bool

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.setmosaicfield(sourcename=’SIMU1’, fieldcenter=dir0,  
                      xmosp=2, ymosp=2, mosspacing=’154.5arcsec’);  
    sm.settimes(integrationtime=’10s’);  
    sm.observe(’SIMU1_1’, ’XBAND’, starttime=’0s’, stoptime=’100s’);  
    sm.observe(’SIMU1_2’, ’XBAND’, starttime=’110s’, stoptime=’210s’);  
    sm.observe(’SIMU1_3’, ’XBAND’, starttime=’220s’, stoptime=’320s’);  
    sm.observe(’SIMU1_4’, ’XBAND’, starttime=’330s’, stoptime=’430s’);  
 
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright © 2016 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