Menu

Calliope Commit Log


Commit Date  
[r1962] (HEAD) by lupoleon

LL - Add F0 in proj_meta

Now generate_proj_meta.m saves also F0 (baseline fluorescence) for each ROI in ROIinfo(i).F0 (or .F0_ch525 or .F0_ch610)
This happens for WF and 2P data.
Changed generate_proj_meta.m for directly saving F0 and get_smoothed_ROIs.m for F0 in 2P data

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
[r1960] by kellgeor

removed the one layer case added on 08.09.2026 again.

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
[r1957] by dororoma

LL - added plotBSTRP_multi to plot N traces and significance level between them

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
[r1955] by heinmatt

Edited the comment on manual seed specification. TK

2026-05-11 13:25:46 Tree
[r1954] by heinmatt

modified the option to manually set seed ROIs - TK

2026-05-11 12:36:08 Tree
[r1953] by heinmatt

TK: manually defining seed ROIs is now active.

2026-05-06 15:33:27 Tree
Older >
Auth0 Logo