Documentation
¶
Overview ¶
Implements a simple phase delay from different n-Antenna elements
Index ¶
- Constants
- Variables
- func GetEJtheta(degree float64) complex128
- func GetLamda(freq float64) float64
- func Radian(degree float64) float64
- func RunAAS(params SettingAAS)
- func RunJSON(jstring string)
- type ArrayType
- type SettingAAS
- func (params *SettingAAS) AASGain(dest vlib.Location3D) (gain float64, effectiveThetaH, effectiveThetaV float64)
- func (params *SettingAAS) CreateCircularElements(centre vlib.Location3D)
- func (params *SettingAAS) CreateElements(centre vlib.Location3D)
- func (params *SettingAAS) CreateLinearElements(centre vlib.Location3D)
- func (s SettingAAS) ElementDirectionGain(theta float64) float64
- func (s SettingAAS) ElementDirectionHGain(degree float64) float64
- func (s SettingAAS) ElementDirectionVGain(degree float64) float64
- func (s SettingAAS) ElementEffectiveGain(thetaH, thetaV float64) float64
- func (params *SettingAAS) FindWeights(theta float64) vlib.VectorC
- func (params *SettingAAS) GetElements() []vlib.Location3D
- func (params *SettingAAS) GetLamda() float64
- func (params *SettingAAS) GetRxPhase(dest vlib.Location3D) []complex128
- func (s *SettingAAS) Set(str string)
- func (s *SettingAAS) SetDefault()
Constants ¶
View Source
const ( LinearPhaseArray = iota CircularPhaseArray )
Variables ¶
View Source
var ArrayTypes = [...]string{
"LinearPhaseArray",
"CircularPhaseArray",
}
View Source
var Bobwriter io.Writer
View Source
var Nodes = 360
View Source
var Radius float64 = 1
Functions ¶
func GetEJtheta ¶
func GetEJtheta(degree float64) complex128
func RunAAS ¶
func RunAAS(params SettingAAS)
Types ¶
type SettingAAS ¶
type SettingAAS struct { Freq float64 N int Nodes int Omni bool MfileName string VTiltAngle float64 HTiltAngle float64 BeamTilt float64 DisableBeamTit bool HoldOn bool VBeamWidth, HBeamWidth float64 SLAV float64 ESpacingVFactor, ESpacingHFactor float64 Centre vlib.Location3D `json:"-"` AASArrayType ArrayType CurveWidthInDegree float64 CurveRadius float64 // contains filtered or unexported fields }
func NewAAS ¶
func NewAAS() *SettingAAS
func (*SettingAAS) AASGain ¶
func (params *SettingAAS) AASGain(dest vlib.Location3D) (gain float64, effectiveThetaH, effectiveThetaV float64)
func (*SettingAAS) CreateCircularElements ¶
func (params *SettingAAS) CreateCircularElements(centre vlib.Location3D)
func (*SettingAAS) CreateElements ¶
func (params *SettingAAS) CreateElements(centre vlib.Location3D)
func (*SettingAAS) CreateLinearElements ¶
func (params *SettingAAS) CreateLinearElements(centre vlib.Location3D)
func (SettingAAS) ElementDirectionGain ¶
func (s SettingAAS) ElementDirectionGain(theta float64) float64
func (SettingAAS) ElementDirectionHGain ¶
func (s SettingAAS) ElementDirectionHGain(degree float64) float64
func (SettingAAS) ElementDirectionVGain ¶
func (s SettingAAS) ElementDirectionVGain(degree float64) float64
func (SettingAAS) ElementEffectiveGain ¶
func (s SettingAAS) ElementEffectiveGain(thetaH, thetaV float64) float64
func (*SettingAAS) FindWeights ¶
func (params *SettingAAS) FindWeights(theta float64) vlib.VectorC
func (*SettingAAS) GetElements ¶
func (params *SettingAAS) GetElements() []vlib.Location3D
func (*SettingAAS) GetLamda ¶
func (params *SettingAAS) GetLamda() float64
func (*SettingAAS) GetRxPhase ¶
func (params *SettingAAS) GetRxPhase(dest vlib.Location3D) []complex128
/ Returns the Phase of the Signal at the given location from all its elements after applying weights at its elements
func (*SettingAAS) Set ¶
func (s *SettingAAS) Set(str string)
func (*SettingAAS) SetDefault ¶
func (s *SettingAAS) SetDefault()
Click to show internal directories.
Click to hide internal directories.