A method for producing a spatially and spectrally selective radiofrequency
("RF") excitation pulse includes establishing a desired spatial RF
excitation pattern and establishing a desired spectral RF excitation
pattern. The method also includes estimating an RF transmission profile
map indicative of the transmission characteristics of an RF coil and
determining, from the desired spatial and spectral excitation patterns
and the estimated RF transmission profile map, at least one magnetic
field gradient waveform indicative of locations in k-space to which RF
energy is to be deposited. The method further includes determining, from
the established spatial and spectral excitation patterns, the estimated
RF transmission profile map, and the determined at least one gradient
waveform, at least one RF excitation pulse waveform that will produce the
desired spatial and spectral excitation patterns.