Abstract
The formalism for calculating the radiative pion capture cross section has been developed for shell model calculations in the impulse approximation. It includes the momentum dependent terms of the effective transition operator for any angular momentum of the pion. The giant dipole and giant quadrupole resonances are discussed. The quasifree background is calculated within the framework of the distorted wave impulse approximation. Realistic shell model calculations for O16 yield good agreement with experiment.