西莫电机圈

 找回密码
 立即注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

查看: 853|回复: 0

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

[复制链接]

该用户从未签到

发表于 2013-11-15 09:44 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
Both the amplitude extraction and theparameter update can be done in the same command line as follows:
VariationParameter['Name'].formula=str(CurveVariation2D['Name'].spectrumResults[HarmonicNumber].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[1].amplitude)
      
       Note:the I/O parameter should be of formula type.




西莫电机论坛微信公众平台正式上线!★详情请点击★ 西莫电机论坛会员交流专用群欢迎您西莫电机论坛加群请注明论坛用户名及所从事专业,否则不予通过
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|西莫电机圈 ( 浙ICP备10025899号-3 浙公网安备:33028202000436号

GMT+8, 2024-5-5 15:18 , Processed in 0.074415 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表