h5analysis.histogram.load_histogram_2d_sum

h5analysis.histogram.load_histogram_2d_sum(config, file, x_stream, z_stream, *args, norm=False, xoffset=None, xcoffset=None, yoffset=None, ycoffset=None, binsize_x=None, binsize_z=None)

Internal function to generate scatter plots for (x,y) SCA data

Parameters:
  • config (dict) – h5 configuration

  • file (string) – file name

  • x_stream (string) – h5 key or alias of 1d or 1d-ROI stream

  • z_stream (string) – h5 key or alias of 2d/3d-ROI or 3d 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_x: int

    puts x-data in bins of specified size

    binsize_z: int

    puts z-data in bins of specified size

Returns:

data

Return type:

dict