Hello, I use the script given in ATK tutorial but it works only for unpolarized systems. How I must modify it to get up and down spin transmissions.
The script is :
from ATK.TwoProbe import *
from ATK.MPI import processIsMaster
old_scf_zero_bias = \
restoreSelfConsistentCalculation("bare.nc")
temporary_list = range(-50,50,1)
energy_list = []
for i in temporary_list:
energy_list.append(i/10.0)
trans_spectrum = calculateTransmissionSpectrum(
old_scf_zero_bias,
energies = energy_list*electronVolt
)
trans_energy = trans_spectrum.energies()
trans_coeff = trans_spectrum.coefficients()
trans_energy = trans_energy.tolist()
trans_energy.reverse()
trans_coeff = trans_coeff.tolist()
trans_coeff.reverse()
while len(trans_energy)>0:
if processIsMaster(): print trans_energy.pop(),'\t',trans_coeff.pop()