AntennaArraySource
A finite antenna array element source.
Example
application = cf.Application.GetInstance() project = application:NewProject() -- Add a line to use as the base object in the array startPoint = cf.Point(0, 0, 0) endPoint = cf.Point(1, 1, 0) line = project.Contents.Geometry:AddLine(startPoint, endPoint) -- Use the GetProperties method to create the linear planar array properties = cf.LinearPlanarArray.GetDefaultProperties() properties.CountU = 4 properties.CountV = 3 properties.OffsetU = "1" -- Disable UniformSourceDistribution to add an AntennaArraySourceList properties.UniformSourceDistributionEnabled = false properties.Distribution[1].MagnitudeScaling = "2" properties.Distribution[1].PhaseOffset = "1" properties.Distribution[2] = {} properties.Distribution[2].MagnitudeScaling = "2" properties.Distribution[2].PhaseOffset = "1" properties.Distribution[3] = {} properties.Distribution[3].MagnitudeScaling = "3" properties.Distribution[3].PhaseOffset = "1" properties.Distribution[4] = {} properties.Distribution[4].MagnitudeScaling = "1.0" properties.Distribution[4].PhaseOffset = "1" properties.Distribution[5] = {} properties.Distribution[5].MagnitudeScaling = "4" properties.Distribution[5].PhaseOffset = "4" properties.Distribution[6] = {} properties.Distribution[6].MagnitudeScaling = "1.0" properties.Distribution[6].PhaseOffset = "0.0" properties.Distribution[7] = {} properties.Distribution[7].MagnitudeScaling = "1.0" properties.Distribution[7].PhaseOffset = "0.0" properties.Distribution[8] = {} properties.Distribution[8].MagnitudeScaling = "1.0" properties.Distribution[8].PhaseOffset = "0.0" properties.Distribution[9] = {} properties.Distribution[9].MagnitudeScaling = "1.0" properties.Distribution[9].PhaseOffset = "0.0" properties.Distribution[10] = {} properties.Distribution[10].MagnitudeScaling = "1.0" properties.Distribution[10].PhaseOffset = "0.0" properties.Distribution[11] = {} properties.Distribution[11].MagnitudeScaling = "1.0" properties.Distribution[11].PhaseOffset = "0.0" properties.Distribution[12] = {} properties.Distribution[12].MagnitudeScaling = "1.0" properties.Distribution[12].PhaseOffset = "0.0" -- Create the linear planar array linearPlanarArray = project.Contents.SolutionSettings.AntennaArrays:AddPlanarArray(properties)
Inheritance
The AntennaArraySource object is derived from the CompositeValue object.
Usage locations
The AntennaArraySource object can be accessed from the following locations:
- Methods
- AntennaArraySourceList object has method Append().
- AntennaArraySourceList object has method Get(number).
Property List
- MagnitudeScaling
- The source magnitude for the respective element is scaled relative to the base element. (Read/Write ParametricExpression)
- PhaseOffset
- The phase offset (in degrees) for the respective element relative to the base element. (Read/Write ParametricExpression)
Property Details
- MagnitudeScaling
- The source magnitude for the respective element is scaled relative to the base element.
- Type
- ParametricExpression
- Access
- Read/Write
- PhaseOffset
- The phase offset (in degrees) for the respective element relative to the base element.
- Type
- ParametricExpression
- Access
- Read/Write