Rename applyBeam to attenuate