ir_add function

Add infrared spectra