Reduction of Galileo and Ulysses dust data