Errors in retarding potential analyzers caused by nonuniformity of the grid-plane potential