arlpy icon indicating copy to clipboard operation
arlpy copied to clipboard

Documentation shows incorrect packages for iqplot

Open patel999jay opened this issue 5 years ago • 1 comments

I think in the documentation of arlpy.comms.psk() needs to update as last line of example code :

>>> import arlpy
>>> arlpy.comms.psk()
array([1+0j, -1+0j])
>>> arlpy.comms.psk(4)
array([0.707+0.707j, -0.707+0.707j, 0.707-0.707j, -0.707-0.707j])
>>> arlpy.comms.iqplot(arlpy.comms.psk(4))

I guess last line should be following:

>>> import arlpy
>>> arlpy.comms.psk()
array([1+0j, -1+0j])
>>> arlpy.comms.psk(4)
array([0.707+0.707j, -0.707+0.707j, 0.707-0.707j, -0.707-0.707j])
>>> arlpy.plot.iqplot(arlpy.comms.psk(4))

Attached Screenshot: image

patel999jay avatar Jan 10 '21 00:01 patel999jay

Yes, you are right, it's an error in the docs. I will update the docs. Thanks.

mchitre avatar Jan 10 '21 07:01 mchitre