pysrw.emitters.PointSource

pysrw.emitters.PointSource#

class pysrw.emitters.PointSource(xPos=0, yPos=0, zPos=0, flux=10000000000.0, pol='H')[source]#

Bases: SRWLPtSrc

__init__(xPos=0, yPos=0, zPos=0, flux=10000000000.0, pol='H')[source]#

Fully coherent point source.

Parameters:
  • xPos (optional) – the x point source position. Defaults to 0.

  • yPos (optional) – the y point source position. Defaults to 0.

  • zPos (optional) – the z point source position. Defaults to 0.

  • flux (optional) – photon flux in ph/(s0.1%BW).

  • pol – one of ‘H’, ‘V’ or ‘radial’ polarization.

Methods

__init__([xPos, yPos, zPos, flux, pol])

Fully coherent point source.