pysrw.plots.plotPwrDensity

Contents

pysrw.plots.plotPwrDensity#

pysrw.plots.plotPwrDensity(pwrDensity, colorScale='lin')[source]#

Plot the two-dimensional distribution of the power density.

Parameters:
  • pwrDensity – the radiation power density, as returned by computeSrPowerDensity().

  • colorScale (optional) – ‘lin’ or ‘log10’ scale. Defaults to ‘lin’.