Type I infrared ultrafast laser induced fiber Bragg gratings have been shown to exhibit higher-order resonances related to the Fourier components possessed by their nonsinusoidal index change profile. Using successive higher-order phase masks, we determine the Fourier components of type I-IR gratings in both hydrogen-loaded and unloaded fiber. Knowledge of the relative dc and ac components of a fiber Bragg grating is required for tailoring its spectral response.