完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的BobMag很抱歉迟到的回复。
不幸的是,ENA不支持使用展开阶段保存touchstone文件。 以上来自于谷歌翻译 以下为原文 Dear BobMag Sorry for late reply. Unfortunately, ENA does not support to save touchstone file with unwrapped phase. |
|
|
|
可能不是你想要的简单答案,但这里有一个小C#方法,可以自己解开相位;
以防万一你倾向于自己动手:-) / * * public static double [] PhaseUnwrap(double [] data)* * Version 1.0 - Nov 2008 * *描述:* unwrap阶段* *要求:* 数据以度为单位*所有数据元素都在+180.0和-180.0之间(包括)* mag(相位斜率)小于180(非包裹点之间的差异)* * / public static double [] PhaseUnwrap(double [] 数据){double [] newdata; double offset = 0.0; newdata = new double [data.Length]; newdata [0] = data [0]; for(int i = 1; i 180.0){offset + = 360.0; } else if((data [i - 1] - data ){offset - = 360.0;} newdata = data + offset;} return newdata;}抱歉搞乱的代码语法 - 愚蠢的论坛引擎认为“[['”]]之间的所有内容都是URL。旧的论坛软件有一个特殊的标签用于放置代码片段而不试图将它们重新解释为HTML 以上来自于谷歌翻译 以下为原文 Probably not the simple answer you were looking for, but here is a small C# method for unwrapping the phase yourself; just in case you are inclined to take matters into your own hands :-) /* * public static double[] PhaseUnwrap(double[] data) * * Version 1.0 - Nov 2008 * * Description: * unwrap phase * * Requirements: * data is in degrees * all elements of data are between +180.0 and -180.0 (inclusive) * mag(phase slope) is less than 180 (difference between non-wrapped points) * */ public static double[] PhaseUnwrap(double[] data) { double[] newdata; double offset = 0.0; newdata = new double[ data.Length ]; newdata[0] = data[0]; for (int i = 1; i 180.0) { offset += 360.0; } else if ((data[i - 1] - data) < -180.0) { offset -= 360.0; } newdata = data + offset; } return newdata; } Sorry about the messed up code syntax - the stupid forum engine thinks everything in between "[[' "]]" is URL. The old forum software had a special tag for placing code snippets without trying to reinterpret them as HTML |
|
|
|
Topcbpcba 发表于 2019-1-29 14:35 谢谢你的建议。 我有一个常用的例程,与你的类似。 我会试试你的。 短发 以上来自于谷歌翻译 以下为原文 Thanks for the suggestion. I have a routine I have been using that is similiar to yours. I'll give yours a try. Bob |
|
|
|
Topcbpcba 发表于 2019-1-29 14:35 谢谢你的建议。 我有一个常用的例程,与你的类似。 我会试试你的。 短发 以上来自于谷歌翻译 以下为原文 Thanks for the suggestion. I have a routine I have been using that is similiar to yours. I'll give yours a try. Bob |
|
|
|
Topcbpcba 发表于 2019-1-29 14:35 谢谢你的建议。 我有一个常用的例程,与你的类似。 我会试试你的。 短发 以上来自于谷歌翻译 以下为原文 Thanks for the suggestion. I have a routine I have been using that is similiar to yours. I'll give yours a try. Bob |
|
|
|
只有小组成员才能发言,加入小组>>
1234 浏览 0 评论
2352 浏览 1 评论
2163 浏览 1 评论
2028 浏览 5 评论
2912 浏览 3 评论
979浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
711浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
811浏览 0评论
1236浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-28 00:18 , Processed in 1.433940 second(s), Total 85, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号