QuantumATK > Scripts, Tutorials and Applications

Hexagonal plot of transmission coefficients

<< < (3/4) > >>

Roc2019:
Thank you very much, Dr. Blom.  I  get it.   ;)

John Donald Raj:
Dear Dr. Blom,
I tried to run the transmission_hexplot.py to plot the hexagonal transmission plot. But the code is not working for me for the ATK version 2020.09. It will be great if you could you help me to plot the hexagonal transmission plot. I'm attaching my .hdf5 file, which is a spinpolarised transmission file.

Thanking You.

Anders Blom:
Sorry I don't have such an old version installed on my machine. What is the error?

kartiksamanta:
Dear Anders,

                       Could you please let me know how to extract and write the data points for the kpoint (kx,ky) resolve transmission plot (kx,ky vs T at Fermi energy)  using  your  script transmision_hexaplot.py in a separate file ? If you could modify the script it would be very helpful.
Thanks!

With best,
Kartik

Anders Blom:
The variables of relevance for this are kx, ky and zi. You can just loop over them and print to a text file in desired format, although I would argue that any analysis or plotting you want to do might be better done in Python...


--- Code: (python) ---kvalues = ky[0]
for i in range(len(kvalues)):
    for j in range(len(kvalues)):
        print(kvalues[i], kvalues[j], zi[i,j])

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version