We analyze the properties of a Raman quantum light-atom interface in long
atomic ensemble and its applications as a quantum memory or two-mode squeezed
state generator. We consider the weak-coupling regime and include both Stokes
and anti-Stokes scattering and the effects of Doppler broadening in buffer gas
assuming frequent velocity-averaging collisions. We find the Green functions
describing multimode transformation from input to output fields of photons and
atomic excitations. Proper mode basis is found via singular value decomposition
for short interaction times. It reveals that triples of modes are coupled by a
transformation equivalent to a combination of two beamsplitters and a two-mode
squeezing operation. We analyze the possible transformations on an example of
warm rubidium-87 vapor. The model we present bridges the gap between the Stokes
only and anti-Stokes only interactions providing simple, universal description
in a temporally and longitudinally multimode situation. Our results also
provide an easy way to find an evolution of the states in a Schr\"odinger
picture thus facilitating understanding and design.Comment: 12 pages, 5 figures (corrected version, some results changed