MeqStationBeam
This node implements a narrowband beamformer. You need 4 child nodes for thin node to work. You also need a text file with element coodrinates (see below). The child nodes are:
RADec=Twopack with (RA,Dec) of phase centre
XYZ=Threepack (X,Y,Z) with ITRF coords of array centre
phi0: rotation of coordinates around the zenith
ref_freq: reference freq of narrowband beamformer (usually the centre frequency of a spectral window)
The coordinate file should be:
filename=text file with element coordinates, using array centre as origin. First row should give number of elements. The next rows should have 6 columns each.
columns 1,2,3: x,y,z coords of X elements
columns 4,5,6: x,y,z, coords of Y elements
e.g.
48
0.1 0.2 0 0.1 0.21 0
0.3 -0.3 0 0.3 -0.3 0
..
Example:
Xstatbeam=ns.Xstatbeam<<Meq.StationBeam(filename="AntennaCoords",radec=radec0,xyz=array.xyz0(),
phi0=Meq.Constant(-math.pi/4),ref_freq=(ns.freq0+ns.freq1)/2)
