crosscorr.plotXC

crosscorr.plotXC(t, d, filename=None, center=None, fwhm=None)

Convenience function to make a 2d plot of the cross correlation data.

Parameters:
  • t (array) – Time axis.
  • d (array) – Cross-correlation data I(time, wavelength).
  • filename (str) – Filename in case the final plot should be saved (default: None).
  • center (array) – Draw a line indicating the center positions as returned by fitXC() (default: None).
  • fwhm (array) – Draw two lines indicating the FWHM of the gate pulse. fwhm is a list returned by fitXC() (default: None).