plot_sas

plot_sas(res: xr.Dataset, ax: Axis, title: str = 'SAS', cycler: Cycler | None = cycler('color', [<ColorCode.black: '#000000'>, <ColorCode.red: '#ff0000'>, <ColorCode.blue: '#0000ff'>, <ColorCode.green: '#00ff00'>, <ColorCode.magenta: '#ff00ff'>, <ColorCode.cyan: '#00ffff'>, <ColorCode.yellow: '#ffff00'>, <ColorCode.green4: '#008b00'>, <ColorCode.orange: '#ff8c00'>, <ColorCode.brown: '#964b00'>, <ColorCode.grey: '#808080'>, <ColorCode.violet: '#9400d3'>, <ColorCode.turquoise: '#40e0d0'>, <ColorCode.maroon: '#800000'>, <ColorCode.indigo: '#4b0082'>]), show_zero_line: bool = True) None[source]

Plot SAS (Species Associated Spectra) on ax.

Parameters:
  • res (xr.Dataset) – Result dataset

  • ax (Axis) – Axis to plot on.

  • title (str) – Title of the plot. Defaults to “SAS”.

  • cycler (Cycler | None) – Plot style cycler to use. Defaults to PlotStyle().cycler.

  • show_zero_line (bool) – Whether or not to add a horizontal line at zero. Defaults to True.