pysrw.computations.computePtSrcWfrMultiProcess#
- pysrw.computations.computePtSrcWfrMultiProcess(numCores, pointSource, observer, wavelength)[source]#
Compute the wavefront of a point source. Multiprocessing version of
computePtSrcWfr()
.- Parameters:
numCores – the number of processes to split the computation into. Maximum value limited to the CPU count of the machine.
pointSource – point source instance of
PointSource
.observer – observation mesh instance of
Observer
.wavelength – observation wavelength in nanometers.
- Returns:
the calculated wavefront.
- Return type: