crosscorr.plotXCfit

crosscorr.plotXCfit(a, c, f, cFilename=None, aFilename=None)

Convenience function to plot amplitude, center and fwhm of the cross correlation as function of index (i.e. wavelength).

Parameters:
  • a (array) – Amplitudes of Gaussians as returned by fitXC().
  • c (array) – Center positions of Gaussians as returned by fitXC().
  • f (array) – Widths (FWHM) of Gaussians as returned by fitXC().
  • cFilename (str) – Filename for saving center and width plot (default: None).
  • aFilename (str) – Filename for saving amplitude plot (default: None).