QuantumATK > Scripts, Tutorials and Applications
Hexagonal plot of transmission coefficients
Roc2019:
Thank you Dr. Blom.
It seems that your script does not work for the new version 2019.12.sp1.
The attachment is the input and output files for the transmission of graphene obtained by the newest version.
If possible, would you like to test and update the new srcipt to obtain the hexgonal transmission picture using the attachments.
Thank you so much again.
Anders Blom:
Ooooh, I just missed that print needs to be a function now...!
So the script should technically work now. Using your HDF5 file didn't allow to make a nice plot to show it, because for whatever reason all transmission is zero for all energies and k-points in your example.
Roc2019:
Thank you Dr. Blom.
The new script works now. It is great!!! :D
Expect you or other experts could update some other scripts for the neweast version 2019.12.sp1, for examples,
2) the script to plot the spin texture for the newest version 2019.12.sp1
3) the script for calculating the topological invariants
Roc2019:
Dear Dr. Blom,
Would you like to give the two new files of hexplot.py and transmission_hexplot.py for a spin polarization calculation? The present version of the both scripts does not work for a spin-resolved calculation.
Thank you very much.
Anders Blom:
I don't have good test data for that but should be easy by just modifying the nlread around line 48-49 to select the right spin component, no?
If the current code doesn't work, try
t = nlread(ncfile, TransmissionSpectrum)[0]
T = t.transmission(spin=Spin.Up or Spin.Down)[Epoint]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version