pysrw.tools.extractProfiles#
- pysrw.tools.extractProfiles(spatialDistr)[source]#
Get the integrated profiles from a two-dimensional distribution.
- Parameters:
spatialDistr – any dictionary representing a spatial distribution with ‘xax’ and ‘yax’ as coordinate axes and ‘data’ as data matrix.
- Returns:
dictionary with ‘xax’, ‘yax’, ‘xdata’ and ‘ydata’.
- Return type:
dict