My script is that:
######################################################################
# Calculate physical properties
######################################################################
from numpy import arange
import numpy
transmission_spectrum = calculateTransmissionSpectrum(
self_consistent_calculation = scf,
energies = numpy.arange(-2.0, 2.0+0.001, 0.01)*electronVolt,
brillouin_zone_integration_parameters = brillouinZoneIntegrationParameters((1, 1)),
green_function_infinitesimal = 1.0e-5*electronVolt
)
energies = transmission_spectrum.energies()
coefficients = transmission_spectrum.coefficients()
print 'Energy (eV) Transmission'
print '-----------------------------------'
for i in range(len(energies)):
print "%g\t%g" % ( energies.inUnitsOf(eV),coefficients )