Electrostatic Spacecraft Potential Structure and Wake Formation Effects for Characterization of Cold Ion Beams in the Earth's Magnetosphere