• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > HFSS > HFSS help > SetComplexQuantityData(qtyName, qtyData)

HFSS15: SetComplexQuantityData(qtyName, qtyData)

录入:edatop.com     点击:

• Purpose: If the quantity computed is a complex quantity, use this method to set the quantity values. Any sweep values must be set separately via the SetSweepsData method.

• Parameters:

• qtyName (string) - quantity name.

• qtyData (python list of floats) - quantity data for the specified quantity. Complex numbers are passed as pairs of floats

• Returns: True on success, False on failure.

Example:

doubleFromComplexList=[]

complexList = [(1+1j), (2+4j), (9.1+3.2j)]

for aComplex in complexList:

doubleFromComplexList.append(aComplex.imag)

doubleFromComplexList.append(aComplex.real)

outData. SetComplexQuantityData ("V1PlusV2", doubleFromComplexList)

HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS

上一篇:Setting a Range Function
下一篇:Selecting the Solution Type

HFSS视频培训课程推荐详情>>
HFSS教程推荐

  网站地图