天源博通 发表于 2013-11-15 09:44

flux问答之5如何用pyflux命令提取频谱曲线中的谐波振幅,并将其分配给一个I / O参数?

Both the amplitude extraction and theparameter update can be done in the same command line as follows:
VariationParameter['Name'].formula=str(CurveVariation2D['Name'].spectrumResults.amplitude)
       Example: The command below allows extracting the amplitude ofthe fundamental harmonic from the SPECTRUM curve and assigning this value tothe parameter HARMONIC.
VariationParameter['HARMONIC'].formula=str(CurveVariation2D['SPECTRUM'].spectrumResults.amplitude)
      
       Note:the I/O parameter should be of formula type.




页: [1]
查看完整版本: flux问答之5如何用pyflux命令提取频谱曲线中的谐波振幅,并将其分配给一个I / O参数?