Closed alessandratrapani closed 10 months ago
Attention: 8 lines
in your changes are missing coverage. Please review.
Comparison is base (
bd18e5b
) 79.19% compared to head (44194b3
) 79.00%. Report is 1 commits behind head on main.:exclamation: Current head 44194b3 differs from pull request most recent head 1d385ee. Consider uploading reports for the commit 1d385ee to get more accurate results
In the ScanImage .tif metadata there is a dictonary saved as text that the function
extract_extra_metadata
cannot parse, where information on the ROIs are stored. I implemented a new function callextract_roi_metadata
(https://github.com/catalystneuro/roiextractors/pull/272) that return this dict.From
imagingRoiGroup
we can extract info on the dimension of the field of view (XY) from"sizeXY"
and divide by the dimension to get the grid_spacing (z dimension missed)In
integrationRoiGroup
we can extract information about the position of the rois: inv(pixelToRefTransform
)*centerXY