Task
General
dfscan = pd.readhdf(filename, key=scanpattern)
where filename is the .h5 file name (e.g., SimulatedScans/cy0-cz0-s1.0-d1.5/airplane/train/airplane0001/airplane0001-rotation22.5-directx.h5); scanpattern is set with scanpattern = 'lissajous', scanpattern = 'raster', or scanpattern = 'rasterr'. 'lissajous' indicates Lissajous scan mode describe in the paper, and 'raster' for Raster scan mode. ('rasterr' is another Raster scan mode that the frame ends by returning to the starting point.)