catalystneuro / roiextractors

Python-based module for extracting from, converting between, and handling optical imaging data from several file formats. Inspired by SpikeInterface.
https://roiextractors.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

Change criteria for volumetric in Bruker tiff extractor #342

Closed h-mayorquin closed 2 months ago

h-mayorquin commented 2 months ago

This should fix #341

As described in #341 the current criteria that we use to determine if an image is volumetric is wrong. mhturner proposed what I think is a very simple solution which I have implemented here. This fetches the sequence type and uses a simple dictionary to determine the nature of the data.

I tested this on volumetric data that I got from the Clandinin lab and this seems to be working.