  In an earlier paper we have concluded that time-dependent parameters in
atom-mode interaction can be utilized to modify the quantum field in a cavity.
When an atom shoots through the cavity field, it is expected to experience a
trigonometric time dependence of its coupling constant. We investigate the
possibilities this offers to modify the field. As a point of comparison we use
the solvable Rosen-Zener model, which has parameter dependencies roughly
similar to the ones expected in a real cavity. We do confirm that by repeatedly
sending atoms through the cavity, we can obtain filters on the photon states.
Highly non-classical states can be obtained. We find that the Rosen-Zener model
is more sensitive to the detuning than the case of a trigonometric coupling.
