Commit debc5e97 authored by Unknown's avatar Unknown
Browse files

Return reshaped dataset as PycroDataset

parent 15a2f865
......@@ -12,6 +12,7 @@ import matplotlib.pyplot as plt
import numpy as np
from .fft import getNoiseFloor, are_compatible_filters, build_composite_freq_filter
from ..io.io_hdf5 import ioHDF5
from ..io.pycro_data import PycroDataset
from ..io.hdf_utils import getH5DsetRefs, linkRefs, getAuxData, copy_main_attributes
from ..io.microdata import MicroDataGroup, MicroDataset
from ..viz.plot_utils import rainbow_plot, set_tick_font_size
......@@ -271,4 +272,4 @@ def reshape_from_lines_to_pixels(h5_main, pts_per_cycle, scan_step_x_m=1):
print('Finished reshaping G-mode line data to rows and columns')
return h5_resh
return PycroDataset(h5_resh)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment