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


next up previous contents index
Next: simulator.setfeed - Function Up: simulator - Tool Previous: simulator.add - Function


simulator.setconfig - Function



Package synthesis
Module simulator
Tool simulator


Set the antenna configuration


Synopsis
setconfig(telescopename, x, y, z, dishdiameter, mount, antname, coordsystem, referencelocation)


Description
Set the positions of the antennas. Note that the name of the telescope will control which voltage pattern is applied to the data. Must be invoked before create.



Arguments

telescopename Name of the telescope we are simulating (determines VP)
Allowed: String
Default: 'VLA'
x Vector of x values of all antennas [currently m]
Allowed: Vector
Default: []
y Vector of y values of all antennas [currently m]
Allowed: Vector
Default: []
z Vector of z values of all antennas [currently m]
Allowed: Vector
Default: []
dishdiameter Vector of diameters of all antennas [currently m]
Allowed: Vector
Default: []
mount Vector of mount types of all antennas (recognized mounts are 'ALT-AZ', 'EQUATORIAL', 'X-Y', 'ORBITING', 'BIZARRE'
Allowed: Vector of strings
Default: []
antname Vector of names of all antennas
Allowed: Vector of strings
Default: []
coordsystem Coordinate system of antenna positions [x,y,z]
Allowed: String: 'global' | 'local' | 'longlat'
Default: 'global'
referencelocation Reference location [required for local coords]
Allowed: MPosition


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');
 mysim.setconfig(telescopename='VLA', x=xx, y=yy, z=zz, dishdiameter=diam, 
                mount='alt-az', antname='VLA',
                coordsystem='local', referencelocation=posvla);

In this example we configure an array of 5 dishes set at the VLA position. We use the measures tool to give us the location of the vla.



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