A ripple filter unit comprises a first and a second ripple filter, substantially identical, are arranged so that they overlap each other in a beam, with substantially the same orientation and movable relative to each other in such a way as to vary the filter characteristics dynamically. In this way, the modulation characteristics of the ripple filter unit can be varied.