Conversion from EDP to HDP:
EDP = nlread(fname, ElectrostaticDifferencePotential)[0]
(c_axis, edp_pot) = EDP.axisProjection(axis='c')
hdp_pot = -1 * edp_pot.inUnitsOf(Volt) * elementary_charge * Volt
such that hdp_pot is the values of the average Hartree potential along points on the C-axis.
You can also use other axis projections: http://docs.quantumwise.com/manuals/Types/ElectrostaticDifferencePotential/ElectrostaticDifferencePotential.html#NL.Analysis.ElectrostaticDifferencePotential.ElectrostaticDifferencePotential.axisProjection (http://docs.quantumwise.com/manuals/Types/ElectrostaticDifferencePotential/ElectrostaticDifferencePotential.html#NL.Analysis.ElectrostaticDifferencePotential.ElectrostaticDifferencePotential.axisProjection)