Digital analysis of plasma wave signals on spacecraft and on the ground