python script to plot full gw band structure
Posted: Tue Sep 19, 2017 5:12 am
Dear All
I try to plot gw band structure by using script file as ab_extended_scissors_guess.py. The error see below
Traceback (most recent call last):
File "ab_extended_scissors_guess.py", line 1581, in <module>
ec_dft = EigenvalueContainer(directory='.',filename=eig_file)
File "ab_extended_scissors_guess.py", line 353, in __init__
self.file_open(self.filefullpath)
File "ab_extended_scissors_guess.py", line 358, in file_open
self.nc_eig_open(filefullpath)
File "ab_extended_scissors_guess.py", line 736, in nc_eig_open
self.eigenvalues = N.reshape(N.array(varobj,N.float),varshape)
TypeError: __array__() takes no arguments (1 given)
The numpy maplotlib and netcdf4 are also install.
Please suggestion
Abdulmutta Thatribud
Physics, PSU, Thailand
I try to plot gw band structure by using script file as ab_extended_scissors_guess.py. The error see below
Traceback (most recent call last):
File "ab_extended_scissors_guess.py", line 1581, in <module>
ec_dft = EigenvalueContainer(directory='.',filename=eig_file)
File "ab_extended_scissors_guess.py", line 353, in __init__
self.file_open(self.filefullpath)
File "ab_extended_scissors_guess.py", line 358, in file_open
self.nc_eig_open(filefullpath)
File "ab_extended_scissors_guess.py", line 736, in nc_eig_open
self.eigenvalues = N.reshape(N.array(varobj,N.float),varshape)
TypeError: __array__() takes no arguments (1 given)
The numpy maplotlib and netcdf4 are also install.
Please suggestion
Abdulmutta Thatribud
Physics, PSU, Thailand