BGlib.gmode.proc.gmode_utils.reshape_from_lines_to_pixels

BGlib.gmode.proc.gmode_utils.reshape_from_lines_to_pixels(h5_main, pts_per_cycle, scan_step_x_m=None)[source]

Breaks up the provided raw G-mode dataset into lines and pixels (from just lines)

Parameters:
  • h5_main (h5py.Dataset object) – Reference to the main dataset that contains the raw data that is only broken up by lines

  • pts_per_cycle (unsigned int) – Number of points in a single pixel

  • scan_step_x_m (float) – Step in meters for pixels

Returns:

h5_resh – Reference to the main dataset that contains the reshaped data

Return type:

h5py.Dataset object