Resonant interactions between cometary ions and low frequency electromagnetic waves