Author Topic: script for showing k-dependent complex band decay  (Read 7015 times)

0 Members and 1 Guest are viewing this topic.

Offline kstokbro

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 392
  • Reputation: 13
    • View Profile
    • QuantumWise
script for showing k-dependent complex band decay
« on: September 10, 2013, 23:29 »
Below is a script which calculates the minimum decay of the complex bands in the brillouin zone. If there are real bands, the decay is zero,
have fun

Offline ramkrishna

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 253
  • Country: us
  • Reputation: 5
    • View Profile
Re: script for showing k-dependent complex band decay
« Reply #1 on: September 13, 2013, 07:27 »
Dear Sir,
     When I am running the script, 'complexdecay.py', I am facing an error as  bellow. Can you please check once?


Traceback (most recent call last):
  File "/tmp/1571417764037603.py", line 28, in <module>
    nlsave('complexdecay.nc', k_points)
  File "./zipdir/NL/IO/NLSaveUtilities.py", line 210, in nlsave
NL.ComputerScienceUtilities.Exceptions.NLError: There is no support for writing this object <type 'numpy.ndarray'> to a NetCDF file

Regards
Ramkrishna

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: script for showing k-dependent complex band decay
« Reply #2 on: September 13, 2013, 10:50 »
Too old version of ATK used. Try 13.8.b1.

Offline ramkrishna

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 253
  • Country: us
  • Reputation: 5
    • View Profile
Re: script for showing k-dependent complex band decay
« Reply #3 on: September 13, 2013, 15:31 »
Dear Sir,
     Thank you, it works. But I can't understand the command "energy = 0.0*eV" within complexdecay.py, can you please explain this?

Regards
Ramkrishna

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: script for showing k-dependent complex band decay
« Reply #4 on: September 13, 2013, 15:37 »
You will have one plot like this for each energy, so you need to pick a value for the energy - in this case it's the Fermi level, a natural choice in many cases.