Analysis of femtosecond Raman-induced polarization spectroscopy (RIPS) in N2 and CO2 by fitting and scaling laws