
<image.png>-73- Bill AB4EJ--
You received this message because you are subscribed to the Google Groups "hamsci-grape" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hamsci-grape...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hamsci-grape/BN8PR15MB3185B9D20FE19043D977FBB4FAA8A%40BN8PR15MB3185.namprd15.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hamsci-grape/ee008fb3-310a-4d9f-a3b8-11b41356a955n%40googlegroups.com.
plotspectrum_V4a.py", line 126, in
bigarray = np.zeros(1474560,dtype=np.complex)
File "/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'complex'.
np.complex was a deprecated alias for the builtin complex. To avoid this error in existing code, use complex by itself. Doing this
will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'complex_'?
line 126 changed to
bigarray = np.zeros(1474560,dtype=np.complex128)
and all appears to OK.
cheers, Graham ve3gtc
--
You received this message because you are subscribed to the Google Groups "hamsci-grape" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hamsci-grape...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hamsci-grape/314c89fe-a9b9-4dd4-a1ce-536d20ece3fdn%40googlegroups.com.