Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix HDF5 and NWB get_frames behavior (#174)
* for HDF5: * fix get_frames. It was previously assuming contiguous frames * improve get_video. It was previously reading frame-by-frame, which is not optimal for HDF5 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added integer handling to default get_frames method * added squeeze logic to get_frames * specify axis for squeeze * inverted if so that squeeze occurs in the int section * removed np.newaxis so that bruker tests expect squeezing behavior on single frame * removed np.newaxis so that micromanager tests expect squeezing behavior on single frame * added squeeze logic to multiimaging extractor * reverted imagingextractor changes * reverted multiimagingextractor and testing.py changes * reverted test_brukertiffimagingextractor changes * reverted test_micromanagertiffimagingextractor changes * reverted test_brukertiffimagingextractor changes * added get_frames to hdf5imagingextractor * added test for non-cts frames * fixed nwb get_frames --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Heberto Mayorquin <h.mayorquin@gmail.com> Co-authored-by: Paul Adkisson <paul.wesley.adkisson@gmail.com>
- Loading branch information