raman.plotTA

raman.plotTA(t, wl, d, showContour=True, filename=None, xlog=False, vmin=None, vmax=None, cmap=None, xlabel='Time (fs)', ylabel='Wavelength (nm)', zlabel='$\\Delta$OD')

Convenience function to generate a fancy TA contour plot using matplotlib’s contour and contourf functions.

Parameters:
  • t (array) – Time axis.
  • wl (array) – Wavelength axis.
  • d (array) – 2d TA data array with shape [time][wavelength].
  • showContour (bool) – If True, plot black contour lines.
  • filename (str) – If not None, safe generated figure.
  • xlog (bool) – If True, use log scale for time axis.
  • vmin (float) – Override the automatic color scaling (default = None).
  • vmax (float) – Override the automatic color scaling (default = None).
  • cmap (Colormap) – Override Matplotlib colormap to use for the contourplot (default = None).
  • xlabel (str) – X-label text (default = “Time (fs)”).
  • ylabel (str) – Y-label text (default = “Wavelength (nm)”).
  • zlabel (str) – Z-label text (default = “$Delta$OD”).