-
Notifications
You must be signed in to change notification settings - Fork 7
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 <[email protected]> Co-authored-by: Paul Adkisson <[email protected]>
- Loading branch information
1 parent
f49355c
commit 4c75116
Showing
3 changed files
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters