A technique for studying density gradients and motions of plasmaspheric irregularities