Dear Nordland,
If I want to calculate the voltage drop from 2V to -2V, could I do it using the followed script(just part of it and some changs from your script), is it right? (probe-molecular-probeHV2.nc is the .nc document at 2V, and the probe-molecular-probeLV-2.nc is at -2V) Thanks!(Sorry, I am new to the Python Language

)
high_bias_filename = 'probe-molecular-probeHV2.nc'
low_bias_filename = 'probe-molecular-probeLV-2.nc'vnl_filename = 'voltage_drop.vnl'
""" ------------ No need to modify anything below this point --------------------- """
# Implementation of the voltage drop.
from ATK.TwoProbe import *; import numpy
# High bias calculation.
high_bias = restoreSelfConsistentCalculation(
high_bias_filename )
# Low bias calculation.low_bias = restoreSelfConsistentCalculation(
low_bias_filename)
# Calculate the voltage drop.
voltage_drop = calculateEffectivePotential(
low_bias) - calculateEffectivePotential(
high_bias)
Thanks for your script again!