Spectroscopic studies of nitrogenated amorphous carbon films prepared by ion beam sputtering