简体   繁体   English

ARL py 工具 package 中不存在 arlpy.bf.steering

[英]arlpy.bf.steering doesn't exist in ARL py tools package

I am trying to run this example from ARL py Tools documentation for generating Barlett Beampattern which mentions usage of arlpy.bf.steering() ;我正在尝试从 ARL py Tools文档中运行此示例,以生成 Barlett Beampattern,其中提到了arlpy.bf.steering()的用法; but when I try to run it says steering() not found.但是当我尝试运行它时说没有找到steering()

sd = arlpy.bf.steering(np.linspace(0, 5, 11), 1500, np.linspace(-np.pi/2, np.pi/2, 181))
bp = arlpy.bf.bartlett_beampattern(90, 1500, sd, show=True)

Error:错误:

AttributeError: module 'arlpy.bf' has no attribute 'steering'

The documentation notes from April 2020 also mention the usage for the same function but doesn't show definition of that function anywhere. 2020 年 4 月的文档说明还提到了相同 function 的用法,但没有在任何地方显示该 function 的定义。

Refer: Page 16 at https://arlpy.readthedocs.io/_/downloads/en/latest/pdf/请参阅:第 16 页https://arlpy.readthedocs.io/_/downloads/en/latest/pdf/
The version of arlpy I am using is 1.7.0 which appears to be the latest.我使用的arlpy版本是1.7.0 ,它似乎是最新的。

Please advise what should be done to fix it?请告知应该采取什么措施来解决它?

This has been resolved now, as it seems that it arlpy.bf.steering() stayed from the pervious version which is now outdated and it will be updated to arlpy.bf.steering_plane_wave() in the next release.现在已经解决了这个问题,因为它似乎arlpy.bf.steering()保留了以前的版本,现在已经过时了,它将在下一个版本中更新为arlpy.bf.steering_plane_wave()

Check my issue post on their github for more information: https://github.com/org-arl/arlpy/issues/61 which has been closed now.查看我在他们的 github 上的问题帖子以获取更多信息: https://github.com/org-arl/arlpy/issues/61现在已经关闭。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM