h5analysis.data_3d.load_3d

h5analysis.data_3d.load_3d(config, file, ind_stream, stack, arg, xoffset=None, xcoffset=None, yoffset=None, ycoffset=None, grid_x=[None, None, None], grid_y=[None, None, None], norm_by=None, binsize_x=None, binsize_y=None)

Internal function to load STACK data

Parameters:
  • config (dict) – h5 configuration

  • file (string) – filename

  • ind_stream (string) – independent stream, corresponding to stack’s first dim

  • stack (string) – alias of an image STACK

  • args (int) – scan number

  • kwargs

    xoffset: list of tuples

    fitted offset (x-stream)

    xcoffset: float

    constant offset (x-stream)

    yoffset: list of tuples

    fitted offset (y-stream)

    ycoffset: float

    constant offset (y-stream)

    grid_x: list

    grid equally spaced in x with [start, stop, delta]

    grid_y: list

    grid equally spaced in y with [start, stop, delta]

    norm_by: string

    norm MCA by defined h5 key or SCA alias

    binsize_x: int

    puts data in bins of specified size in the horizontal direction

    binsize: int

    puts data in bins of specified size in the vertical direction

Returns:

data

Return type:

dict