| Commit | Date | |
|---|---|---|
| 2026-06-29 09:59:54 | Tree | |
|
[r1961]
by
kellgeor
"inhomogenous arrays" error when writing to matfile was caused by numpy version (we were at version 1.24.4, recommendations is numpy>=1.13.0, < 1.24). Reverting to numpy 1.23.5 resovled the error. Solution is to save to RAM instead of to a temp matfile, making the process independent of numpy versions. |
2026-06-10 12:54:16 | Tree |
| 2026-06-10 12:47:42 | Tree | |
|
[r1959]
by
kellgeor
Added a special case to deal with stacks that only have one z layer. Problem: run_fissa was called with export_to_matfile, which routes the results through Python's savemat; for a single-layer/single-trial stack, FISSA returns per-ROI object arrays with differing component counts, and savemat crashed trying to pack those arrays into one homogeneous array (the (5,1) + inhomogeneous part ValueError). Fix: branch when nLayers==1: instead of exporting to a matfile, it reads FISSA's returned tuple directly in MATLAB, pulling each ROI's separated neuron trace (row 1 of its 5×nFrames block) and storing it in activity_fissa_corrected. The existing 4-layer pipeline behaves exactly as before. |
2026-06-05 14:42:04 | Tree |
|
[r1958]
by
kellgeor
ROI_fissa could not handle stacks that only had one z-layer (Fissa worked fine, bug was relating to export_to_matfile). Added variable nLayers to store the number of layers in the stack. Added nLayers as an input for the two times ROI_fissa is called. |
2026-06-05 14:35:30 | Tree |
| 2026-05-12 09:39:25 | Tree | |
|
[r1956]
by
heinmatt
Set it back to a simpler option. User just needs to feed a vector of seed ROIs indices. Common seeds are used across siteIDs. TK |
2026-05-12 07:40:51 | Tree |
| 2026-05-11 13:25:46 | Tree | |
| 2026-05-11 12:36:08 | Tree | |
| 2026-05-06 15:33:27 | Tree |