Closed delvingdeep closed 3 years ago
I am using latest version 1.7.0, and trying to follow an example for Barlett Beampattern from the official documentation page.
from arlpy import bf import numpy as np sd = bf.steering(np.linspace(0, 5, 11), 1500, np.linspace(-np.pi/2, np.pi/2, 181)) bp = bf.bartlett_beampattern(90, 1500, sd, show=True)
There I see usage of bf.steering() for calculating sd but when I try to run it on my local computer it throws an error:
bf.steering()
sd
AttributeError: module 'arlpy.bf' has no attribute 'steering'
Also the documents notes from April 2020 contains the same example, but doesn't provide definition for bf.steering. Page 16 : https://arlpy.readthedocs.io/_/downloads/en/latest/pdf/
Thanks for pointing out the outdated documentation. it should be bf.steering_plane_wave() instead of bf.steering().
bf.steering_plane_wave()
I've fixed it in commit a7a834b, so it'll get updated in the next release.
I am using latest version 1.7.0, and trying to follow an example for Barlett Beampattern from the official documentation page.
There I see usage of
bf.steering()
for calculatingsd
but when I try to run it on my local computer it throws an error:Also the documents notes from April 2020 contains the same example, but doesn't provide definition for bf.steering. Page 16 : https://arlpy.readthedocs.io/_/downloads/en/latest/pdf/