h5analysis.histogram.load_histogram_1d_reduce
- h5analysis.histogram.load_histogram_1d_reduce(config, file, x_stream, y_stream, z_stream, *args, norm=False, xoffset=None, xcoffset=None, yoffset=None, ycoffset=None, binsize=None, legend_items={}, twin_y=False, matplotlib_props={})
Internal function to generate scatter plots for (x,y,z) SCA data
- Parameters:
config (dict) – h5 configuration
file (string) – file name
x_stream (string) – key name or alias of 1d-ROI (dim 0)
y_stream (string) – key name or alias of 1d-ROI (dim 0)
z_stream (string) – key name or alias of 2d data stream
*args (ints) – scan numbers, comma separated
kwargs –
- norm: boolean
normalizes to [0,1]
- xoffset: list
fitting offset (x-stream)
- xcoffset: float
constant offset (x-stream)
- yoffset: list
fitting offset (y-stream)
- ycoffset: float
constant offset (y-stream)
- binsize: int
puts x-data in bins of specified size
- legend_items: dict
dict[scan number] = description for legend
- twin_y: boolean
supports a second y-axis on the right-hand side
- matplotlib_props: dict
- dict[scan number] = dict with props, see keys below
linewidth
color
linestyle
marker
markersize
etc.
- Returns:
data
- Return type:
dict