Complete nondestructive diagnostic of nonneutral plasmas based on the detection of electrostatic modes