A compact ridge filter for spread out Bragg peak production in pulsed proton clinical beams.