Enviar por SMS: Infrared anisotropy averaging in polycrystalline samples and resonant scattering: the example of YMnO3