Characterization of external potential for field emission resonances and its applications on nanometer-scale measurements. (12th April 2018)