makeYagi: Create a yagi antenna object.

Description Usage Arguments Author(s)

View source: R/makeYagi.R

Description

Creates a 'proto' object of class 'antenna' which will store position and axis orientations of a Yagi-Uda antenna.

Usage

1
makeYagi(n, pos, axis1, axis2)

Arguments

n

integer; number of elements (cross pieces) of the antenna. So far, only antennas with 5 and 9 elements are supported.

pos

3-element antenna position vector (x, y, z)

axis1

orientation of main antenna axis. This is one of the following:

  1. "vertical"; this represents an atenna pointing straight up

  2. a single number; this represents the azimuth (degrees clockwise from North) of an antenna oriented parallel to the ground

  3. a 2-vector; this represents azimuth and elevation angles (degrees clockwise from North, degrees above the horizon) for an antenna pointing in an arbitrary direction

  4. a 3-vector; this is a vector giving the direction (x, y, z) in which the antenna is pointing

axis2

orientation of the antenna elements ('cross pieces') relative to the antenna axis. Specified as one of the following:

  1. "horizontal": the elements are parallel to the ground

  2. "vertical": the elements are vertical

  3. a single number: the angle of rotation of the elements when viewed from the antenna base (wider end) toward the antenna tip. Angle is measured clockwise in degrees, starting at 0 for horizontal. So 0 is the same as "horizontal" and 90 is the same as "vertical".

  4. a 2-vector: this represents azimuth and elevation angles (degrees clockwise from North, degrees above the horizon) for the antenna elements, and must be perpendicular to the axis1 parameter

  5. a 3-vector: this is a vector giving the direction (x, y, z) in which the antenna elements are pointing. It must be perpendicular to the axis1 parameter.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/sensorgnome-R-package documentation built on May 18, 2019, 9:19 p.m.