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

optimize get streams for `BrukerTiffSinglePlaneImagingExtractor` #344

Closed h-mayorquin closed 2 months ago

h-mayorquin commented 2 months ago

This uses lazy xml reading instead of parsing the whole xml file. On my data this implementation is 60 times faster.

h-mayorquin commented 2 months ago

Looks good, thanks @h-mayorquin. Should we add this in the changelog?

Done.