|
|
|||
| NRAO Home > CASA > CASA Toolkit Reference Manual |
|
||
simulator.setconfig - Function
2.6.1 Set the antenna configuration
Description
Set the positions of the antennas. Note that the name of the telescope will
control which voltage pattern is applied to the data.
Arguments
| Inputs |
| ||
| telescopename |
| Name of the telescope we are simulating (determines
VP)
| |
| allowed: | string |
|
| Default: | VLA ’VLA’ |
|
| x |
| Vector of x values of all antennas [currently m]
| |
| allowed: | doubleArray |
|
| Default: | 0 [] |
|
| y |
| Vector of y values of all antennas [currently m]
| |
| allowed: | doubleArray |
|
| Default: | 0 [] |
|
| z |
| Vector of z values of all antennas [currently m]
| |
| allowed: | doubleArray |
|
| Default: | 0 [] |
|
| dishdiameter |
| Vector of diameters of all antennas [currently m]
| |
| allowed: | doubleArray |
|
| Default: | 0 [] |
|
| offset |
| Vector of offset of all antennas [currently m]
| |
| allowed: | doubleArray |
|
| Default: | 0 [] |
|
| mount |
| Vector of mount
types of all antennas (recognized mounts are ’ALT-AZ’,
’EQUATORIAL’, ’X-Y’, ’ORBITING’, ’BIZARRE’
| |
| allowed: | stringArray |
|
| Default: | ALT-AZ [] |
|
| antname |
| Vector of names of all antennas
| |
| allowed: | stringArray |
|
| Default: | A [] |
|
| padname |
| Vector of names of pads or stations
| |
| allowed: | stringArray |
|
| Default: | P [] |
|
| coordsystem |
| Coordinate system of antenna positions [x,y,z],
possibilities are ’global’, ’local’ , ’longlat’
| |
| allowed: | string |
|
| Default: | global ’global’ |
|
| referencelocation |
| Reference location [required for local coords] Position
Measure of Coordinates of array location. E.g
me.position(’ITRF’, ’30.5deg’, -20.2deg’, 6000km’) or
me.observatory(’ALMA’)
| |
| allowed: | any |
|
| Default: | variant ALMA position measure |
|
bool
Example
diam := [25, 25, 25, 25, 25]
xx := [50, 100, 150, 200, 250]
yy := [2, -5, -20, -50, -100]
zz := [-0.5, -1.0, -1.5, -2.0, -2.5]
posvla := dm.observatory(’vla’);
sm.setconfig(telescopename=’VLA’, x=xx, y=yy, z=zz, dishdiameter=diam,
mount=’alt-az’, antname=’VLA’,
coordsystem=’local’, referencelocation=posvla);
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2010 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